73#ifndef vtkLabeledImagePointSampler_h
74#define vtkLabeledImagePointSampler_h
77#include "vtkFiltersMeshingModule.h"
80VTK_ABI_NAMESPACE_BEGIN
145 vtkSetClampMacro(
N,
unsigned int, 1, 100);
146 vtkGetMacro(
N,
unsigned int);
300 this->
Labels->GenerateValues(numLabels, range);
304 this->
Labels->GenerateValues(numContours, range);
308 this->
Labels->GenerateValues(numLabels, rangeStart, rangeEnd);
312 this->
Labels->GenerateValues(numContours, rangeStart, rangeEnd);
topologically and geometrically regular array of data
a simple class to control print indentation
double RandomProbabilityRange[2]
~vtkLabeledImagePointSampler() override=default
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetNumberOfContours(int number)
Set the number of labels to place into the list.
double * GetLabels()
Get a pointer to an array of labels.
double GetValue(int i)
Get the ith label value.
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numLabels equally spaced labels between the specified range.
DensityDistributionType
Used to indicate the type of point density distribution.
void GetValues(double *contourValues)
Fill a supplied list with label values.
void SetOutputTypeToAllPoints()
Used to indicate which generated points to output.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing information.
void SetDensityDistributionToLinear()
Used to indicate the type of point density distribution.
OutputLabelsSelection
Used to indicate which generated points to output.
void SetOutputTypeToLabeledPoints()
Used to indicate which generated points to output.
double GetLabel(int i)
Get the ith label value.
vtkTypeBool JoggleRadiusIsAbsolute
vtkTypeBool BackgroundPointMapping
virtual void SetOutputType(int)
Indicate what points to output.
virtual void SetDensityDistribution(int)
Specify the type of point selection distribution (i.e., the specification of the point density).
vtkSmartPointer< vtkContourValues > Labels
double * GetValues()
Get a pointer to an array of labels.
vtkMTimeType GetMTime() override
Because we delegate to vtkContourValues.
void SetDensityDistributionToExponential()
Used to indicate the type of point density distribution.
void SetValue(int i, double value)
Set a particular label value at label number i.
void SetLabel(int i, double value)
Set a particular label value at label number i.
static vtkLabeledImagePointSampler * New()
Standard methods for instantiation, obtaining type information, and printing information.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetOutputTypeToBackgroundPoints()
Used to indicate which generated points to output.
vtkIdType GetNumberOfLabels()
Get the number of labels in the list of label values.
void GetLabels(double *contourValues)
Fill a supplied list with label values.
void GenerateLabels(int numLabels, double rangeStart, double rangeEnd)
Generate numLabels equally spaced labels between the specified range.
vtkTypeBool ConstrainJoggle
void GenerateLabels(int numLabels, double range[2])
Generate numLabels equally spaced labels between the specified range.
vtkLabeledImagePointSampler()
vtkTypeBool GenerateVerts
void GenerateValues(int numContours, double range[2])
Generate numLabels equally spaced labels between the specified range.
void SetNumberOfLabels(int number)
Set the number of labels to place into the list.
vtkIdType GetNumberOfContours()
Get the number of labels in the list of label values.
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType