 |
VTK
9.0.1
|
Go to the documentation of this file.
64 #ifndef vtkImageToPolyDataFilter_h
65 #define vtkImageToPolyDataFilter_h
67 #include "vtkFiltersHybridModule.h"
70 #define VTK_STYLE_PIXELIZE 0
71 #define VTK_STYLE_POLYGONALIZE 1
72 #define VTK_STYLE_RUN_LENGTH 2
74 #define VTK_COLOR_MODE_LUT 0
75 #define VTK_COLOR_MODE_LINEAR_256 1
107 vtkGetMacro(OutputStyle,
int);
118 vtkGetMacro(ColorMode,
int);
147 vtkSetClampMacro(NumberOfSmoothingIterations,
int, 0,
VTK_INT_MAX);
148 vtkGetMacro(NumberOfSmoothingIterations,
int);
169 vtkGetMacro(DecimationError,
double);
179 vtkGetMacro(Error,
int);
190 vtkSetClampMacro(SubImageSize,
int, 10,
VTK_INT_MAX);
191 vtkGetMacro(SubImageSize,
int);
228 void BuildTable(
unsigned char* inPixels);
242 unsigned char* ptr,
int& i,
int& j,
int dims[3],
unsigned char* neighbors[4],
int mode);
244 void GetIJ(
int id,
int& i,
int& j,
int dims[2]);
245 unsigned char* GetColor(
unsigned char* rgb);
246 int IsSameColor(
unsigned char* p1,
unsigned char* p2);
void SetOutputStyleToRunLength()
#define VTK_STYLE_POLYGONALIZE
#define VTK_STYLE_PIXELIZE
vtkScalarsToColors * LookupTable
generate linear primitives (vtkPolyData) from an image
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
abstract superclass for arrays of numeric data
void SetColorModeToLinear256()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
keep track of edges (edge is pair of integer id's)
#define VTK_COLOR_MODE_LUT
#define VTK_COLOR_MODE_LINEAR_256
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
dynamic, self-adjusting array of int
#define VTK_STYLE_RUN_LENGTH
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Superclass for mapping scalar values to colors.
void SetOutputStyleToPixelize()
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetOutputStyleToPolygonalize()
std::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
int NumberOfSmoothingIterations
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.