Character Manipulator class.
Definition at line 165 of file fbcharactermanipulator.h.
#include <fbcharactermanipulator.h>

Public Member Functions |
|
| FBCharacterManipulator (char *pName, HIObject pObject=NULL) | |
| Constructor. |
|
| virtual FBManipulationGetResult | TranslationIsEditable (bool &pEditable, FBReferencialType pRefType)=0 |
| Returned value will indicate if a
translation manipulation can be done. |
|
| virtual FBManipulationSetResult | TranslationSet (FBTVector &pT, FBReferencialType pRefType, FBSetType pSetType, FBSetWhat pSetWhat)=0 |
| Set the value of the translation to the
manipulated model. |
|
| virtual FBManipulationGetResult | TranslationGet (FBTVector &pT, FBReferencialType pRefType, FBManipPivot pPivot=FBManipPivotObjectTranslation)=0 |
| Get the translation manipulator position.
|
|
| virtual FBManipulationStartResult | TranslationStartManipulation (FBReferencialType pRefType)=0 |
| Called to determine if the manipulation can
be done. |
|
| virtual void | TranslationStopManipulation ()=0 |
| Called when the manipulation is finished.
|
|
| virtual FBManipulationGetResult | RotationIsEditable (bool &pEditable, FBReferencialType pRefType)=0 |
| Returned value will indicate if a rotation
manipulation can be done. |
|
| virtual FBManipulationSetResult | RotationSet (FBMatrix &pRM, FBReferencialType pRefType, FBSetType pSetType, bool pOnlyRoot=false)=0 |
| Set the value of the translation to the
manipulated model. |
|
| virtual FBManipulationGetResult | RotationGet (FBMatrix &pRM, FBReferencialType pRefType)=0 |
| Get the rotation manipulator position.
|
|
| virtual FBManipulationStartResult | RotationStartManipulation (FBReferencialType pRefType)=0 |
| Called to determine if the manipulation can
be done. |
|
| virtual void | RotationStopManipulation ()=0 |
| Called when the manipulation is finished.
|
|
| virtual FBManipulationGetResult | ScalingIsEditable (bool &pEditable)=0 |
| Returned value will indicate if a scaling
manipulation can be done. |
|
| virtual FBManipulationSetResult | ScalingSet (FBSVector &pS, FBReferencialType pRefType, FBSetType pSetType, FBSetWhat pSetWhat)=0 |
| Set the value of the scale to the
manipulated model. |
|
| virtual FBManipulationGetResult | ScalingGet (FBSVector &pS, FBReferencialType pRefType)=0 |
| Get the scale manipulator position. |
|
| virtual FBManipulationStartResult | ScalingStartManipulation (FBReferencialType pRefType)=0 |
| Called to determine if the manipulation can
be done. |
|
| virtual void | ScalingStopManipulation ()=0 |
| Called when the manipulation is finished.
|
|
| bool | IsReleasePinPressed () |
| Call this to know if the Button Release is
on when manipulating. |
|
| FBModel * | GetManipulatedNode () |
| return the manipulated Model |
|
| FBManipMode | GetManipulatorMode () |
| return the manipulator Mode |
|
| FBCharacterManipulator | ( | char * | pName, |
| HIObject | pObject =
NULL |
||
| ) |
Constructor.
| pName | Name of manipulator. |
| pObject | For internal use only (default is NULL). |
| virtual FBManipulationGetResult TranslationIsEditable | ( | bool & | pEditable, |
| FBReferencialType | pRefType | ||
| ) | [pure virtual] |
Returned value will indicate if a translation manipulation can be done.
| pEditable | Value to modify to indicate if a manipulation can be done. |
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationSetResult TranslationSet | ( | FBTVector & | pT, |
| FBReferencialType | pRefType, | ||
| FBSetType | pSetType, | ||
| FBSetWhat | pSetWhat | ||
| ) | [pure virtual] |
Set the value of the translation to the manipulated model.
| pT | New value based on manipulation done by the user. |
| pRefType | Referential of the manipulation. |
| pSetType | How to apply the provided value. |
| pSetWhat | Which component of the provided value to use. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationGetResult TranslationGet | ( | FBTVector & | pT, |
| FBReferencialType | pRefType, | ||
| FBManipPivot | pPivot =
FBManipPivotObjectTranslation |
||
| ) | [pure virtual] |
Get the translation manipulator position.
| pT | FBTVector value to fill with the translation value. |
| pRefType | Referential of the manipulation. |
| pPivot | How to consider the pivot if there is one. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationStartResult TranslationStartManipulation | ( | FBReferencialType | pRefType | ) | [pure virtual] |
Called to determine if the manipulation can be done.
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual void TranslationStopManipulation | ( | ) | [pure virtual] |
Called when the manipulation is finished.
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationGetResult RotationIsEditable | ( | bool & | pEditable, |
| FBReferencialType | pRefType | ||
| ) | [pure virtual] |
Returned value will indicate if a rotation manipulation can be done.
| pEditable | Value to modify to indicate if a manipulation can be done. |
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationSetResult RotationSet | ( | FBMatrix & | pRM, |
| FBReferencialType | pRefType, | ||
| FBSetType | pSetType, | ||
| bool | pOnlyRoot =
false |
||
| ) | [pure virtual] |
Set the value of the translation to the manipulated model.
| pRM | New value based on manipulation done by the user. |
| pRefType | Referential of the manipulation. |
| pSetType | How to apply the provided value. |
| pOnlyRoot | Manipulate only root node. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationGetResult RotationGet | ( | FBMatrix & | pRM, |
| FBReferencialType | pRefType | ||
| ) | [pure virtual] |
Get the rotation manipulator position.
| pRM | FBMatrix value to fill with the rotation value. |
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationStartResult RotationStartManipulation | ( | FBReferencialType | pRefType | ) | [pure virtual] |
Called to determine if the manipulation can be done.
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual void RotationStopManipulation | ( | ) | [pure virtual] |
Called when the manipulation is finished.
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationGetResult ScalingIsEditable | ( | bool & | pEditable | ) | [pure virtual] |
Returned value will indicate if a scaling manipulation can be done.
| pEditable | Value to modify to indicate if a manipulation can be done. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationSetResult ScalingSet | ( | FBSVector & | pS, |
| FBReferencialType | pRefType, | ||
| FBSetType | pSetType, | ||
| FBSetWhat | pSetWhat | ||
| ) | [pure virtual] |
Set the value of the scale to the manipulated model.
| pS | New value based on manipulation done by the user. |
| pRefType | Referential of the manipulation. |
| pSetType | How to apply the provided value. |
| pSetWhat | Which component of the provided value to use. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationGetResult ScalingGet | ( | FBSVector & | pS, |
| FBReferencialType | pRefType | ||
| ) | [pure virtual] |
Get the scale manipulator position.
| pS | FBSVector value to fill with the scale value. |
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual FBManipulationStartResult ScalingStartManipulation | ( | FBReferencialType | pRefType | ) | [pure virtual] |
Called to determine if the manipulation can be done.
| pRefType | Referential of the manipulation. |
Implemented in FBCharacterManipulatorCtrlSet.
| virtual void ScalingStopManipulation | ( | ) | [pure virtual] |
Called when the manipulation is finished.
Implemented in FBCharacterManipulatorCtrlSet.
| bool IsReleasePinPressed | ( | ) |
Call this to know if the Button Release is on when manipulating.
| FBModel* GetManipulatedNode | ( | ) |
| FBManipMode GetManipulatorMode | ( | ) |