31 #ifndef __vtkHyperOctreeSampleFunction_h
32 #define __vtkHyperOctreeSampleFunction_h
34 #include "vtkFiltersHyperTreeModule.h"
37 class vtkImplicitFunction;
43 void PrintSelf(ostream& os, vtkIndent indent);
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);
129 virtual void SetImplicitFunction(vtkImplicitFunction*);
130 vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
135 vtkSetMacro(OutputScalarType,
int);
136 vtkGetMacro(OutputScalarType,
int);
138 {this->SetOutputScalarType(VTK_DOUBLE);}
140 {this->SetOutputScalarType(VTK_FLOAT);}
142 {this->SetOutputScalarType(VTK_LONG);}
144 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
146 {this->SetOutputScalarType(VTK_INT);}
148 {this->SetOutputScalarType(VTK_UNSIGNED_INT);}
150 {this->SetOutputScalarType(VTK_SHORT);}
152 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);}
154 {this->SetOutputScalarType(VTK_CHAR);}
156 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);}
160 unsigned long GetMTime();
173 vtkInformationVector ** vtkNotUsed( inputVector ),
174 vtkInformationVector *outputVector);
176 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
180 vtkHyperOctree *output);
void SetOutputScalarTypeToLong()
Superclass for algorithms that produce only octree as output.
void SetOutputScalarTypeToUnsignedInt()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkImplicitFunction * ImplicitFunction
void SetOutputScalarTypeToUnsignedLong()
sample an implicit function over an hyperoctree
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToFloat()
Objects that can traverse hyperoctree nodes.
void SetOutputScalarTypeToInt()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedChar()
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
void SetOutputScalarTypeToChar()