Public Member Functions | Protected Member Functions | Protected Attributes
Line3D Class Reference

#include <Line3D.h>

List of all members.

Public Member Functions

void addPoint (const Vector3 &p)
void drawLine (Vector3 &start, Vector3 &end)
void drawLines (void)
Real getBoundingRadius (void) const
unsigned short getNumPoints (void) const
const Vector3 & getPoint (unsigned short index) const
Real getSquaredViewDepth (const Camera *cam) const
 Line3D (void)
void updatePoint (unsigned short index, const Vector3 &value)
 ~Line3D (void)

Protected Member Functions

const Quaternion & getWorldOrientation (void) const
const Vector3 & getWorldPosition (void) const

Protected Attributes

bool mDrawn
std::vector< Vector3 > mPoints

Detailed Description

Definition at line 12 of file Line3D.h.


Constructor & Destructor Documentation

Line3D::Line3D ( void  )

Definition at line 5 of file Line3D.cpp.

Line3D::~Line3D ( void  )

Definition at line 13 of file Line3D.cpp.


Member Function Documentation

void Line3D::addPoint ( const Vector3 &  p)

Definition at line 18 of file Line3D.cpp.

void Line3D::drawLine ( Vector3 &  start,
Vector3 &  end 
)

Definition at line 42 of file Line3D.cpp.

void Line3D::drawLines ( void  )

Definition at line 53 of file Line3D.cpp.

Real Line3D::getBoundingRadius ( void  ) const

Definition at line 124 of file Line3D.cpp.

unsigned short Line3D::getNumPoints ( void  ) const

Definition at line 30 of file Line3D.cpp.

const Vector3 & Line3D::getPoint ( unsigned short  index) const

Definition at line 23 of file Line3D.cpp.

Real Line3D::getSquaredViewDepth ( const Camera *  cam) const

Definition at line 113 of file Line3D.cpp.

const Quaternion & Line3D::getWorldOrientation ( void  ) const [protected]

Definition at line 136 of file Line3D.cpp.

const Vector3 & Line3D::getWorldPosition ( void  ) const [protected]

Definition at line 141 of file Line3D.cpp.

void Line3D::updatePoint ( unsigned short  index,
const Vector3 &  value 
)

Definition at line 35 of file Line3D.cpp.


Member Data Documentation

bool Line3D::mDrawn [protected]

Definition at line 33 of file Line3D.h.

std::vector<Vector3> Line3D::mPoints [protected]

Definition at line 32 of file Line3D.h.


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


cop_rviz_plugin
Author(s): U. Klank, Josh Faust
autogenerated on Mon Oct 6 2014 08:22:39