Go to the documentation of this file.
63 #ifndef vtkFitToHeightMapFilter_h
64 #define vtkFitToHeightMapFilter_h
66 #include "vtkFiltersModelingModule.h"
110 POINT_MINIMUM_HEIGHT=1,
111 POINT_MAXIMUM_HEIGHT=2,
112 POINT_AVERAGE_HEIGHT=3,
113 CELL_MINIMUM_HEIGHT=4,
114 CELL_MAXIMUM_HEIGHT=5,
115 CELL_AVERAGE_HEIGHT=6,
134 { this->SetFittingStrategy(POINT_PROJECTION); }
136 { this->SetFittingStrategy(POINT_MINIMUM_HEIGHT); }
138 { this->SetFittingStrategy(POINT_MAXIMUM_HEIGHT); }
140 { this->SetFittingStrategy(POINT_AVERAGE_HEIGHT); }
142 { this->SetFittingStrategy(CELL_MINIMUM_HEIGHT); }
144 { this->SetFittingStrategy(CELL_MAXIMUM_HEIGHT); }
146 { this->SetFittingStrategy(CELL_AVERAGE_HEIGHT); }
represent and manipulate 3D points
void SetFittingStrategyToCellMinimumHeight()
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
Methods invoked by print to print information about the object including superclasses.
void SetHeightMapData(vtkImageData *idata)
Set the height map for the filter.
void SetFittingStrategyToCellMaximumHeight()
void AdjustCells(vtkPolyData *output, vtkIdType numCells, double *cellHts, vtkPoints *inPts, vtkPoints *newPts)
void SetFittingStrategyToPointMaximumHeight()
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)
void SetFittingStrategyToCellAverageHeight()
static vtkFitToHeightMapFilter * New()
Standard methods for construction, type and printing.
void SetFittingStrategyToPointMinimumHeight()
void SetFittingStrategyToAverageHeight()
Proxy object to connect input/output ports.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetFittingStrategyToPointProjection()
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.