#include <SIM_SolverSwitch.h>

Public Member Functions | |
| GETSET_DATA_FUNCS_S (SIM_NAME_SWITCHVALUENAME, SwitchValueName) | |
| GETSET_DATA_FUNCS_I (SIM_NAME_DEFAULTSWITCHVALUE, DefaultSwitchValue) | |
Protected Member Functions | |
| SIM_SolverSwitch (const SIM_DataFactory *factory) | |
| Basic SIM_SolverSwitch constructor. | |
| virtual | ~SIM_SolverSwitch () |
| Basic SIM_SolverSwitch destructor. | |
| virtual SIM_Result | solveObjectsSubclass (SIM_Engine &engine, SIM_ObjectArray &objects, SIM_ObjectArray &newobjects, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep) |
| Override this function to pass this call along to our child solvers. | |
| virtual int | getRequestedCacheSubclass () |
| Override this function to get the requirements of our child solvers. | |
| virtual void | getImpulseMassMatrixSubclass (const SIM_Object &object, const UT_Vector3 &impulseworldpos, UT_DMatrix3 &immatrix) const |
| virtual void | getPointImpulseMassMatrixSubclass (const SIM_Object &object, int ptnum, UT_DMatrix3 &immatrix) const |
| virtual fpreal | getPropertyAtPositionSubclass (const SIM_Object &object, const UT_Vector3 &worldpos, const SIM_Property &property) const |
| virtual fpreal | getPropertyAtPointSubclass (const SIM_Object &object, int ptnum, const SIM_Property &property) const |
| virtual void | getDefaultColliderLabelSubclass (const SIM_Object &object, UT_String &label) const |
| Gets the default collider label for an object using this solver. | |
| virtual void | getDefaultColliderSubclass (const SIM_Object &object, const UT_String &colliderlabel, UT_String &collidertype, bool &colliderreverseobjectroles) const |
Definition at line 24 of file SIM_SolverSwitch.h.
| SIM_SolverSwitch::SIM_SolverSwitch | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
Basic SIM_SolverSwitch constructor.
| virtual SIM_SolverSwitch::~SIM_SolverSwitch | ( | ) | [protected, virtual] |
Basic SIM_SolverSwitch destructor.
| virtual void SIM_SolverSwitch::getDefaultColliderLabelSubclass | ( | const SIM_Object & | object, | |
| UT_String & | label | |||
| ) | const [protected, virtual] |
| virtual void SIM_SolverSwitch::getDefaultColliderSubclass | ( | const SIM_Object & | object, | |
| const UT_String & | colliderlabel, | |||
| UT_String & | collidertype, | |||
| bool & | colliderreverseobjectroles | |||
| ) | const [protected, virtual] |
Gets the default collider type for use on an object with a particular collider label.
Reimplemented from SIM_Solver.
| virtual void SIM_SolverSwitch::getImpulseMassMatrixSubclass | ( | const SIM_Object & | object, | |
| const UT_Vector3 & | impulseworldpos, | |||
| UT_DMatrix3 & | immatrix | |||
| ) | const [protected, virtual] |
Gets the impulse mass matrix of an object for an impulse at the provided world space position. The default implementation gets the closest point in the geometry and calls getPointImpulseMassMatrix().
Reimplemented from SIM_Solver.
| virtual void SIM_SolverSwitch::getPointImpulseMassMatrixSubclass | ( | const SIM_Object & | object, | |
| int | ptnum, | |||
| UT_DMatrix3 & | immatrix | |||
| ) | const [protected, virtual] |
Gets the impulse mass matrix of an object for an impulse at the provided point on the geometry of the object. The default implementation finds the world space position of the point and calls getImpulseMassMatrix().
Reimplemented from SIM_Solver.
| virtual fpreal SIM_SolverSwitch::getPropertyAtPointSubclass | ( | const SIM_Object & | object, | |
| int | ptnum, | |||
| const SIM_Property & | property | |||
| ) | const [protected, virtual] |
Gets the value of some physical property for the supplied object at a given point on the object's geometry.
Reimplemented from SIM_Solver.
| virtual fpreal SIM_SolverSwitch::getPropertyAtPositionSubclass | ( | const SIM_Object & | object, | |
| const UT_Vector3 & | worldpos, | |||
| const SIM_Property & | property | |||
| ) | const [protected, virtual] |
Gets the value of some physical property for the supplied object at a given position in world space.
Reimplemented from SIM_Solver.
| virtual int SIM_SolverSwitch::getRequestedCacheSubclass | ( | ) | [protected, virtual] |
| SIM_SolverSwitch::GETSET_DATA_FUNCS_I | ( | SIM_NAME_DEFAULTSWITCHVALUE | , | |
| DefaultSwitchValue | ||||
| ) |
| SIM_SolverSwitch::GETSET_DATA_FUNCS_S | ( | SIM_NAME_SWITCHVALUENAME | , | |
| SwitchValueName | ||||
| ) |
| virtual SIM_Result SIM_SolverSwitch::solveObjectsSubclass | ( | SIM_Engine & | engine, | |
| SIM_ObjectArray & | objects, | |||
| SIM_ObjectArray & | newobjects, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep | |||
| ) | [protected, virtual] |
1.5.9