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);}
143 vtkGetMacro(HeightOffset,
double);
153 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
void SetSourceData(vtkImageData *source)
Specify the second input (the terrain) onto which the polyline(s) should be projected.
void SetProjectionModeToNonOccluded()
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
double GetHeight(double loc[2], int ij[2])
vtkProjectedTerrainPath()
void ComputeError(vtkIdType edgeId)
vtkPriorityQueue * PositiveLineError
void SetProjectionModeToHug()
void SplitEdge(vtkIdType eId, double t)
static vtkProjectedTerrainPath * New()
Instantiate the class.
~vtkProjectedTerrainPath()
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 SetProjectionModeToSimple()
vtkImageData * GetSource()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPriorityQueue * NegativeLineError
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.