VTK
vtkXMLImageDataReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLImageDataReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
34 #ifndef vtkXMLImageDataReader_h
35 #define vtkXMLImageDataReader_h
36 
37 #include "vtkIOXMLModule.h" // For export macro
39 
40 class vtkImageData;
41 
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
54 
57  virtual void CopyOutputInformation(vtkInformation *outInfo, int port);
58 
59 protected:
62 
63  double Origin[3];
64  double Spacing[3];
65  int PieceExtent[6];
66 
67  const char* GetDataSetName();
68  void SetOutputExtent(int* extent);
69 
71 
72  // Setup the output's information.
74 
76 
77 
78 
79 private:
80  vtkXMLImageDataReader(const vtkXMLImageDataReader&); // Not implemented.
81  void operator=(const vtkXMLImageDataReader&); // Not implemented.
82 };
83 
84 #endif
VTKIOXML_EXPORT
#define VTKIOXML_EXPORT
Definition: vtkIOXMLModule.h:15
vtkXMLImageDataReader::SetOutputExtent
void SetOutputExtent(int *extent)
vtkXMLImageDataReader::GetOutput
vtkImageData * GetOutput()
vtkXMLImageDataReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkIOXMLModule.h
vtkXMLImageDataReader::~vtkXMLImageDataReader
~vtkXMLImageDataReader()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkXMLImageDataReader
Read VTK XML ImageData files.
Definition: vtkXMLImageDataReader.h:43
vtkXMLImageDataReader::FillOutputPortInformation
virtual int FillOutputPortInformation(int, vtkInformation *)
vtkXMLDataElement
Represents an XML element and those nested inside.
Definition: vtkXMLDataElement.h:36
vtkXMLImageDataReader::vtkXMLImageDataReader
vtkXMLImageDataReader()
vtkXMLStructuredDataReader
Superclass for structured data XML readers.
Definition: vtkXMLStructuredDataReader.h:34
vtkXMLImageDataReader::GetDataSetName
const char * GetDataSetName()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkXMLImageDataReader::SetupOutputInformation
void SetupOutputInformation(vtkInformation *outInfo)
vtkXMLImageDataReader::New
static vtkXMLImageDataReader * New()
vtkXMLImageDataReader::ReadPrimaryElement
int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
vtkXMLImageDataReader::CopyOutputInformation
virtual void CopyOutputInformation(vtkInformation *outInfo, int port)
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkXMLImageDataReader::GetOutput
vtkImageData * GetOutput(int idx)
vtkXMLStructuredDataReader.h