34 #ifndef vtkImageExport_h
35 #define vtkImageExport_h
53 void GetDataDimensions(
int *ptr);
55 this->GetDataDimensions(this->DataDimensions);
56 return this->DataDimensions; }
62 int GetDataNumberOfScalarComponents();
67 int GetDataScalarType();
69 return vtkImageScalarTypeNameMacro(this->GetDataScalarType()); }
75 void GetDataExtent(
int *ptr);
76 double *GetDataSpacing();
77 void GetDataSpacing(
double *ptr);
78 double *GetDataOrigin();
79 void GetDataOrigin(
double *ptr);
95 vtkBooleanMacro(ImageLowerLeft,
int);
96 vtkGetMacro(ImageLowerLeft,
int);
97 vtkSetMacro(ImageLowerLeft,
int);
104 void SetExportVoidPointer(
void *);
113 virtual void Export(
void *);
120 void *GetPointerToData();
123 void* GetCallbackUserData();
129 typedef void (*UpdateInformationCallbackType)(
void*);
130 typedef int (*PipelineModifiedCallbackType)(
void*);
131 typedef int* (*WholeExtentCallbackType)(
void*);
132 typedef double* (*SpacingCallbackType)(
void*);
133 typedef double* (*OriginCallbackType)(
void*);
134 typedef const char* (*ScalarTypeCallbackType)(
void*);
135 typedef int (*NumberOfComponentsCallbackType)(
void*);
136 typedef void (*PropagateUpdateExtentCallbackType)(
void*,
int*);
137 typedef void (*UpdateDataCallbackType)(
void*);
138 typedef int* (*DataExtentCallbackType)(
void*);
139 typedef void* (*BufferPointerCallbackType)(
void*);
144 UpdateInformationCallbackType GetUpdateInformationCallback()
const;
145 PipelineModifiedCallbackType GetPipelineModifiedCallback()
const;
146 WholeExtentCallbackType GetWholeExtentCallback()
const;
147 SpacingCallbackType GetSpacingCallback()
const;
148 OriginCallbackType GetOriginCallback()
const;
149 ScalarTypeCallbackType GetScalarTypeCallback()
const;
150 NumberOfComponentsCallbackType GetNumberOfComponentsCallback()
const;
151 PropagateUpdateExtentCallbackType GetPropagateUpdateExtentCallback()
const;
152 UpdateDataCallbackType GetUpdateDataCallback()
const;
153 DataExtentCallbackType GetDataExtentCallback()
const;
154 BufferPointerCallbackType GetBufferPointerCallback()
const;
167 virtual void UpdateInformationCallback();
168 virtual int PipelineModifiedCallback();
169 virtual void UpdateDataCallback();
170 virtual int* WholeExtentCallback();
171 virtual double* SpacingCallback();
172 virtual double* OriginCallback();
173 virtual const char* ScalarTypeCallback();
174 virtual int NumberOfComponentsCallback();
175 virtual void PropagateUpdateExtentCallback(
int*);
176 virtual int* DataExtentCallback();
177 virtual void* BufferPointerCallback();
180 int DataDimensions[3];
189 static void UpdateInformationCallbackFunction(
void*);
190 static int PipelineModifiedCallbackFunction(
void*);
191 static int* WholeExtentCallbackFunction(
void*);
192 static double* SpacingCallbackFunction(
void*);
193 static double* OriginCallbackFunction(
void*);
194 static const char* ScalarTypeCallbackFunction(
void*);
195 static int NumberOfComponentsCallbackFunction(
void*);
196 static void PropagateUpdateExtentCallbackFunction(
void*,
int*);
197 static void UpdateDataCallbackFunction(
void*);
198 static int* DataExtentCallbackFunction(
void*);
199 static void* BufferPointerCallbackFunction(
void*);
vtkAlgorithm * GetInputAlgorithm()
vtkInformation * GetInputInformation()
vtkDataObject * GetInput()
Export VTK images to third-party systems.
int * GetDataDimensions()
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
topologically and geometrically regular array of data
const char * GetDataScalarTypeAsString()
unsigned long LastPipelineMTime
void * GetExportVoidPointer()
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTKIOIMAGE_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)