VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtBasePolygon Class Reference
Inheritance diagram for DtBasePolygon:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DtBasePolygon ()
virtual void setNumberOfVertices (unsigned int n)
virtual unsigned int numberOfVertices () const
virtual void recomputeExtent ()
virtual void initPlaneAndExtent ()
virtual DtPlane plane () const
DtExtent extent () const
virtual DtVector normal () const
virtual bool getEdge (DtChord &edge, int edgeNumber) const
virtual void getPlane (DtPlane &plane) const
virtual void getNormal (DtVector &normal) const
virtual void countPolyColors (DtColorCountRecord &cr, const DtExtent &e) const
virtual void expandExtent (DtExtent &otherExtent) const
virtual bool intersect (const DtChord &chordToTest, DtPoint &intersectionPoint, double &intersectionTime) const
virtual bool intersect (const DtChord &chord, DtChordIntersectionRecord &record, DtIntersectRecordType irtFlag) const
virtual int intersectBundle (const DtChordBundle &chordBundle, DtList &recordList, DtIntersectRecordType irtFlag) const
virtual int allIntersectsAlongChordBundle (const DtChordBundle &chordBundle, DtList &intListList, DtIntersectRecordType irtFlag) const
virtual bool intersect (const DtSphere &sphere, DtSphereIntersectionRecord &record, DtIntersectRecordType irtFlag) const
virtual bool getVertex (DtPoint &retVal, unsigned int i) const =0
virtual const DtPointgetVertex (unsigned int i) const =0
virtual bool getSurface (DtSurface &s) const =0
virtual const DtSurfacegetSurface () const =0
virtual bool setSurface (const DtSurface &newSurface)=0
virtual bool pointInPolygon (const DtPoint &point) const
virtual double closestPointOnChordToPolygon (const DtChord &chord, DtPoint &closestPoint, double cutoffDistance=0.) const
virtual double minZ () const
virtual double maxZ () const
virtual bool isFull () const =0
virtual int sizeInBytes () const =0

Protected Member Functions

 DtBasePolygon ()
 DtBasePolygon (unsigned int numVertices)
 DtBasePolygon (const DtBasePolygon &orig)
DtBasePolygonoperator= (const DtBasePolygon &orig)
bool testInvariant () const
virtual double computeTwiceArea (const DtPoint &a, const DtPoint &b, const DtPoint &c) const

Protected Attributes

unsigned int myNumberOfVertices
bool myInitialized
DtPlane myPlane
DtExtent myExtent

Constructor & Destructor Documentation

virtual DtBasePolygon::~DtBasePolygon ( ) [virtual]
DtBasePolygon::DtBasePolygon ( unsigned int  numVertices) [protected]
DtBasePolygon::DtBasePolygon ( const DtBasePolygon orig) [protected]

Member Function Documentation

DtBasePolygon& DtBasePolygon::operator= ( const DtBasePolygon orig) [protected]
void DtBasePolygon::setNumberOfVertices ( unsigned int  n) [inline, virtual]

Reimplemented in DtPolygonIndirect, and DtPolygonImmediate.

References myNumberOfVertices.

unsigned int DtBasePolygon::numberOfVertices ( ) const [inline, virtual]
virtual void DtBasePolygon::recomputeExtent ( ) [virtual]

Reimplemented from DtGdbNode.

virtual void DtBasePolygon::initPlaneAndExtent ( ) [virtual]
DtPlane DtBasePolygon::plane ( ) const [inline, virtual]

References myPlane.

Referenced by normal().

DtExtent DtBasePolygon::extent ( ) const [inline]

References myExtent.

DtVector DtBasePolygon::normal ( ) const [inline, virtual]

Implements DtAllTypesPolygon.

References DtPlane::normal(), and plane().

virtual bool DtBasePolygon::getEdge ( DtChord edge,
int  edgeNumber 
) const [virtual]

Implements DtAllTypesPolygon.

virtual void DtBasePolygon::getPlane ( DtPlane plane) const [virtual]
virtual void DtBasePolygon::getNormal ( DtVector normal) const [virtual]

Implements DtAllTypesPolygon.

virtual void DtBasePolygon::countPolyColors ( DtColorCountRecord cr,
const DtExtent e 
) const [virtual]

Implements DtAllTypesPolygon.

virtual void DtBasePolygon::expandExtent ( DtExtent otherExtent) const [virtual]

Reimplemented from DtGdbNode.

virtual bool DtBasePolygon::intersect ( const DtChord chordToTest,
DtPoint intersectionPoint,
double &  intersectionTime 
) const [virtual]

Implements DtAllTypesPolygon.

virtual bool DtBasePolygon::intersect ( const DtChord chord,
DtChordIntersectionRecord record,
DtIntersectRecordType  irtFlag 
) const [virtual]

Implements DtAllTypesPolygon.

virtual int DtBasePolygon::intersectBundle ( const DtChordBundle chordBundle,
DtList &  recordList,
DtIntersectRecordType  irtFlag 
) const [virtual]

Implements DtAllTypesPolygon.

virtual int DtBasePolygon::allIntersectsAlongChordBundle ( const DtChordBundle chordBundle,
DtList &  intListList,
DtIntersectRecordType  irtFlag 
) const [virtual]

Reimplemented from DtGdbNode.

virtual bool DtBasePolygon::intersect ( const DtSphere sphere,
DtSphereIntersectionRecord record,
DtIntersectRecordType  irtFlag 
) const [virtual]

Implements DtAllTypesPolygon.

virtual bool DtBasePolygon::getVertex ( DtPoint retVal,
unsigned int  i 
) const [pure virtual]

Implements DtAllTypesPolygon.

Implemented in DtPolygonImmediate, and DtPolygonIndirect.

virtual const DtPoint& DtBasePolygon::getVertex ( unsigned int  i) const [pure virtual]

Implements DtAllTypesPolygon.

Implemented in DtPolygonImmediate, and DtPolygonIndirect.

virtual bool DtBasePolygon::getSurface ( DtSurface s) const [pure virtual]

Implements DtAllTypesPolygon.

Implemented in DtPolygonImmediate, and DtPolygonIndirect.

virtual const DtSurface& DtBasePolygon::getSurface ( ) const [pure virtual]

Implements DtAllTypesPolygon.

Implemented in DtPolygonImmediate, and DtPolygonIndirect.

virtual bool DtBasePolygon::setSurface ( const DtSurface newSurface) [pure virtual]

Implements DtAllTypesPolygon.

Implemented in DtPolygonIndirect, and DtPolygonImmediate.

virtual bool DtBasePolygon::pointInPolygon ( const DtPoint point) const [virtual]

Implements DtAllTypesPolygon.

virtual double DtBasePolygon::closestPointOnChordToPolygon ( const DtChord chord,
DtPoint closestPoint,
double  cutoffDistance = 0. 
) const [virtual]

Implements DtAllTypesPolygon.

double DtBasePolygon::minZ ( ) const [inline, virtual]

Implements DtAllTypesPolygon.

References DtExtent::minZ(), and myExtent.

double DtBasePolygon::maxZ ( ) const [inline, virtual]

Implements DtAllTypesPolygon.

References DtExtent::maxZ(), and myExtent.

virtual bool DtBasePolygon::isFull ( ) const [pure virtual]

Implemented in DtPolygonIndirect, and DtPolygonImmediate.

virtual int DtBasePolygon::sizeInBytes ( ) const [pure virtual]

Implements DtAllTypesPolygon.

Implemented in DtPolygonIndirect, and DtPolygonImmediate.

bool DtBasePolygon::testInvariant ( ) const [protected]

Reimplemented in DtPolygonIndirect.

virtual double DtBasePolygon::computeTwiceArea ( const DtPoint a,
const DtPoint b,
const DtPoint c 
) const [protected, virtual]

Member Data Documentation

unsigned int DtBasePolygon::myNumberOfVertices [protected]

Referenced by plane().

Referenced by extent(), maxZ(), and minZ().


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)