26 #ifndef __vtkImageEllipsoidSource_h
27 #define __vtkImageEllipsoidSource_h
29 #include "vtkImagingSourcesModule.h"
30 #include "vtkImageAlgorithm.h"
37 void PrintSelf(ostream& os, vtkIndent indent);
41 void SetWholeExtent(
int extent[6]);
42 void SetWholeExtent(
int minX,
int maxX,
int minY,
int maxY,
44 void GetWholeExtent(
int extent[6]);
50 vtkSetVector3Macro(Center,
double);
51 vtkGetVector3Macro(Center,
double);
56 vtkSetVector3Macro(Radius,
double);
57 vtkGetVector3Macro(Radius,
double);
62 vtkSetMacro(InValue,
double);
63 vtkGetMacro(InValue,
double);
68 vtkSetMacro(OutValue,
double);
69 vtkGetMacro(OutValue,
double);
74 vtkSetMacro(OutputScalarType,
int);
75 vtkGetMacro(OutputScalarType,
int);
77 {this->SetOutputScalarType(VTK_FLOAT);}
79 {this->SetOutputScalarType(VTK_DOUBLE);}
81 {this->SetOutputScalarType(VTK_LONG);}
83 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
85 {this->SetOutputScalarType(VTK_INT);}
87 {this->SetOutputScalarType(VTK_UNSIGNED_INT);}
89 {this->SetOutputScalarType(VTK_SHORT);}
91 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);}
93 {this->SetOutputScalarType(VTK_CHAR);}
95 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);}
109 virtual int RequestInformation (vtkInformation *,
110 vtkInformationVector **,
111 vtkInformationVector *);
113 virtual int RequestData(vtkInformation *,
114 vtkInformationVector **, vtkInformationVector *);
void SetOutputScalarTypeToLong()
Create a binary image of an ellipsoid.
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToShort()