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