VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtVectorObstruction Class Reference

Public Member Functions

 DtVectorObstruction (const DtNetworkNode &networkNode, const Coordinate_System &coordSys, bool extrudeInZ)
 Constructor.
 DtVectorObstruction (const DtNetworkSegment &networkSegment, const Coordinate_System &coordSys, bool extrudeInZ)
virtual ~DtVectorObstruction ()
 Destructor.
DtVectorObstructionoperator= (const DtVectorObstruction &original)
 Copy constructor.
bool operator== (const DtVectorObstruction &obstruction) const
 Equality Operator.
bool operator!= (const DtVectorObstruction &obstruction) const
 Non-equality operator.
bool valid () const
const DtNetworkElement * networkElement () const
void setNetworkElement (const DtNetworkNode &networkNode, const Coordinate_System &coordSys, bool extrudeInZ=false)
void setNetworkElement (const DtNetworkSegment &networkSegment, const Coordinate_System &coordSys, bool extrudeInZ=false)
DtVector location () const
DtExtent & extent ()
const DtExtent & extent () const
virtual void expandExtent (DtExtent &extent) const
 Expand the specified extent by the extent of the vector obstruction.
DtVector velocity () const
Dt3dBoundingVolume & boundingVolume ()
const Dt3dBoundingVolume & boundingVolume () const
DtDcm & localOrientationMatrix ()
const DtDcm & localOrientationMatrix () const
bool testInvariant () const

Protected Member Functions

void initializeExtent (const DtPoint &location, double length, double width, double height, DtExtent &extent) const
void initializeExtent (const DtPoint &location1, const DtPoint &location2, double length, double width, double height, DtExtent &extent) const

Protected Attributes

const DtNetworkElement * myVectorNetworkElement
DtDcm myLocalOrientationMatrix
Dt3dBoundingVolume myBoundingVolume
DtVector myLocation
DtVector myVelocity
DtExtent myExtent

Constructor & Destructor Documentation

DtVectorObstruction::DtVectorObstruction ( const DtNetworkNode &  networkNode,
const Coordinate_System &  coordSys,
bool  extrudeInZ 
)

Constructor.

DtVectorObstruction::DtVectorObstruction ( const DtNetworkSegment &  networkSegment,
const Coordinate_System &  coordSys,
bool  extrudeInZ 
)
virtual DtVectorObstruction::~DtVectorObstruction ( )
virtual

Destructor.

Member Function Documentation

DtVectorObstruction& DtVectorObstruction::operator= ( const DtVectorObstruction original)

Copy constructor.

! This class is copyable.

NOTE: The copy constructor is intentionally implicit. Defining this causes a very, very large performance hit on scenarios with vector feature avoidance. The implicit copy construction is correct, so there is no need to define this other than to provide a full interface. DtVectorObstruction(const DtVectorObstruction& original); ///////////////////////////////////////////////////////////////////////! Assignment Operator

bool DtVectorObstruction::operator== ( const DtVectorObstruction obstruction) const

Equality Operator.

bool DtVectorObstruction::operator!= ( const DtVectorObstruction obstruction) const

Non-equality operator.

bool DtVectorObstruction::valid ( ) const
Returns
A boolean signifying whether or not the collision object is still valid or not.
const DtNetworkElement* DtVectorObstruction::networkElement ( ) const
void DtVectorObstruction::setNetworkElement ( const DtNetworkNode &  networkNode,
const Coordinate_System &  coordSys,
bool  extrudeInZ = false 
)
void DtVectorObstruction::setNetworkElement ( const DtNetworkSegment &  networkSegment,
const Coordinate_System &  coordSys,
bool  extrudeInZ = false 
)
DtVector DtVectorObstruction::location ( ) const
DtExtent& DtVectorObstruction::extent ( )
const DtExtent& DtVectorObstruction::extent ( ) const
virtual void DtVectorObstruction::expandExtent ( DtExtent &  extent) const
virtual

Expand the specified extent by the extent of the vector obstruction.

DtVector DtVectorObstruction::velocity ( ) const
Dt3dBoundingVolume& DtVectorObstruction::boundingVolume ( )
const Dt3dBoundingVolume& DtVectorObstruction::boundingVolume ( ) const
DtDcm& DtVectorObstruction::localOrientationMatrix ( )
const DtDcm& DtVectorObstruction::localOrientationMatrix ( ) const
bool DtVectorObstruction::testInvariant ( ) const
void DtVectorObstruction::initializeExtent ( const DtPoint &  location,
double  length,
double  width,
double  height,
DtExtent &  extent 
) const
protected
void DtVectorObstruction::initializeExtent ( const DtPoint &  location1,
const DtPoint &  location2,
double  length,
double  width,
double  height,
DtExtent &  extent 
) const
protected

Member Data Documentation

const DtNetworkElement* DtVectorObstruction::myVectorNetworkElement
protected
DtDcm DtVectorObstruction::myLocalOrientationMatrix
protected
Dt3dBoundingVolume DtVectorObstruction::myBoundingVolume
protected
DtVector DtVectorObstruction::myLocation
protected
DtVector DtVectorObstruction::myVelocity
protected
DtExtent DtVectorObstruction::myExtent
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)