#include <Primitive.hpp>
Inheritance diagram for OSCAR::Primitive:

Public Methods | |
| Primitive () | |
| Primitive (const Primitive &arg) | |
| virtual | ~Primitive () |
| Primitive & | operator= (const Primitive &rhs) |
| virtual Primitive * | Clone () const=0 |
| bool | SetProperties () |
| const DT_ObjectHandle | GetSolidHandle () const |
| void | AddResponseClass (DT_RespTableHandle respTable) |
| const vector< DT_ResponseClass > & | GetResponseClasses () const |
| virtual bool | Update (const Xform &transform) |
Protected Methods | |
| virtual bool | createSolid () |
| void | destroySolid () |
Protected Attributes | |
| DT_ObjectHandle | solidHandle |
| DT_ShapeHandle | shapeHandle |
| vector< DT_ResponseClass > | respClasses |
|
|
Constructor Used to create arrays of Primitive objects. Note: SetProperties(...) must be called before any other function.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
Clone this object. Every derived class must implement this method.
Implemented in OSCAR::Box, OSCAR::Cone, OSCAR::Cylisphere, OSCAR::Plane, OSCAR::Polytope, OSCAR::SkeletalPrimitive, and OSCAR::Sphere. |
|
|
Reimplemented in OSCAR::Box, OSCAR::Cone, OSCAR::Cylisphere, OSCAR::Plane, OSCAR::Polytope, and OSCAR::Sphere. |
|
|
|
|
|
|
|
|
Gives access to the DT_ObjectHandle for use with the SOLID collision detection third party software.
|
|
|
|
|
|
Update private members Included simply as a standard name to be used for changing primitive info in derived classes.
|
|
|
Transform the local points to the global points using a user specified Xform.
Reimplemented from OSCAR::ModelingObject. Reimplemented in OSCAR::Box, OSCAR::Cone, OSCAR::Polytope, and OSCAR::SkeletalPrimitive. |
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |