GlobeEngine
geData::PolyLine Class Reference

#include <PolyLine.h>

Inheritance diagram for geData::PolyLine:
geData::DouglasPeuckerDrawablePath geData::DrawablePolyLine geHikingViewer::HikingPath

Public Member Functions

 PolyLine ()
 
 ~PolyLine ()
 
void clear ()
 
void create (std::vector< vmml::Vector3d > _points)
 
void create (int _pointCount, const double *_points)
 
void create (int _pointCount, const vmml::Vector3d *_points)
 
void createWithOffSet (int _pointCount, int _pointOffset, double *_points)
 
void create (int _pointCount, double *_points_x, double *_points_y, double *_points_alti)
 
void create (int _pointCount, double *_points_x, double *_points_y)
 
void create (int _pointCount, double *_points_x, double *_points_y, int _start)
 
void create (int _pointCount, double *_points_x, double *_points_y, double *_points_alti, int _start)
 
void createWithRescale (int pointCount, double *_points_x, double *_points_y, double *_points_z, vmml::Vector3d _minBound, double *edgelength, double *rescaleTo)
 
void createWithRescale (int _pointCount, double *_points_x, double *_points_y, vmml::Vector3d _minBound, double *edgelength, double *rescaleTo)
 
void calculateDistances ()
 
void setData (const double *points)
 
const double * getArray () const
 
const double * getDistances () const
 
ge::VBOVertex3d getPoint (int _input) const
 
void setAdditionalPointSizes (unsigned int *_data)
 
unsigned int getPointCount () const
 
unsigned int getLineCount () const
 
double getSummedDistances ()
 
BSplineInterpolationResultgetBSPlineInterpolationPoints (int _polynomDegree)
 
virtual void setLineThickness (double _thickness)
 
double getLineThickness () const
 
int getRefinementLevel () const
 
bool isNeedingRefinement () const
 
void isNeedingRefinement (bool _in)
 
void print ()
 
void printAll ()
 
int getControlPointArraySize () const
 
int getKnotVectorSize () const
 
int getAnimationPoint () const
 
const vmml::Vector3d * getControlPointArray () const
 
void setSegmentDistance (float _segDist, bool _fixSegments=false)
 
int setControlPointArraySize (int _size)
 
void clearInitial ()
 
void allocateMemory (int _pointCount)
 
void deletePolyLineMemory ()
 
void moveAnimationForward ()
 
void moveAnimationBackward ()
 

Public Attributes

unsigned int ** additionalPointsIndices
 
unsigned intadditionalPointSizes
 

Protected Attributes

unsigned int pointCount
 
unsigned int lineCount
 
unsigned int pointsAfterOffset
 
double lineThickness
 
double * distances
 
double sumOfDistances
 
union {
   ge::VBOVertex3d *   points
 
   double *   data
 
}; 
 
int refinementlevel
 
bool needsRefinement
 
int ctrlPointSegments
 
int splineSegments
 
vmml::Vector3d * pts
 
int animationPoint
 

Constructor & Destructor Documentation

geData::PolyLine::PolyLine ( )
geData::PolyLine::~PolyLine ( )

Member Function Documentation

void geData::PolyLine::allocateMemory ( int  _pointCount)
void geData::PolyLine::calculateDistances ( )
void geData::PolyLine::clear ( )
void geData::PolyLine::clearInitial ( )
void geData::PolyLine::create ( std::vector< vmml::Vector3d >  _points)
void geData::PolyLine::create ( int  _pointCount,
const double *  _points 
)
void geData::PolyLine::create ( int  _pointCount,
const vmml::Vector3d *  _points 
)
void geData::PolyLine::create ( int  _pointCount,
double *  _points_x,
double *  _points_y,
double *  _points_alti 
)
void geData::PolyLine::create ( int  _pointCount,
double *  _points_x,
double *  _points_y 
)
void geData::PolyLine::create ( int  _pointCount,
double *  _points_x,
double *  _points_y,
int  _start 
)
void geData::PolyLine::create ( int  _pointCount,
double *  _points_x,
double *  _points_y,
double *  _points_alti,
int  _start 
)
void geData::PolyLine::createWithOffSet ( int  _pointCount,
int  _pointOffset,
double *  _points 
)
void geData::PolyLine::createWithRescale ( int  pointCount,
double *  _points_x,
double *  _points_y,
double *  _points_z,
vmml::Vector3d  _minBound,
double *  edgelength,
double *  rescaleTo 
)
void geData::PolyLine::createWithRescale ( int  _pointCount,
double *  _points_x,
double *  _points_y,
vmml::Vector3d  _minBound,
double *  edgelength,
double *  rescaleTo 
)
void geData::PolyLine::deletePolyLineMemory ( )
int geData::PolyLine::getAnimationPoint ( ) const
const double * geData::PolyLine::getArray ( ) const
BSplineInterpolationResult * geData::PolyLine::getBSPlineInterpolationPoints ( int  _polynomDegree)
const vmml::Vector3d * geData::PolyLine::getControlPointArray ( ) const
int geData::PolyLine::getControlPointArraySize ( ) const
const double * geData::PolyLine::getDistances ( ) const
int geData::PolyLine::getKnotVectorSize ( ) const
unsigned int geData::PolyLine::getLineCount ( ) const
double geData::PolyLine::getLineThickness ( ) const
ge::VBOVertex3d geData::PolyLine::getPoint ( int  _input) const
unsigned int geData::PolyLine::getPointCount ( ) const
int geData::PolyLine::getRefinementLevel ( ) const
double geData::PolyLine::getSummedDistances ( )
bool geData::PolyLine::isNeedingRefinement ( ) const
void geData::PolyLine::isNeedingRefinement ( bool  _in)
void geData::PolyLine::moveAnimationBackward ( )
void geData::PolyLine::moveAnimationForward ( )
void geData::PolyLine::print ( )
void geData::PolyLine::printAll ( )
void geData::PolyLine::setAdditionalPointSizes ( unsigned int _data)
int geData::PolyLine::setControlPointArraySize ( int  _size)
void geData::PolyLine::setData ( const double *  points)
void geData::PolyLine::setLineThickness ( double  _thickness)
virtual
void geData::PolyLine::setSegmentDistance ( float  _segDist,
bool  _fixSegments = false 
)

Member Data Documentation

union { ... }
unsigned int** geData::PolyLine::additionalPointsIndices
unsigned int* geData::PolyLine::additionalPointSizes
int geData::PolyLine::animationPoint
protected
int geData::PolyLine::ctrlPointSegments
protected
double* geData::PolyLine::data
double* geData::PolyLine::distances
protected
unsigned int geData::PolyLine::lineCount
protected
double geData::PolyLine::lineThickness
protected
bool geData::PolyLine::needsRefinement
protected
unsigned int geData::PolyLine::pointCount
protected
ge::VBOVertex3d* geData::PolyLine::points
unsigned int geData::PolyLine::pointsAfterOffset
protected
vmml::Vector3d* geData::PolyLine::pts
protected
int geData::PolyLine::refinementlevel
protected
int geData::PolyLine::splineSegments
protected
double geData::PolyLine::sumOfDistances
protected

The documentation for this class was generated from the following files: