27 #ifndef vtkImageEllipsoidSource_h 28 #define vtkImageEllipsoidSource_h 30 #include "vtkImagingSourcesModule.h" 44 void SetWholeExtent(
int extent[6]);
45 void SetWholeExtent(
int minX,
int maxX,
int minY,
int maxY,
47 void GetWholeExtent(
int extent[6]);
55 vtkSetVector3Macro(Center,
double);
56 vtkGetVector3Macro(Center,
double);
63 vtkSetVector3Macro(Radius,
double);
64 vtkGetVector3Macro(Radius,
double);
71 vtkSetMacro(InValue,
double);
72 vtkGetMacro(InValue,
double);
79 vtkSetMacro(OutValue,
double);
80 vtkGetMacro(OutValue,
double);
87 vtkSetMacro(OutputScalarType,
int);
88 vtkGetMacro(OutputScalarType,
int);
94 {this->SetOutputScalarType(
VTK_LONG);}
98 {this->SetOutputScalarType(
VTK_INT);}
106 {this->SetOutputScalarType(
VTK_CHAR);}
void SetOutputScalarTypeToLong()
Set what type of scalar data this source should generate.
int * GetWholeExtent()
Set/Get the extent of the whole output image.
#define VTK_UNSIGNED_SHORT
Create a binary image of an ellipsoid.
void SetOutputScalarTypeToInt()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedLong()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToFloat()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedChar()
Set what type of scalar data this source should generate.
a simple class to control print indentation
void SetOutputScalarTypeToChar()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToDouble()
Set what type of scalar data this source should generate.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
#define VTK_SIZEHINT(...)
void SetOutputScalarTypeToUnsignedShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedInt()
Set what type of scalar data this source should generate.
#define VTK_UNSIGNED_CHAR
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
void SetOutputScalarTypeToShort()
Set what type of scalar data this source should generate.