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