PeriDyno 1.0.0
Loading...
Searching...
No Matches
vg::virtualGizmo3DClass Class Reference

#include <vGizmo.h>

Inheritance diagram for vg::virtualGizmo3DClass:
Collaboration diagram for vg::virtualGizmo3DClass:

Public Member Functions

 virtualGizmo3DClass ()
 
void mouse (vgButtons button, vgModifiers mod, bool pressed, int x, int y)
 
void mouse (vgButtons button, vgModifiers mod, bool pressed, T x, T y)
 
void wheel (T x, T y)
 
void motion (int x, int y)
 
void motion (T x, T y)
 
void updatePan ()
 
void updateDolly ()
 
void update ()
 
void applyTransform (tMat4 &m)
 
tMat4 getTransform ()
 
void setDollyControl (vgButtons b, vgModifiers m=evNoModifier)
 
void setPanControl (vgButtons b, vgModifiers m=evNoModifier)
 
int getPanControlButton ()
 
int getPanControlModifier ()
 
void setWheelScale (T scale)
 
T getWheelScale ()
 
void setDollyScale (T scale)
 
T getDollyScale ()
 
void setPanScale (T scale)
 
T getPanScale ()
 
void setDollyPosition (T pos)
 
void setDollyPosition (const tVec3 &pos)
 
void setPanPosition (const tVec3 &pos)
 
tVec3getDollyPosition ()
 
tVec3getPanPosition ()
 
tVec3 getPosition () const
 
void setPosition (const tVec3 &p)
 
bool isDollyActive ()
 
bool isPanActive ()
 
void motionImmediateMode (T x, T y, T dx, T dy, vgModifiers mod)
 

Private Attributes

vgButtons dollyControlButton
 
vgButtons panControlButton
 
vgModifiers dollyControlModifiers
 
vgModifiers panControlModifiers
 
bool dollyActive
 
bool panActive
 
tVec3 pan = tVec3(T(0))
 
tVec3 dolly = tVec3(T(0))
 
T dollyScale = T(.01)
 
T panScale = T(.01)
 
T wheelScale = T(5)
 

Detailed Description

Definition at line 339 of file vGizmo.h.

Constructor & Destructor Documentation

◆ virtualGizmo3DClass()

vg::virtualGizmo3DClass::virtualGizmo3DClass ( )
inline

Definition at line 346 of file vGizmo.h.

Member Function Documentation

◆ applyTransform()

void vg::virtualGizmo3DClass::applyTransform ( tMat4 & m)
inline

Definition at line 405 of file vGizmo.h.

◆ getDollyPosition()

tVec3 & vg::virtualGizmo3DClass::getDollyPosition ( )
inline

Definition at line 472 of file vGizmo.h.

◆ getDollyScale()

T vg::virtualGizmo3DClass::getDollyScale ( )
inline

Definition at line 455 of file vGizmo.h.

◆ getPanControlButton()

int vg::virtualGizmo3DClass::getPanControlButton ( )
inline

Definition at line 445 of file vGizmo.h.

◆ getPanControlModifier()

int vg::virtualGizmo3DClass::getPanControlModifier ( )
inline

Definition at line 446 of file vGizmo.h.

◆ getPanPosition()

tVec3 & vg::virtualGizmo3DClass::getPanPosition ( )
inline

Definition at line 476 of file vGizmo.h.

◆ getPanScale()

T vg::virtualGizmo3DClass::getPanScale ( )
inline

Definition at line 459 of file vGizmo.h.

◆ getPosition()

tVec3 vg::virtualGizmo3DClass::getPosition ( ) const
inline

Definition at line 480 of file vGizmo.h.

Here is the caller graph for this function:

◆ getTransform()

tMat4 vg::virtualGizmo3DClass::getTransform ( )
inline

Definition at line 414 of file vGizmo.h.

◆ getWheelScale()

T vg::virtualGizmo3DClass::getWheelScale ( )
inline

Definition at line 451 of file vGizmo.h.

◆ isDollyActive()

bool vg::virtualGizmo3DClass::isDollyActive ( )
inline

Definition at line 483 of file vGizmo.h.

Here is the caller graph for this function:

◆ isPanActive()

bool vg::virtualGizmo3DClass::isPanActive ( )
inline

Definition at line 484 of file vGizmo.h.

Here is the caller graph for this function:

◆ motion() [1/2]

void vg::virtualGizmo3DClass::motion ( int x,
int y )
inline

Definition at line 380 of file vGizmo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ motion() [2/2]

void vg::virtualGizmo3DClass::motion ( T x,
T y )
inline

Definition at line 381 of file vGizmo.h.

◆ motionImmediateMode()

void vg::virtualGizmo3DClass::motionImmediateMode ( T x,
T y,
T dx,
T dy,
vgModifiers mod )
inline

Definition at line 486 of file vGizmo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mouse() [1/2]

void vg::virtualGizmo3DClass::mouse ( vgButtons button,
vgModifiers mod,
bool pressed,
int x,
int y )
inline

Definition at line 350 of file vGizmo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mouse() [2/2]

void vg::virtualGizmo3DClass::mouse ( vgButtons button,
vgModifiers mod,
bool pressed,
T x,
T y )
inline

Definition at line 351 of file vGizmo.h.

◆ setDollyControl()

void vg::virtualGizmo3DClass::setDollyControl ( vgButtons b,
vgModifiers m = evNoModifier )
inline

Definition at line 435 of file vGizmo.h.

Here is the caller graph for this function:

◆ setDollyPosition() [1/2]

void vg::virtualGizmo3DClass::setDollyPosition ( const tVec3 & pos)
inline

Definition at line 464 of file vGizmo.h.

◆ setDollyPosition() [2/2]

void vg::virtualGizmo3DClass::setDollyPosition ( T pos)
inline

Definition at line 463 of file vGizmo.h.

◆ setDollyScale()

void vg::virtualGizmo3DClass::setDollyScale ( T scale)
inline

Definition at line 454 of file vGizmo.h.

Here is the caller graph for this function:

◆ setPanControl()

void vg::virtualGizmo3DClass::setPanControl ( vgButtons b,
vgModifiers m = evNoModifier )
inline

Definition at line 441 of file vGizmo.h.

Here is the caller graph for this function:

◆ setPanPosition()

void vg::virtualGizmo3DClass::setPanPosition ( const tVec3 & pos)
inline

Definition at line 468 of file vGizmo.h.

◆ setPanScale()

void vg::virtualGizmo3DClass::setPanScale ( T scale)
inline

Definition at line 458 of file vGizmo.h.

Here is the caller graph for this function:

◆ setPosition()

void vg::virtualGizmo3DClass::setPosition ( const tVec3 & p)
inline

Definition at line 481 of file vGizmo.h.

Here is the caller graph for this function:

◆ setWheelScale()

void vg::virtualGizmo3DClass::setWheelScale ( T scale)
inline

Definition at line 450 of file vGizmo.h.

◆ update()

void vg::virtualGizmo3DClass::update ( )
inline

Definition at line 398 of file vGizmo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateDolly()

void vg::virtualGizmo3DClass::updateDolly ( )
inline

Definition at line 392 of file vGizmo.h.

Here is the caller graph for this function:

◆ updatePan()

void vg::virtualGizmo3DClass::updatePan ( )
inline

Definition at line 386 of file vGizmo.h.

Here is the caller graph for this function:

◆ wheel()

void vg::virtualGizmo3DClass::wheel ( T x,
T y )
inline

Definition at line 375 of file vGizmo.h.

Here is the caller graph for this function:

Member Data Documentation

◆ dolly

tVec3 vg::virtualGizmo3DClass::dolly = tVec3(T(0))
private

Definition at line 505 of file vGizmo.h.

◆ dollyActive

bool vg::virtualGizmo3DClass::dollyActive
private

Definition at line 501 of file vGizmo.h.

◆ dollyControlButton

vgButtons vg::virtualGizmo3DClass::dollyControlButton
private

Definition at line 497 of file vGizmo.h.

◆ dollyControlModifiers

vgModifiers vg::virtualGizmo3DClass::dollyControlModifiers
private

Definition at line 498 of file vGizmo.h.

◆ dollyScale

T vg::virtualGizmo3DClass::dollyScale = T(.01)
private

Definition at line 507 of file vGizmo.h.

◆ pan

tVec3 vg::virtualGizmo3DClass::pan = tVec3(T(0))
private

Definition at line 504 of file vGizmo.h.

◆ panActive

bool vg::virtualGizmo3DClass::panActive
private

Definition at line 502 of file vGizmo.h.

◆ panControlButton

vgButtons vg::virtualGizmo3DClass::panControlButton
private

Definition at line 497 of file vGizmo.h.

◆ panControlModifiers

vgModifiers vg::virtualGizmo3DClass::panControlModifiers
private

Definition at line 498 of file vGizmo.h.

◆ panScale

T vg::virtualGizmo3DClass::panScale = T(.01)
private

Definition at line 508 of file vGizmo.h.

◆ wheelScale

T vg::virtualGizmo3DClass::wheelScale = T(5)
private

Definition at line 509 of file vGizmo.h.


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