68 #ifndef vtkProjectedTerrainPath_h
69 #define vtkProjectedTerrainPath_h
71 #include "vtkFiltersHybridModule.h"
114 SIMPLE_PROJECTION = 0,
128 vtkSetClampMacro(ProjectionMode,
int, SIMPLE_PROJECTION, HUG_PROJECTION);
129 vtkGetMacro(ProjectionMode,
int);
141 vtkSetMacro(HeightOffset,
double);
142 vtkGetMacro(HeightOffset,
double);
152 vtkGetMacro(HeightTolerance,
double);
Proxy object to connect input/output ports.
abstract superclass for arrays of numeric data
topologically and geometrically regular array of data
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
a list of ids arranged in priority order
project a polyline onto a terrain
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkProjectedTerrainPath() override
void SetSourceData(vtkImageData *source)
Specify the second input (the terrain) onto which the polyline(s) should be projected.
void SetProjectionModeToNonOccluded()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double GetHeight(double loc[2], int ij[2])
static vtkProjectedTerrainPath * New()
Instantiate the class.
vtkProjectedTerrainPath()
void ComputeError(vtkIdType edgeId)
vtkPriorityQueue * PositiveLineError
void SetProjectionModeToHug()
void SplitEdge(vtkIdType eId, double t)
vtkImageData * GetSource()
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the second input (the terrain) onto which the polyline(s) should be projected.
vtkIdType MaximumNumberOfLines
void GetImageIndex(double x[3], double loc[2], int ij[2])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetProjectionModeToSimple()
vtkPriorityQueue * NegativeLineError
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)