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()
Determine how to control the projection process.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double GetHeight(double loc[2], int ij[2])
vtkProjectedTerrainPath()
void ComputeError(vtkIdType edgeId)
vtkPriorityQueue * PositiveLineError
void SetProjectionModeToHug()
Determine how to control the projection process.
void SplitEdge(vtkIdType eId, double t)
static vtkProjectedTerrainPath * New()
Instantiate the class.
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
Standard methods for printing and determining type information.
void SetProjectionModeToSimple()
Determine how to control the projection process.
vtkImageData * GetSource()
Specify the second input (the terrain) onto which the polyline(s) should be projected.
vtkPriorityQueue * NegativeLineError
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)