VTK
|
Create a binary image of an ellipsoid. More...
#include <vtkImageEllipsoidSource.h>
Create a binary image of an ellipsoid.
vtkImageEllipsoidSource creates a binary image of a ellipsoid. It was created as an example of a simple source, and to test the mask filter. It is also used internally in vtkImageDilateErode3D.
Definition at line 32 of file vtkImageEllipsoidSource.h.
Reimplemented from vtkImageAlgorithm.
Definition at line 36 of file vtkImageEllipsoidSource.h.
vtkImageEllipsoidSource::vtkImageEllipsoidSource | ( | ) | [protected] |
vtkImageEllipsoidSource::~vtkImageEllipsoidSource | ( | ) | [protected] |
static vtkImageEllipsoidSource* vtkImageEllipsoidSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageEllipsoidSource::IsTypeOf | ( | const char * | name | ) | [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 vtkImageAlgorithm.
virtual int vtkImageEllipsoidSource::IsA | ( | const char * | name | ) | [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 vtkImageAlgorithm.
static vtkImageEllipsoidSource* vtkImageEllipsoidSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageAlgorithm.
virtual vtkObjectBase* vtkImageEllipsoidSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
Reimplemented from vtkImageAlgorithm.
void vtkImageEllipsoidSource::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 vtkImageAlgorithm.
void vtkImageEllipsoidSource::SetWholeExtent | ( | int | extent[6] | ) |
Set/Get the extent of the whole output image.
void vtkImageEllipsoidSource::SetWholeExtent | ( | int | minX, |
int | maxX, | ||
int | minY, | ||
int | maxY, | ||
int | minZ, | ||
int | maxZ | ||
) |
Set/Get the extent of the whole output image.
void vtkImageEllipsoidSource::GetWholeExtent | ( | int | extent[6] | ) |
Set/Get the extent of the whole output image.
int* vtkImageEllipsoidSource::GetWholeExtent | ( | ) | [inline] |
Set/Get the extent of the whole output image.
Definition at line 45 of file vtkImageEllipsoidSource.h.
virtual void vtkImageEllipsoidSource::SetCenter | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set/Get the center of the ellipsoid.
virtual void vtkImageEllipsoidSource::SetCenter | ( | double | [3] | ) | [virtual] |
Set/Get the center of the ellipsoid.
virtual double* vtkImageEllipsoidSource::GetCenter | ( | ) | [virtual] |
Set/Get the center of the ellipsoid.
virtual void vtkImageEllipsoidSource::GetCenter | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Set/Get the center of the ellipsoid.
virtual void vtkImageEllipsoidSource::GetCenter | ( | double | [3] | ) | [virtual] |
Set/Get the center of the ellipsoid.
virtual void vtkImageEllipsoidSource::SetRadius | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set/Get the radius of the ellipsoid.
virtual void vtkImageEllipsoidSource::SetRadius | ( | double | [3] | ) | [virtual] |
Set/Get the radius of the ellipsoid.
virtual double* vtkImageEllipsoidSource::GetRadius | ( | ) | [virtual] |
Set/Get the radius of the ellipsoid.
virtual void vtkImageEllipsoidSource::GetRadius | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Set/Get the radius of the ellipsoid.
virtual void vtkImageEllipsoidSource::GetRadius | ( | double | [3] | ) | [virtual] |
Set/Get the radius of the ellipsoid.
virtual void vtkImageEllipsoidSource::SetInValue | ( | double | ) | [virtual] |
Set/Get the inside pixel values.
virtual double vtkImageEllipsoidSource::GetInValue | ( | ) | [virtual] |
Set/Get the inside pixel values.
virtual void vtkImageEllipsoidSource::SetOutValue | ( | double | ) | [virtual] |
Set/Get the outside pixel values.
virtual double vtkImageEllipsoidSource::GetOutValue | ( | ) | [virtual] |
Set/Get the outside pixel values.
virtual void vtkImageEllipsoidSource::SetOutputScalarType | ( | int | ) | [virtual] |
Set what type of scalar data this source should generate.
virtual int vtkImageEllipsoidSource::GetOutputScalarType | ( | ) | [virtual] |
Set what type of scalar data this source should generate.
void vtkImageEllipsoidSource::SetOutputScalarTypeToFloat | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 76 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToDouble | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 78 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToLong | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 80 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedLong | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 82 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToInt | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 84 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedInt | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 86 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToShort | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 88 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedShort | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 90 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToChar | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 92 of file vtkImageEllipsoidSource.h.
void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedChar | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 94 of file vtkImageEllipsoidSource.h.
virtual int vtkImageEllipsoidSource::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
virtual int vtkImageEllipsoidSource::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.
Reimplemented from vtkImageAlgorithm.
int vtkImageEllipsoidSource::WholeExtent[6] [protected] |
Definition at line 102 of file vtkImageEllipsoidSource.h.
double vtkImageEllipsoidSource::Center[3] [protected] |
Definition at line 103 of file vtkImageEllipsoidSource.h.
double vtkImageEllipsoidSource::Radius[3] [protected] |
Definition at line 104 of file vtkImageEllipsoidSource.h.
double vtkImageEllipsoidSource::InValue [protected] |
Definition at line 105 of file vtkImageEllipsoidSource.h.
double vtkImageEllipsoidSource::OutValue [protected] |
Definition at line 106 of file vtkImageEllipsoidSource.h.
int vtkImageEllipsoidSource::OutputScalarType [protected] |
Definition at line 107 of file vtkImageEllipsoidSource.h.