35 #ifndef __vtkSampleFunction_h
36 #define __vtkSampleFunction_h
62 vtkSetMacro(OutputScalarType,
int);
63 vtkGetMacro(OutputScalarType,
int);
64 void SetOutputScalarTypeToDouble()
66 void SetOutputScalarTypeToFloat()
68 void SetOutputScalarTypeToLong()
69 {this->SetOutputScalarType(
VTK_LONG);}
70 void SetOutputScalarTypeToUnsignedLong()
72 void SetOutputScalarTypeToInt()
73 {this->SetOutputScalarType(
VTK_INT);}
74 void SetOutputScalarTypeToUnsignedInt()
76 void SetOutputScalarTypeToShort()
78 void SetOutputScalarTypeToUnsignedShort()
80 void SetOutputScalarTypeToChar()
81 {this->SetOutputScalarType(
VTK_CHAR);}
82 void SetOutputScalarTypeToUnsignedChar()
92 void SetSampleDimensions(
int i,
int j,
int k);
96 void SetSampleDimensions(
int dim[3]);
97 vtkGetVectorMacro(SampleDimensions,
int,3);
103 vtkSetVector6Macro(ModelBounds,
double);
104 vtkGetVectorMacro(ModelBounds,
double,6);
111 vtkSetMacro(Capping,
int);
112 vtkGetMacro(Capping,
int);
113 vtkBooleanMacro(Capping,
int);
118 vtkSetMacro(CapValue,
double);
119 vtkGetMacro(CapValue,
double);
124 vtkSetMacro(ComputeNormals,
int);
125 vtkGetMacro(ComputeNormals,
int);
126 vtkBooleanMacro(ComputeNormals,
int);
132 vtkSetStringMacro(ScalarArrayName);
133 vtkGetStringMacro(ScalarArrayName);
139 vtkSetStringMacro(NormalArrayName);
140 vtkGetStringMacro(NormalArrayName);
165 int SampleDimensions[3];
166 double ModelBounds[6];