 |
VTK
9.1.0
|
Go to the documentation of this file.
82 #ifndef vtkFitToHeightMapFilter_h
83 #define vtkFitToHeightMapFilter_h
85 #include "vtkFiltersModelingModule.h"
128 POINT_PROJECTION = 0,
129 POINT_MINIMUM_HEIGHT = 1,
130 POINT_MAXIMUM_HEIGHT = 2,
131 POINT_AVERAGE_HEIGHT = 3,
132 CELL_MINIMUM_HEIGHT = 4,
133 CELL_MAXIMUM_HEIGHT = 5,
134 CELL_AVERAGE_HEIGHT = 6,
represent and manipulate 3D points
void SetFittingStrategyToCellMinimumHeight()
Specify a strategy for fitting, or projecting, the polydata to the height field.
adjust polydata to fit image height map
~vtkFitToHeightMapFilter() override
void AdjustPoints(vtkPolyData *output, vtkIdType numCells, vtkPoints *newPts)
vtkFitToHeightMapFilter()
vtkTypeBool UseHeightMapOffset
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for construction, type and printing.
void SetHeightMapData(vtkImageData *idata)
Set the height map for the filter.
void SetFittingStrategyToCellMaximumHeight()
Specify a strategy for fitting, or projecting, the polydata to the height field.
void AdjustCells(vtkPolyData *output, vtkIdType numCells, double *cellHts, vtkPoints *inPts, vtkPoints *newPts)
void SetFittingStrategyToPointMaximumHeight()
Specify a strategy for fitting, or projecting, the polydata to the height field.
topologically and geometrically regular array of data
a simple class to control print indentation
void SetHeightMapConnection(vtkAlgorithmOutput *algOutput)
Specify the pipeline connection to the height map.
vtkImageData * GetHeightMap(vtkInformationVector *sourceInfo)
Get a pointer to the height map.
void SetFittingStrategyToCellAverageHeight()
Specify a strategy for fitting, or projecting, the polydata to the height field.
static vtkFitToHeightMapFilter * New()
Standard methods for construction, type and printing.
void SetFittingStrategyToPointMinimumHeight()
Specify a strategy for fitting, or projecting, the polydata to the height field.
void SetFittingStrategyToAverageHeight()
Specify a strategy for fitting, or projecting, the polydata to the height field.
Proxy object to connect input/output ports.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetFittingStrategyToPointProjection()
Specify a strategy for fitting, or projecting, the polydata to the height field.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkImageData * GetHeightMap()
Get a pointer to the height map.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
Superclass for algorithms that produce only polydata as output.