32#ifndef vtkHyperOctreeSampleFunction_h
33#define vtkHyperOctreeSampleFunction_h
35#include "vtkFiltersHyperTreeModule.h"
105 vtkSetVector3Macro(Size,
double);
112 vtkGetVector3Macro(Size,
double);
119 vtkSetVector3Macro(Origin,
double);
121 vtkGetVector3Macro(Origin,
double);
180 vtkGetMacro(OutputScalarType,
int);
186 {this->SetOutputScalarType(
VTK_LONG);}
190 {this->SetOutputScalarType(
VTK_INT);}
198 {this->SetOutputScalarType(
VTK_CHAR);}
Superclass for algorithms that produce only octree as output.
Objects that can traverse hyperoctree nodes.
sample an implicit function over an hyperoctree
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToDouble()
vtkHyperOctreeSampleFunction()
Default constructor.
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function to use to generate data.
void SetOutputScalarTypeToLong()
void SetDepth(double depth)
Return the length along the z-axis.
void SetHeight(double height)
Set the length along the y-axis.
void SetOutputScalarTypeToFloat()
int GetLevels()
Return the maximum number of levels of the hyperoctree.
void SetLevels(int levels)
Set the maximum number of levels of the hyperoctree.
vtkMTimeType GetMTime()
Return the MTime also considering the implicit function.
~vtkHyperOctreeSampleFunction()
void SetMinLevels(int minLevels)
Set the minimal number of levels of systematic subdivision.
double GetDepth()
Return the length along the z-axis.
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
void Subdivide(vtkHyperOctreeCursor *cursor, int level, vtkHyperOctree *output)
void SetOutputScalarTypeToUnsignedChar()
void SetWidth(double width)
Set the length along the x-axis.
static vtkHyperOctreeSampleFunction * New()
void SetDimension(int dim)
double GetWidth()
Return the length along the x-axis.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToUnsignedShort()
void SetThreshold(double threshold)
Set the threshold over which a subdivision is required.
double GetHeight()
Return the length along the y-axis.
vtkImplicitFunction * ImplicitFunction
int GetDimension()
Return the dimension of the tree (1D:binary tree(2 children), 2D:quadtree(4 children),...
int GetMinLevels()
Return the minimal number of levels of systematic subdivision.
double GetThreshold()
Return the threshold over which a subdivision is required.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedInt()
A dataset structured as a tree where each node has exactly 2^n children.
abstract interface for implicit functions
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT
#define VTK_UNSIGNED_LONG