#include <Tool.h>
Inheritance diagram for OSCAR::Tool:

Public Methods | |
| Tool (const String &name=String(), OSCARError &err=DUMMY_ERROR(noError)) | |
| Tool (const Vector3D &toolPoint, const String &name=String(), OSCARError &err=DUMMY_ERROR(noError)) | |
| Tool (const Xform &toolFrame, const String &name=String(), OSCARError &err=DUMMY_ERROR(noError)) | |
| Tool (const Tool &tool) | |
| Tool & | operator= (const Tool &tool) |
| virtual | ~Tool () |
| virtual void | SetToolFrame (const Vector3D &toolPoint) |
| virtual void | SetToolFrame (const Xform &toolFrame) |
| virtual bool | GetToolFrame (Xform &toolFrame) const |
| virtual bool | GetToolFrame (Vector3D &toolPoint) const |
| void | ClearToolFrame () |
| virtual bool | GetToolMassProperties (Vector3D &CG, double &mass) const |
| virtual void | SetToolMassProperties (const Vector3D &CG, double mass) |
| void | ClearToolMassProperties () |
Protected Attributes | |
| Xform | toolFrame |
| bool | isToolSet |
| bool | isToolMassPropSet |
| Vector3 | toolCG |
| double | toolMass |
|
||||||||||||
|
Constructor for Tool Use this to construct a Tool object in which no tool frame is specified.
|
|
||||||||||||||||
|
Constructor for Tool Use this to construct a Tool object by specifying a tool frame for the tool.
|
|
||||||||||||||||
|
Constructor for Tool Use this to construct a Tool object by specifying a tool frame for the tool.
|
|
|
|
|
|
Destructor for Tool.
|
|
|
Use this to reset the tool frame of the tool to a 'not set' state This method will reset the tool frame to be the same as the base plate of the tool.
|
|
|
Use this to reset the tool mass properties to a 'not set' state This method will reset the tool CG location to be the same as the base plate of the tool and the tool mass equal to 0.
|
|
|
Use this to query the location of the tool point for the tool. This method can be called without an argument to query whether a tool point has been set or not.
|
|
|
Use this to query the location of the tool frame for the tool. This method can be called without an argument to query whether a tool frame has been set or not.
|
|
||||||||||||
|
Use this to query the CG and mass of the tool.
|
|
|
|
|
|
Use this to set the location of the tool point for the tool.
|
|
|
Use this to set the location of the tool point for the tool.
|
|
||||||||||||
|
Use this to set the CG and mass of the tool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |