31 #ifndef __vtkHyperOctreeSampleFunction_h
32 #define __vtkHyperOctreeSampleFunction_h
34 #include "vtkFiltersHyperTreeModule.h"
55 void SetLevels(
int levels);
64 void SetMinLevels(
int minLevels);
68 double GetThreshold();
73 void SetThreshold(
double threshold);
83 void SetDimension(
int dim);
87 vtkSetVector3Macro(Size,
double);
92 vtkGetVector3Macro(Size,
double);
97 vtkSetVector3Macro(Origin,
double);
99 vtkGetVector3Macro(Origin,
double);
107 void SetWidth(
double width);
116 void SetHeight(
double height);
125 void SetDepth(
double depth);
135 vtkSetMacro(OutputScalarType,
int);
136 vtkGetMacro(OutputScalarType,
int);
137 void SetOutputScalarTypeToDouble()
139 void SetOutputScalarTypeToFloat()
141 void SetOutputScalarTypeToLong()
142 {this->SetOutputScalarType(
VTK_LONG);}
143 void SetOutputScalarTypeToUnsignedLong()
145 void SetOutputScalarTypeToInt()
146 {this->SetOutputScalarType(
VTK_INT);}
147 void SetOutputScalarTypeToUnsignedInt()
149 void SetOutputScalarTypeToShort()
151 void SetOutputScalarTypeToUnsignedShort()
153 void SetOutputScalarTypeToChar()
154 {this->SetOutputScalarType(
VTK_CHAR);}
155 void SetOutputScalarTypeToUnsignedChar()