31 #ifndef __vtkHyperOctreeSampleFunction_h
32 #define __vtkHyperOctreeSampleFunction_h
54 void SetLevels(
int levels);
63 void SetMinLevels(
int minLevels);
67 double GetThreshold();
72 void SetThreshold(
double threshold);
82 void SetDimension(
int dim);
86 vtkSetVector3Macro(Size,
double);
91 vtkGetVector3Macro(Size,
double);
96 vtkSetVector3Macro(Origin,
double);
98 vtkGetVector3Macro(Origin,
double);
106 void SetWidth(
double width);
115 void SetHeight(
double height);
124 void SetDepth(
double depth);
134 vtkSetMacro(OutputScalarType,
int);
135 vtkGetMacro(OutputScalarType,
int);
136 void SetOutputScalarTypeToDouble()
138 void SetOutputScalarTypeToFloat()
140 void SetOutputScalarTypeToLong()
141 {this->SetOutputScalarType(
VTK_LONG);}
142 void SetOutputScalarTypeToUnsignedLong()
144 void SetOutputScalarTypeToInt()
145 {this->SetOutputScalarType(
VTK_INT);}
146 void SetOutputScalarTypeToUnsignedInt()
148 void SetOutputScalarTypeToShort()
150 void SetOutputScalarTypeToUnsignedShort()
152 void SetOutputScalarTypeToChar()
153 {this->SetOutputScalarType(
VTK_CHAR);}
154 void SetOutputScalarTypeToUnsignedChar()