VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtShapeInfluenceRectangle Class Reference

Public Member Functions

 DtShapeInfluenceRectangle ()
 
 DtShapeInfluenceRectangle (DtPoint &p, long index, DtPoint &min, DtPoint &max, bool Border, bool corner, bool isReal=true)
 
DtShapeInfluenceRectangleoperator= (const DtShapeInfluenceRectangle &orig)
 
virtual ~DtShapeInfluenceRectangle ()
 
virtual void setPoint (DtPoint &p, long index)
 
virtual DtPointpoint ()
 
virtual long index ()
 
virtual void setMin (DtPoint &min)
 
virtual DtPointminPoint ()
 
virtual void setMax (DtPoint &max)
 
virtual DtPointmaxPoint ()
 
virtual void setAsBorder (bool isBorder)
 
virtual bool isBorder ()
 
virtual bool isProcessed ()
 
virtual void setIsReal (bool isBorder)
 
virtual bool isReal ()
 
virtual void setAsCorner (bool isCorner)
 
virtual bool isCorner ()
 
virtual bool onTheXEdge (double val)
 
virtual bool onTheYEdge (double val)
 
virtual bool isAdjacent (DtShapeInfluenceRectangle *adjacent)
 
virtual void addAdjacent (DtShapeInfluenceRectangle *adjacent)
 
virtual void removeAdjacent (DtShapeInfluenceRectangle *adjacent)
 
virtual DtList & adjacents ()
 
virtual bool include (DtPoint &p)
 
virtual bool divideIfInclude (DtList &influenceRectanglesList, DtPoint &p, long index, double dist, bool isReal=true)
 
virtual DtGroupimport (DtShapeReader *db, int border)
 
virtual DtGroupimportBorder (DtShapeReader *db, DtShapeInfluenceRectangle *&ref, double thresholdForSeaLevel, int border)
 
virtual bool checkForNice (DtPoint &p)
 

Static Public Member Functions

static void setMinMax (DtPoint &p1, DtPoint &p2)
 

Protected Member Functions

virtual void reviewAdjacents (DtShapeInfluenceRectangle *theNew)
 
virtual DtShapeInfluenceRectanglefindNext ()
 

Protected Attributes

DtVertexID myIndex
 
DtVertexID myAdditionalIndex [3]
 
DtList myAdjacents
 
DtPoint myPoint
 
DtPoint myMin
 
DtPoint myMax
 
bool myIsBorder
 
bool myIsCorner
 
bool myBorderProcessed
 
bool myProcessed
 
bool myIsReal
 
int myWho
 

Static Protected Attributes

static int who
 
static double myXMin
 
static double myXMax
 
static double myYMin
 
static double myYMax
 

Constructor & Destructor Documentation

DtShapeInfluenceRectangle::DtShapeInfluenceRectangle ( )
DtShapeInfluenceRectangle::DtShapeInfluenceRectangle ( DtPoint p,
long  index,
DtPoint min,
DtPoint max,
bool  Border,
bool  corner,
bool  isReal = true 
)
virtual DtShapeInfluenceRectangle::~DtShapeInfluenceRectangle ( )
virtual

Member Function Documentation

DtShapeInfluenceRectangle& DtShapeInfluenceRectangle::operator= ( const DtShapeInfluenceRectangle orig)
virtual void DtShapeInfluenceRectangle::setPoint ( DtPoint p,
long  index 
)
virtual
virtual DtPoint& DtShapeInfluenceRectangle::point ( )
virtual
virtual long DtShapeInfluenceRectangle::index ( )
virtual
virtual void DtShapeInfluenceRectangle::setMin ( DtPoint min)
virtual
virtual DtPoint& DtShapeInfluenceRectangle::minPoint ( )
virtual
virtual void DtShapeInfluenceRectangle::setMax ( DtPoint max)
virtual
virtual DtPoint& DtShapeInfluenceRectangle::maxPoint ( )
virtual
virtual void DtShapeInfluenceRectangle::setAsBorder ( bool  isBorder)
virtual
virtual bool DtShapeInfluenceRectangle::isBorder ( )
virtual
virtual bool DtShapeInfluenceRectangle::isProcessed ( )
virtual
virtual void DtShapeInfluenceRectangle::setIsReal ( bool  isBorder)
virtual
virtual bool DtShapeInfluenceRectangle::isReal ( )
virtual
virtual void DtShapeInfluenceRectangle::setAsCorner ( bool  isCorner)
virtual
virtual bool DtShapeInfluenceRectangle::isCorner ( )
virtual
virtual bool DtShapeInfluenceRectangle::onTheXEdge ( double  val)
virtual
virtual bool DtShapeInfluenceRectangle::onTheYEdge ( double  val)
virtual
virtual bool DtShapeInfluenceRectangle::isAdjacent ( DtShapeInfluenceRectangle adjacent)
virtual
virtual void DtShapeInfluenceRectangle::addAdjacent ( DtShapeInfluenceRectangle adjacent)
virtual
virtual void DtShapeInfluenceRectangle::removeAdjacent ( DtShapeInfluenceRectangle adjacent)
virtual
virtual DtList& DtShapeInfluenceRectangle::adjacents ( )
virtual
virtual bool DtShapeInfluenceRectangle::include ( DtPoint p)
virtual
virtual bool DtShapeInfluenceRectangle::divideIfInclude ( DtList &  influenceRectanglesList,
DtPoint p,
long  index,
double  dist,
bool  isReal = true 
)
virtual
virtual DtGroup* DtShapeInfluenceRectangle::import ( DtShapeReader db,
int  border 
)
virtual
virtual DtGroup* DtShapeInfluenceRectangle::importBorder ( DtShapeReader db,
DtShapeInfluenceRectangle *&  ref,
double  thresholdForSeaLevel,
int  border 
)
virtual
virtual bool DtShapeInfluenceRectangle::checkForNice ( DtPoint p)
virtual
static void DtShapeInfluenceRectangle::setMinMax ( DtPoint p1,
DtPoint p2 
)
static
virtual void DtShapeInfluenceRectangle::reviewAdjacents ( DtShapeInfluenceRectangle theNew)
protectedvirtual
virtual DtShapeInfluenceRectangle* DtShapeInfluenceRectangle::findNext ( )
protectedvirtual

Member Data Documentation

DtVertexID DtShapeInfluenceRectangle::myIndex
protected
DtVertexID DtShapeInfluenceRectangle::myAdditionalIndex[3]
protected
DtList DtShapeInfluenceRectangle::myAdjacents
protected
DtPoint DtShapeInfluenceRectangle::myPoint
protected
DtPoint DtShapeInfluenceRectangle::myMin
protected
DtPoint DtShapeInfluenceRectangle::myMax
protected
bool DtShapeInfluenceRectangle::myIsBorder
protected
bool DtShapeInfluenceRectangle::myIsCorner
protected
bool DtShapeInfluenceRectangle::myBorderProcessed
protected
bool DtShapeInfluenceRectangle::myProcessed
protected
bool DtShapeInfluenceRectangle::myIsReal
protected
int DtShapeInfluenceRectangle::myWho
protected
int DtShapeInfluenceRectangle::who
staticprotected
double DtShapeInfluenceRectangle::myXMin
staticprotected
double DtShapeInfluenceRectangle::myXMax
staticprotected
double DtShapeInfluenceRectangle::myYMin
staticprotected
double DtShapeInfluenceRectangle::myYMax
staticprotected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)