In file /home/blah/darwin2k/src/dyno/mechanism/dynoCollision.h:

class cdPolyhedronObstacle

a fixed polyhedral obstacle

Inheritance:


Public Fields

[more]mpoly* p
the mpoly representing the object's geometry.

Public Methods

[more] cdPolyhedronObstacle(const char* Name = NULL)
constructor.
[more] ~cdPolyhedronObstacle(void)
destructor
[more]void setObstacle(mpoly* mp, int createTris)
Sets mp as the obstacle represented by the cdPolyhedronObstacle.


Inherited from cdObject:

Public Fields

oint index
oint fixed
optrList* ignoreList
optrList* iTris
oint active
oconst char* name
ovoid* userData

Public Methods

ovirtual void cleanup(void)
ovoid deleteITris(void)
ovirtual void getPose(double r[3][3], double t[3])
ovirtual void getPose(matrix &r, triple &t)
oinline void addIgnoredObject(cdObject* o)
ovoid processLinkGeometry(link* l, ptrList* whichParts, int createITris)


Inherited from synObject:

Public Fields

ostatic int staticClassID
oint objectID
oint verboseLevel

Public Methods

ovirtual const char* className(void) const
ovirtual synObject* copy(void) const
ovirtual int isOfType(int typeNum, int derivedOk)
ostatic int setStaticClassID(void)
ovirtual int classID(void) const


Documentation

a fixed polyhedral obstacle
ompoly* p
the mpoly representing the object's geometry. since p is not used for inertial computations, it does not have to be a closed polyhedron; it can be an arbitrary collection of polyhedronFaces.

o cdPolyhedronObstacle(const char* Name = NULL)
constructor. cdBody::name will be set to Name (not copied from it)

o ~cdPolyhedronObstacle(void)
destructor

ovoid setObstacle(mpoly* mp, int createTris)
Sets mp as the obstacle represented by the cdPolyhedronObstacle. createTris should be non-zero if the polyhedrom intersections will be needed for the object


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.