35 #ifndef __vtkSampleFunction_h
36 #define __vtkSampleFunction_h
62 vtkSetMacro(OutputScalarType,
int);
63 vtkGetMacro(OutputScalarType,
int);
69 {this->SetOutputScalarType(
VTK_LONG);}
73 {this->SetOutputScalarType(
VTK_INT);}
81 {this->SetOutputScalarType(
VTK_CHAR);}
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];