55 #ifndef vtkFillPointCloud_h
56 #define vtkFillPointCloud_h
58 #include "vtkFiltersMeshingModule.h"
64 VTK_ABI_NAMESPACE_BEGIN
91 vtkSetClampMacro(FillStrategy,
int, UNIFORM, ADAPTIVE);
92 vtkGetMacro(FillStrategy,
int);
104 vtkSetMacro(InLabel,
int);
105 vtkGetMacro(InLabel,
int);
115 vtkSetMacro(BackgroundLabel,
int);
116 vtkGetMacro(BackgroundLabel,
int);
127 vtkSetClampMacro(MaximumNumberOfPoints,
int, 1,
VTK_INT_MAX);
128 vtkGetMacro(MaximumNumberOfPoints,
int);
140 vtkBooleanMacro(ManualLocatorControl,
vtkTypeBool);
163 this->PointSampler->SetJoggle(onoff);
164 this->UpdateJoggleInfo();
169 this->PointSampler->JoggleOn();
170 this->UpdateJoggleInfo();
174 this->PointSampler->JoggleOff();
175 this->UpdateJoggleInfo();
180 this->PointSampler->SetJoggleRadiusIsAbsolute(onoff);
181 this->UpdateJoggleInfo();
185 return this->PointSampler->GetJoggleRadiusIsAbsolute();
189 this->PointSampler->JoggleRadiusIsAbsoluteOn();
190 this->UpdateJoggleInfo();
194 this->PointSampler->JoggleRadiusIsAbsoluteOff();
195 this->UpdateJoggleInfo();
200 this->PointSampler->SetJoggleRadius(r);
201 this->UpdateJoggleInfo();
248 void UpdateJoggleInfo();
262 VTK_ABI_NAMESPACE_END
vtkIdType GetNumberOfAddedPoints()
Get the number of points added.
vtkSmartPointer< vtkLabeledImagePointSampler > PointSampler
void JoggleOn()
Enable/disable point joggling.
FillStrategyOptions
Specify the fill strategy to use when generating new points.
vtkStaticPointLocator * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetJoggle(vtkTypeBool onoff)
Enable/disable point joggling.
vtkLabeledImagePointSampler * GetPointSampler()
Retrieve the internal instance of vtkLabeledImagePointSampler in order to better control the adaptive...
concrete class for storing a set of points
int MaximumNumberOfPoints
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetFillStrategyToAdaptive()
Specify the fill strategy to use when generating new points.
double GetJoggleRadius() const
Enable/disable point joggling.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
add points to empty regions in an input point cloud
vtkIdType NumberOfAddedPoints
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void JoggleOff()
Enable/disable point joggling.
vtkSmartPointer< vtkStaticPointLocator > Locator
vtkTypeBool JoggleRadiusIsAbsolute
quickly locate points in 3-space
produce sampled points from a segmented image
void JoggleRadiusIsAbsoluteOff()
Enable/disable point joggling.
void JoggleRadiusIsAbsoluteOn()
Enable/disable point joggling.
vtkTypeBool GetJoggleRadiusIsAbsolute() const
Enable/disable point joggling.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetJoggleRadius(double r)
Enable/disable point joggling.
void SetFillStrategyToUniform()
Specify the fill strategy to use when generating new points.
void SetJoggleRadiusIsAbsolute(vtkTypeBool onoff)
Enable/disable point joggling.
vtkTypeBool ManualLocatorControl
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool GetJoggle() const
Enable/disable point joggling.