87 #ifndef vtkImplicitModeller_h
88 #define vtkImplicitModeller_h
90 #include "vtkFiltersHybridModule.h"
93 #define VTK_VOXEL_MODE 0
94 #define VTK_CELL_MODE 1
123 vtkGetVectorMacro(SampleDimensions,
int, 3);
135 vtkSetClampMacro(MaximumDistance,
double, 0.0, 1.0);
136 vtkGetMacro(MaximumDistance,
double);
144 vtkSetVector6Macro(ModelBounds,
double);
145 vtkGetVectorMacro(ModelBounds,
double, 6);
166 vtkSetClampMacro(AdjustDistance,
double, -1.0, 1.0);
167 vtkGetMacro(AdjustDistance,
double);
186 vtkGetMacro(CapValue,
double);
213 vtkSetClampMacro(ProcessMode,
int, 0, 1);
214 vtkGetMacro(ProcessMode,
int);
225 vtkSetMacro(LocatorMaxLevel,
int);
226 vtkGetMacro(LocatorMaxLevel,
int);
233 vtkSetClampMacro(NumberOfThreads,
int, 1, VTK_MAX_THREADS);
234 vtkGetMacro(NumberOfThreads,
int);
242 vtkGetMacro(OutputScalarType,
int);
296 int SampleDimensions[3];
298 double ModelBounds[6];
abstract superclass for arrays of numeric data
abstract class to specify dataset behavior
Generic algorithm superclass for image algs.
compute distance from input geometry on structured point dataset
void SetOutputScalarTypeToDouble()
void StartAppend()
Initialize the filter for appending data.
static vtkImplicitModeller * New()
Construct with sample dimensions=(50,50,50), and so that model bounds are automatically computed from...
double InternalMaxDistance
double GetScalarTypeMax(int type)
void SetOutputScalarTypeToChar()
double ComputeModelBounds(vtkDataSet *input=nullptr)
Compute ModelBounds from input geometry.
vtkMultiThreader * Threader
void Cap(vtkDataArray *s)
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void StartAppend(int internal)
void SetOutputScalarTypeToUnsignedShort()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkTypeBool ScaleToMaximumDistance
void SetOutputScalarTypeToUnsignedInt()
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Process a request from the executive.
void EndAppend()
Method completes the append process.
void SetSampleDimensions(int i, int j, int k)
void SetSampleDimensions(int dim[3])
~vtkImplicitModeller() override
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToLong()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
void SetOutputScalarTypeToInt()
const char * GetProcessModeAsString(void)
void SetCapValue(double value)
Specify the capping value to use.
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToFloat()
void Append(vtkDataSet *input)
Append a data set to the existing output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetProcessModeToPerCell()
void SetOutputScalarType(int type)
Set the desired output scalar type.
void SetProcessModeToPerVoxel()
a simple class to control print indentation
A class for performing multithreaded execution.
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT
#define VTK_UNSIGNED_LONG