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);
162 vtkGetMacro(AdjustBounds,
int);
172 vtkSetClampMacro(AdjustDistance,
double,-1.0,1.0);
173 vtkGetMacro(AdjustDistance,
double);
182 vtkGetMacro(Capping,
int);
192 vtkGetMacro(CapValue,
double);
207 vtkGetMacro(ScaleToMaximumDistance,
int);
219 vtkSetClampMacro(ProcessMode,
int, 0, 1);
220 vtkGetMacro(ProcessMode,
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];
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
double ComputeModelBounds(vtkDataSet *input=NULL)
Compute ModelBounds from input geometry.
void SetOutputScalarTypeToDouble()
void StartAppend()
Initialize the filter for appending data.
int ScaleToMaximumDistance
double InternalMaxDistance
double GetScalarTypeMax(int type)
void SetOutputScalarTypeToChar()
vtkMultiThreader * Threader
void Cap(vtkDataArray *s)
void StartAppend(int internal)
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToUnsignedInt()
void EndAppend()
Method completes the append process.
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
void SetSampleDimensions(int i, int j, int k)
void SetSampleDimensions(int dim[3])
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToInt()
const char * GetProcessModeAsString(void)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called in response to a REQUEST_DATA request from the executive.
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 SetProcessModeToPerCell()
void SetOutputScalarType(int type)
Set the desired output scalar type.
static vtkImplicitModeller * New()
Construct with sample dimensions=(50,50,50), and so that model bounds are automatically computed from...
void SetProcessModeToPerVoxel()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Process a request from the executive.
a simple class to control print indentation
A class for performing multithreaded execution.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT
#define VTK_UNSIGNED_LONG