VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtPolygonImmediate Class Reference
Inheritance diagram for DtPolygonImmediate:
Inheritance graph
[legend]

Public Member Functions

 DtPolygonImmediate ()
 
 DtPolygonImmediate (unsigned int numVertices)
 
virtual void setNumberOfVertices (unsigned int n)
 
virtual ~DtPolygonImmediate ()
 
 DtPolygonImmediate (const DtPolygonImmediate &orig)
 
DtPolygonImmediateoperator= (const DtPolygonImmediate &orig)
 
virtual DtGdbNode::DtGdbNodeType type () const
 
virtual bool isFull () const
 
virtual int addVertex (const DtPoint &v)
 
virtual bool getVertex (DtPoint &retVal, unsigned int i) const
 
const DtPointgetVertex (unsigned int i) const
 
virtual bool getSurface (DtSurface &surfPtr) const
 
const DtSurfacegetSurface () const
 
virtual bool setSurface (const DtSurface &newSurface)
 
virtual void dump (int indentLevel) const
 
virtual int sizeInBytes () const
 
- Public Member Functions inherited from DtBasePolygon
virtual ~DtBasePolygon ()
 
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 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
 
- Public Member Functions inherited from DtAllTypesPolygon
virtual ~DtAllTypesPolygon ()
 
- Public Member Functions inherited from DtGdbNode
virtual ~DtGdbNode ()
 
DtGdbNodeoperator= (const DtGdbNode &orig)
 
virtual DtTerrainFileVersionNumber minSaveVersion () const
 
virtual bool applyTransform (const DtHomogeneousTransformMatrix &matrix, bool createNewVertices)
 
virtual DtGdbNodereduce (int &numReductions)
 
virtual DtGdbNodepersistentReduce ()
 
virtual bool sanityCheck () const
 
virtual bool allIntersectsAlongChord (const DtChord &chord, DtChordIntersectRecordList &intList, DtIntersectRecordType irtFlag) const
 
virtual void allInstancesOf (const DtGdbNodeType searchType, DtFoundInstancesContainer &foundInstances, bool recurseIntoCoordSysNodes=false)
 
virtual void allInstancesOf (const DtGdbNodeType searchType, DtFoundInstancesConstContainer &foundInstances, bool recurseIntoCoordSysNodes=false) const
 
virtual void allInstancesOf (const DtGdbNodeType searchType, DtFoundInstancesContainer &foundInstances, bool recurseIntoCoordSysNodes, DtGdbNodeEvaluationFunctor &functor)
 
virtual void allInstancesOf (const DtGdbNodeType searchType, DtFoundInstancesConstContainer &foundInstances, bool recurseIntoCoordSysNodes, DtGdbNodeEvaluationFunctor &functor) const
 
virtual void purgeAllInstancesOf (const DtGdbNodeType searchType)
 
virtual DtGdbNodepurgeAll ()
 
virtual DtGdbNodeparent (DtGdbNode *child)
 
virtual DtGdbNoderemoveChild (DtGdbNode *child)
 
virtual void polygonToTriangle (DtMemoryManager *memMgr, unsigned int &numIndConverted, unsigned int &numIndTotal)
 
virtual unsigned int loadAllExternalFiles () const
 
virtual unsigned int unloadAllExternalFiles () const
 
- Public Member Functions inherited from DtMemoryManageable
 DtMemoryManageable ()
 
virtual ~DtMemoryManageable ()
 
 DtMemoryManageable (const DtMemoryManageable &orig)
 
DtMemoryManageableoperator= (const DtMemoryManageable &orig)
 
virtual void setIsRemoved (bool onOff)
 
virtual bool isMemoryManaged () const
 
bool isRemoved () const
 

Protected Attributes

DtSurface mySurface
 
std::vector< DtVertexmyVertices
 
- Protected Attributes inherited from DtBasePolygon
unsigned int myNumberOfVertices
 
bool myInitialized
 
DtPlane myPlane
 
DtExtent myExtent
 
- Protected Attributes inherited from DtGdbNode
DtGdbNodemyOwner
 
- Protected Attributes inherited from DtMemoryManageable
bool myIsMemoryManaged
 
bool myIsRemoved
 

Additional Inherited Members

- Public Types inherited from DtGdbNode
enum  DtGdbNodeType {
  NULL_NODE = -1, GRIDPOST_LIST = 0, VERTEX_LIST, GROUP,
  POLYGON_IMMEDIATE, POLYGON_INDIRECT, LEVEL_OF_DETAIL, GRID,
  DYNAMIC_COORDINATE_SYSTEM, STATIC_COORDINATE_SYSTEM, TERRAIN_FEATURE, CULTURAL_FEATURE,
  BUILDING, TREE, TRIANGLE_INDIRECT, FILE_NODE,
  REF_GROUP, EXTENT_TRIANGLE_INDIRECT, LAST_NODE_TYPE
}
 
enum  DtIntersectRecordType {
  IRT_NO_DATA = 0, IRT_IPOINT = 0x01, IRT_INORMAL = 0x02, IRT_IPOLYGON = 0x04,
  IRT_ALL_DATA_TERRAIN = 0x07, IRT_VECTOR_DATA_INPOINT = 0x10, IRT_VECTOR_DATA_ALONG_CHORD = 0x20, IRT_ALL_DATA_INPOINT = 0x17,
  IRT_ALL_DATA_ALONG_CHORD = 0x27
}
 
typedef std::set< DtGdbNode * > DtFoundInstancesContainer
 
typedef
DtFoundInstancesContainer::iterator 
DtFoundInstancesIter
 
typedef
DtFoundInstancesContainer::const_iterator 
DtFoundInstancesConstIter
 
typedef std::set< const
DtGdbNode * > 
DtFoundInstancesConstContainer
 
typedef
DtFoundInstancesConstContainer::iterator 
DtConstFoundInstancesIter
 
typedef
DtFoundInstancesConstContainer::const_iterator 
DtConstFoundInstancesConstIter
 
- Protected Member Functions inherited from DtBasePolygon
 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 Member Functions inherited from DtAllTypesPolygon
 DtAllTypesPolygon ()
 
 DtAllTypesPolygon (const DtAllTypesPolygon &orig)
 
DtAllTypesPolygonoperator= (const DtAllTypesPolygon &orig)
 
- Protected Member Functions inherited from DtGdbNode
 DtGdbNode ()
 
 DtGdbNode (const DtGdbNode &orig)
 
- Protected Member Functions inherited from DtMemoryManageable
virtual void setIsMemoryManaged ()
 

Constructor & Destructor Documentation

DtPolygonImmediate::DtPolygonImmediate ( )
DtPolygonImmediate::DtPolygonImmediate ( unsigned int  numVertices)
virtual DtPolygonImmediate::~DtPolygonImmediate ( )
virtual
DtPolygonImmediate::DtPolygonImmediate ( const DtPolygonImmediate orig)

Member Function Documentation

virtual void DtPolygonImmediate::setNumberOfVertices ( unsigned int  n)
virtual

Reimplemented from DtBasePolygon.

DtPolygonImmediate& DtPolygonImmediate::operator= ( const DtPolygonImmediate orig)
DtGdbNode::DtGdbNodeType DtPolygonImmediate::type ( void  ) const
inlinevirtual

Implements DtGdbNode.

References DtGdbNode::POLYGON_IMMEDIATE.

bool DtPolygonImmediate::isFull ( ) const
inlinevirtual
int DtPolygonImmediate::addVertex ( const DtPoint v)
inlinevirtual
bool DtPolygonImmediate::getVertex ( DtPoint retVal,
unsigned int  i 
) const
inlinevirtual

Implements DtBasePolygon.

References myVertices.

const DtPoint & DtPolygonImmediate::getVertex ( unsigned int  i) const
inlinevirtual

Implements DtBasePolygon.

References myVertices.

virtual bool DtPolygonImmediate::getSurface ( DtSurface surfPtr) const
virtual

Implements DtBasePolygon.

const DtSurface & DtPolygonImmediate::getSurface ( ) const
inlinevirtual

Implements DtBasePolygon.

References mySurface.

bool DtPolygonImmediate::setSurface ( const DtSurface newSurface)
inlinevirtual

Implements DtBasePolygon.

References mySurface.

virtual void DtPolygonImmediate::dump ( int  indentLevel) const
virtual

Implements DtGdbNode.

virtual int DtPolygonImmediate::sizeInBytes ( ) const
virtual

Implements DtBasePolygon.

Member Data Documentation

DtSurface DtPolygonImmediate::mySurface
protected

Referenced by getSurface(), and setSurface().

std::vector<DtVertex> DtPolygonImmediate::myVertices
protected

Referenced by addVertex(), getVertex(), and isFull().


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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)