Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkImageGridSource Class Reference

Create an image of a grid. More...

#include <vtkImageGridSource.h>

Inheritance diagram for vtkImageGridSource:

Inheritance graph
[legend]
Collaboration diagram for vtkImageGridSource:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetGridSpacing (int, int, int)
virtual void SetGridSpacing (int[3])
virtual int * GetGridSpacing ()
virtual void GetGridSpacing (int &, int &, int &)
virtual void GetGridSpacing (int[3])
virtual void SetGridOrigin (int, int, int)
virtual void SetGridOrigin (int[3])
virtual int * GetGridOrigin ()
virtual void GetGridOrigin (int &, int &, int &)
virtual void GetGridOrigin (int[3])
virtual void SetLineValue (float)
virtual float GetLineValue ()
virtual void SetFillValue (float)
virtual float GetFillValue ()
virtual void SetDataScalarType (int)
void SetDataScalarTypeToFloat ()
void SetDataScalarTypeToInt ()
void SetDataScalarTypeToShort ()
void SetDataScalarTypeToUnsignedShort ()
void SetDataScalarTypeToUnsignedChar ()
virtual int GetDataScalarType ()
const char * GetDataScalarTypeAsString ()
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

vtkImageGridSource * New ()
int IsTypeOf (const char *type)
vtkImageGridSource * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageGridSource ()
 ~vtkImageGridSource ()
virtual void ExecuteInformation ()
virtual void ExecuteData (vtkDataObject *data)

Protected Attributes

int GridSpacing [3]
int GridOrigin [3]
float LineValue
float FillValue
int DataScalarType
int DataExtent [6]
float DataSpacing [3]
float DataOrigin [3]

Detailed Description

Create an image of a grid.

Date:
2001/10/11 13:37:45
Revision:
1.8
Thanks:
Thanks to David G. Gobbi who developed this class.
vtkImageGridSource produces an image of a grid. The default output type is float.
Tests:
vtkImageGridSource (Tests)

Definition at line 59 of file vtkImageGridSource.h.


Constructor & Destructor Documentation

vtkImageGridSource::vtkImageGridSource   [protected]
 

vtkImageGridSource::~vtkImageGridSource   [inline, protected]
 

Definition at line 128 of file vtkImageGridSource.h.


Member Function Documentation

vtkImageGridSource* vtkImageGridSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageSource.

virtual const char* vtkImageGridSource::GetClassName   [virtual]
 

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.

int vtkImageGridSource::IsTypeOf const char *    type [static]
 

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.

virtual int vtkImageGridSource::IsA const char *    type [virtual]
 

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.

vtkImageGridSource* vtkImageGridSource::SafeDownCast vtkObject   o [static]
 

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.

void vtkImageGridSource::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

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.

virtual void vtkImageGridSource::SetGridSpacing int   ,
int   ,
int   
[virtual]
 

Set/Get the grid spacing in pixel units. Default (10,10,0). A value of zero means no grid.

virtual void vtkImageGridSource::SetGridSpacing int   [3] [virtual]
 

Set/Get the grid spacing in pixel units. Default (10,10,0). A value of zero means no grid.

virtual int* vtkImageGridSource::GetGridSpacing   [virtual]
 

Set/Get the grid spacing in pixel units. Default (10,10,0). A value of zero means no grid.

virtual void vtkImageGridSource::GetGridSpacing int &   ,
int &   ,
int &   
[virtual]
 

Set/Get the grid spacing in pixel units. Default (10,10,0). A value of zero means no grid.

virtual void vtkImageGridSource::GetGridSpacing int   [3] [virtual]
 

Set/Get the grid spacing in pixel units. Default (10,10,0). A value of zero means no grid.

virtual void vtkImageGridSource::SetGridOrigin int   ,
int   ,
int   
[virtual]
 

Set/Get the grid origin, in ijk integer values. Default (0,0,0).

virtual void vtkImageGridSource::SetGridOrigin int   [3] [virtual]
 

Set/Get the grid origin, in ijk integer values. Default (0,0,0).

virtual int* vtkImageGridSource::GetGridOrigin   [virtual]
 

Set/Get the grid origin, in ijk integer values. Default (0,0,0).

virtual void vtkImageGridSource::GetGridOrigin int &   ,
int &   ,
int &   
[virtual]
 

Set/Get the grid origin, in ijk integer values. Default (0,0,0).

virtual void vtkImageGridSource::GetGridOrigin int   [3] [virtual]
 

Set/Get the grid origin, in ijk integer values. Default (0,0,0).

virtual void vtkImageGridSource::SetLineValue float    [virtual]
 

Set the grey level of the lines. Default 1.0.

virtual float vtkImageGridSource::GetLineValue   [virtual]
 

Set the grey level of the lines. Default 1.0.

virtual void vtkImageGridSource::SetFillValue float    [virtual]
 

Set the grey level of the fill. Default 0.0.

virtual float vtkImageGridSource::GetFillValue   [virtual]
 

Set the grey level of the fill. Default 0.0.

virtual void vtkImageGridSource::SetDataScalarType int    [virtual]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

void vtkImageGridSource::SetDataScalarTypeToFloat   [inline]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

Definition at line 95 of file vtkImageGridSource.h.

void vtkImageGridSource::SetDataScalarTypeToInt   [inline]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

Definition at line 96 of file vtkImageGridSource.h.

void vtkImageGridSource::SetDataScalarTypeToShort   [inline]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

Definition at line 97 of file vtkImageGridSource.h.

void vtkImageGridSource::SetDataScalarTypeToUnsignedShort   [inline]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

Definition at line 98 of file vtkImageGridSource.h.

void vtkImageGridSource::SetDataScalarTypeToUnsignedChar   [inline]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

Definition at line 100 of file vtkImageGridSource.h.

virtual int vtkImageGridSource::GetDataScalarType   [virtual]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

const char* vtkImageGridSource::GetDataScalarTypeAsString   [inline]
 

Set/Get the data type of pixels in the imported data. As a convenience, the OutputScalarType is set to the same value.

Definition at line 103 of file vtkImageGridSource.h.

virtual void vtkImageGridSource::SetDataExtent int   ,
int   ,
int   ,
int   ,
int   ,
int   
[virtual]
 

Set/Get the extent of the whole output image, Default: (0,255,0,255,0,0)

virtual void vtkImageGridSource::SetDataExtent int   [6] [virtual]
 

Set/Get the extent of the whole output image, Default: (0,255,0,255,0,0)

virtual int* vtkImageGridSource::GetDataExtent   [virtual]
 

Set/Get the extent of the whole output image, Default: (0,255,0,255,0,0)

virtual void vtkImageGridSource::GetDataExtent int &   ,
int &   ,
int &   ,
int &   ,
int &   ,
int &   
[virtual]
 

Set/Get the extent of the whole output image, Default: (0,255,0,255,0,0)

virtual void vtkImageGridSource::GetDataExtent int   [6] [virtual]
 

Set/Get the extent of the whole output image, Default: (0,255,0,255,0,0)

virtual void vtkImageGridSource::SetDataSpacing float   ,
float   ,
float   
[virtual]
 

Set/Get the pixel spacing.

virtual void vtkImageGridSource::SetDataSpacing float   [3] [virtual]
 

Set/Get the pixel spacing.

virtual float* vtkImageGridSource::GetDataSpacing   [virtual]
 

Set/Get the pixel spacing.

virtual void vtkImageGridSource::GetDataSpacing float &   ,
float &   ,
float &   
[virtual]
 

Set/Get the pixel spacing.

virtual void vtkImageGridSource::GetDataSpacing float   [3] [virtual]
 

Set/Get the pixel spacing.

virtual void vtkImageGridSource::SetDataOrigin float   ,
float   ,
float   
[virtual]
 

Set/Get the origin of the data.

virtual void vtkImageGridSource::SetDataOrigin float   [3] [virtual]
 

Set/Get the origin of the data.

virtual float* vtkImageGridSource::GetDataOrigin   [virtual]
 

Set/Get the origin of the data.

virtual void vtkImageGridSource::GetDataOrigin float &   ,
float &   ,
float &   
[virtual]
 

Set/Get the origin of the data.

virtual void vtkImageGridSource::GetDataOrigin float   [3] [virtual]
 

Set/Get the origin of the data.

virtual void vtkImageGridSource::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkSource.

virtual void vtkImageGridSource::ExecuteData vtkDataObject   data [protected, virtual]
 


Member Data Documentation

int vtkImageGridSource::GridSpacing[3] [protected]
 

Definition at line 130 of file vtkImageGridSource.h.

int vtkImageGridSource::GridOrigin[3] [protected]
 

Definition at line 131 of file vtkImageGridSource.h.

float vtkImageGridSource::LineValue [protected]
 

Definition at line 133 of file vtkImageGridSource.h.

float vtkImageGridSource::FillValue [protected]
 

Definition at line 134 of file vtkImageGridSource.h.

int vtkImageGridSource::DataScalarType [protected]
 

Definition at line 136 of file vtkImageGridSource.h.

int vtkImageGridSource::DataExtent[6] [protected]
 

Definition at line 138 of file vtkImageGridSource.h.

float vtkImageGridSource::DataSpacing[3] [protected]
 

Definition at line 139 of file vtkImageGridSource.h.

float vtkImageGridSource::DataOrigin[3] [protected]
 

Definition at line 140 of file vtkImageGridSource.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:30:38 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001