MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Mezzanine::Physics::ConeTwistConstraint Class Reference

#include <constraint.h>

+ Inheritance diagram for Mezzanine::Physics::ConeTwistConstraint:
+ Collaboration diagram for Mezzanine::Physics::ConeTwistConstraint:

Public Member Functions

 ConeTwistConstraint (RigidProxy *ProxyA, RigidProxy *ProxyB, const Vector3 &VectorA, const Vector3 &Vectorb, const Quaternion &QuaternionA, const Quaternion &QuaternionB)
 Class constructor.
 
 ConeTwistConstraint (RigidProxy *ProxyA, const Vector3 &VectorA, const Quaternion &QuaternionA)
 Single body constructor.
 
virtual ~ConeTwistConstraint ()
 Class destructor.
 
virtual void EnableMotor (bool Enable)
 
virtual btTypedConstraint * GetConstraintBase () const
 Get the Bullet constraint that this class encapsulates. More...
 
virtual bool IsPassedSwingLimit ()
 
virtual void SetAngularOnly (bool AngularOnly)
 
virtual void SetDamping (Real Damping)
 
virtual void SetFixThresh (Real FixThresh)
 
virtual void SetLimit (int LimitIndex, Real LimitValue)
 
virtual void SetLimit (Real SwingSpan1, Real SwingSpan2, Real Twistspan, Real Softness=1.0, Real BiasFactor=0.3, Real RelaxationFactor=1.0)
 
virtual void SetMaxMotorImpulse (Real MaxMotorImpulse)
 
virtual void SetMaxMotorImpulseNormalized (Real MaxMotorImpulse)
 
virtual void SetMotorTarget (const Quaternion &Quat)
 
virtual void SetMotorTargetInConstraintSpace (const Quaternion &Quat)
 
- Public Member Functions inherited from Mezzanine::Physics::Constraint
virtual ~Constraint ()
 Class destructor. More...
 
virtual Real GetParam (ConstraintParam Param, int Axis=-1) const
 Gets value of constraint parameters. More...
 
virtual RigidProxyGetProxyA () const
 Gets the first Proxy this constraint applies to. More...
 
virtual RigidProxyGetProxyB () const
 Gets the second Proxy this constraint applies to. More...
 
virtual bool HasParamBeenSet (ConstraintParam Param, int Axis) const =0
 Has the given Param on the Given Axis been set yet. More...
 
virtual bool IsParamValidOnAxis (ConstraintParam Param, int Axis) const
 Is a certain Parameter valid on a certain axis. More...
 
virtual void ProtoDeSerialize (const XML::Node &OneNode)
 Take the data stored in an XML and overwrite this instance of this object with it. More...
 
virtual void ProtoSerialize (XML::Node &CurrentRoot) const
 Convert this class to an XML::Node ready for serialization. More...
 
virtual void SetParam (ConstraintParam Param, Real Value, int Axis=-1)
 Provides override of constraint parameters. More...
 
virtual AxisList ValidAngularAxis () const =0
 Get A list sorted (low to high) of all axis that operate Angularly (that lock sliding/translation) More...
 
virtual AxisList ValidAxis () const
 Get a sorted (low to high) list of All Valid Axis. More...
 
virtual AxisList ValidLinearAxis () const =0
 Get a sorted (low to high) list of all axis that operate linearly (that lock sliding/translation) More...
 
virtual ParamList ValidParamOnAxis (int Axis) const =0
 Get a sorted (low to high) list of Parameters that are valid on this Axis. More...
 
virtual ParamList ValidParams () const
 Get A sorted (low to high) list of Parameters that are valid on all Axis. More...
 

Protected Attributes

btConeTwistConstraint * ConeTwist
 Bullet constraint that this class encapsulates.
 
- Protected Attributes inherited from Mezzanine::Physics::Constraint
RigidProxyProxA
 The first Collidable this constraint applies to. More...
 
RigidProxyProxB
 The second Collidable this constraint applies to. More...
 

Additional Inherited Members

- Public Types inherited from Mezzanine::Physics::Constraint
typedef std::vector< int > AxisList
 Used to Store lists of Int Axis for return types. More...
 
typedef std::vector
< ConstraintParam
ParamList
 Used to Store lists of param for return types.
 
- Static Public Member Functions inherited from Mezzanine::Physics::Constraint
static String SerializableName ()
 Get the name of the the XML tag this class will leave behind as its instances are serialized. More...
 
- Protected Member Functions inherited from Mezzanine::Physics::Constraint
 Constraint ()
 No initialization constructor. More...
 
void SetBodies (RigidProxy *Prox1, RigidProxy *Prox2)
 Sets the Internal Proxy pointers. More...
 
void SetBodies (RigidProxy *Prox1)
 Sets the Internal Proxy pointers. More...
 

Detailed Description

This class is currently incomplete

Definition at line 57 of file conetwistconstraint.h.

Member Function Documentation

btTypedConstraint * Mezzanine::Physics::ConeTwistConstraint::GetConstraintBase ( ) const
virtual

Get the Bullet constraint that this class encapsulates.

Returns
A pointer to the btTypedConstraint that stores the underlying constraint.

Implements Mezzanine::Physics::Constraint.

Definition at line 79 of file conetwistconstraint.cpp.


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