7 #ifndef __vtkImageRectangularSource_h 8 #define __vtkImageRectangularSource_h 10 #include "vtkImageAlgorithm.h" 12 #include <vtkVersion.h> 19 void PrintSelf(ostream& os, vtkIndent indent)
override;
23 void SetWholeExtent(
int extent[6]);
24 void SetWholeExtent(
int minX,
int maxX,
int minY,
int maxY,
26 void GetWholeExtent(
int extent[6]);
31 vtkSetVector3Macro(Center,
int);
32 vtkGetVector3Macro(Center,
int);
36 vtkSetVector3Macro(Size,
int);
37 vtkGetVector3Macro(Size,
int);
41 vtkSetMacro(InValue,
float);
42 vtkGetMacro(InValue,
float);
46 vtkSetMacro(OutValue,
float);
47 vtkGetMacro(OutValue,
float);
51 vtkSetMacro(InsideGraySlopeFlag,
int);
52 vtkGetMacro(InsideGraySlopeFlag,
int);
56 vtkSetMacro(OutputScalarType,
int);
57 vtkGetMacro(OutputScalarType,
int);
59 {this->SetOutputScalarType(VTK_DOUBLE);}
61 {this->SetOutputScalarType(VTK_FLOAT);}
63 {this->SetOutputScalarType(VTK_LONG);}
65 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
67 {this->SetOutputScalarType(VTK_INT);}
69 {this->SetOutputScalarType(VTK_UNSIGNED_INT);}
71 {this->SetOutputScalarType(VTK_SHORT);}
73 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);}
75 {this->SetOutputScalarType(VTK_CHAR);}
77 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);}
80 void SetCorners(
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4);
96 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
97 void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation* outInfo)
override;
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToDouble()