#include <vtkImageImport.h>
Inheritance diagram for vtkImageImport:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | CopyImportVoidPointer (void *ptr, int size) |
void | SetImportVoidPointer (void *ptr) |
void * | GetImportVoidPointer () |
void | SetImportVoidPointer (void *ptr, int save) |
virtual void | SetDataScalarType (int) |
void | SetDataScalarTypeToDouble () |
void | SetDataScalarTypeToFloat () |
void | SetDataScalarTypeToInt () |
void | SetDataScalarTypeToShort () |
void | SetDataScalarTypeToUnsignedShort () |
void | SetDataScalarTypeToUnsignedChar () |
virtual int | GetDataScalarType () |
const char * | GetDataScalarTypeAsString () |
virtual void | SetNumberOfScalarComponents (int) |
virtual int | GetNumberOfScalarComponents () |
virtual void | SetDataExtent (int, int, int, int, int, int) |
virtual void | SetDataExtent (int[6]) |
virtual int * | GetDataExtent () |
virtual void | GetDataExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetDataExtent (int[6]) |
virtual void | SetDataSpacing (float, float, float) |
virtual void | SetDataSpacing (float[3]) |
virtual float * | GetDataSpacing () |
virtual void | GetDataSpacing (float &, float &, float &) |
virtual void | GetDataSpacing (float[3]) |
virtual void | SetDataOrigin (float, float, float) |
virtual void | SetDataOrigin (float[3]) |
virtual float * | GetDataOrigin () |
virtual void | GetDataOrigin (float &, float &, float &) |
virtual void | GetDataOrigin (float[3]) |
Static Public Methods | |
vtkImageImport * | New () |
int | IsTypeOf (const char *type) |
vtkImageImport * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkImageImport () | |
~vtkImageImport () | |
vtkImageImport (const vtkImageImport &) | |
void | operator= (const vtkImageImport &) |
void | ExecuteInformation () |
void | EnlargeOutputUpdateExtents (vtkDataObject *data) |
void | Execute (vtkImageData *data) |
void | Execute () |
Protected Attributes | |
void * | ImportVoidPointer |
int | SaveUserArray |
int | NumberOfScalarComponents |
int | DataScalarType |
int | DataExtent [6] |
float | DataSpacing [3] |
float | DataOrigin [3] |
|
Import data and make an internal copy of it. You should use this OR SetImportVoidPointer. The last one called will control how the current memory is handled. The size is the size of the data in BYTES. |
|
This method returns the largest data that can be generated. Reimplemented from vtkSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkImageSource. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. |
|
Get/Set the extent of the data on disk. |
|
Set/Get the origin of the data (location of first pixel in the file). |
|
Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value. |
|
Set/Get the spacing of the data in the file. |
|
Set the pointer from which the image data is imported. Set save to 1 to keep the vtk from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array. |
|
Set the pointer from which the image data is imported. |
|
Set/Get the number of scalar components |