Open CASCADE Technology 7.8.0
Public Member Functions
AIS_WalkDelta Struct Reference

Walking values. More...

#include <AIS_WalkDelta.hxx>

Public Member Functions

 AIS_WalkDelta ()
 Empty constructor.
 
const AIS_WalkPartoperator[] (AIS_WalkTranslation thePart) const
 Return translation component.
 
AIS_WalkPartoperator[] (AIS_WalkTranslation thePart)
 Return translation component.
 
const AIS_WalkPartoperator[] (AIS_WalkRotation thePart) const
 Return rotation component.
 
AIS_WalkPartoperator[] (AIS_WalkRotation thePart)
 Return rotation component.
 
bool IsJumping () const
 Return jumping state.
 
void SetJumping (bool theIsJumping)
 Set jumping state.
 
bool IsCrouching () const
 Return crouching state.
 
void SetCrouching (bool theIsCrouching)
 Set crouching state.
 
bool IsRunning () const
 Return running state.
 
void SetRunning (bool theIsRunning)
 Set running state.
 
bool IsDefined () const
 Return TRUE if navigation keys are pressed even if delta from the previous frame is empty.
 
void SetDefined (bool theIsDefined)
 Set if any navigation key is pressed.
 
bool IsEmpty () const
 Return TRUE when both Rotation and Translation deltas are empty.
 
bool ToMove () const
 Return TRUE if translation delta is defined.
 
bool ToRotate () const
 Return TRUE if rotation delta is defined.
 

Detailed Description

Walking values.

Constructor & Destructor Documentation

◆ AIS_WalkDelta()

AIS_WalkDelta::AIS_WalkDelta ( )
inline

Empty constructor.

Member Function Documentation

◆ IsCrouching()

bool AIS_WalkDelta::IsCrouching ( ) const
inline

Return crouching state.

◆ IsDefined()

bool AIS_WalkDelta::IsDefined ( ) const
inline

Return TRUE if navigation keys are pressed even if delta from the previous frame is empty.

◆ IsEmpty()

bool AIS_WalkDelta::IsEmpty ( ) const
inline

Return TRUE when both Rotation and Translation deltas are empty.

◆ IsJumping()

bool AIS_WalkDelta::IsJumping ( ) const
inline

Return jumping state.

◆ IsRunning()

bool AIS_WalkDelta::IsRunning ( ) const
inline

Return running state.

◆ operator[]() [1/4]

AIS_WalkPart & AIS_WalkDelta::operator[] ( AIS_WalkRotation  thePart)
inline

Return rotation component.

◆ operator[]() [2/4]

const AIS_WalkPart & AIS_WalkDelta::operator[] ( AIS_WalkRotation  thePart) const
inline

Return rotation component.

◆ operator[]() [3/4]

AIS_WalkPart & AIS_WalkDelta::operator[] ( AIS_WalkTranslation  thePart)
inline

Return translation component.

◆ operator[]() [4/4]

const AIS_WalkPart & AIS_WalkDelta::operator[] ( AIS_WalkTranslation  thePart) const
inline

Return translation component.

◆ SetCrouching()

void AIS_WalkDelta::SetCrouching ( bool  theIsCrouching)
inline

Set crouching state.

◆ SetDefined()

void AIS_WalkDelta::SetDefined ( bool  theIsDefined)
inline

Set if any navigation key is pressed.

◆ SetJumping()

void AIS_WalkDelta::SetJumping ( bool  theIsJumping)
inline

Set jumping state.

◆ SetRunning()

void AIS_WalkDelta::SetRunning ( bool  theIsRunning)
inline

Set running state.

◆ ToMove()

bool AIS_WalkDelta::ToMove ( ) const
inline

Return TRUE if translation delta is defined.

◆ ToRotate()

bool AIS_WalkDelta::ToRotate ( ) const
inline

Return TRUE if rotation delta is defined.


The documentation for this struct was generated from the following file: