#include <albaGizmoTranslateAxis.h>
|
void | SetRefSysMatrix (albaMatrix *constrain) |
|
void | CreatePipeline () |
|
void | CreateISA () |
|
void | SetColor (int part, double col[3]) |
|
void | SetColor (int part, double colR, double colG, double colB) |
|
void | SetColor (double cylCol[3], double coneCol[3]) |
|
void | SetColor (double cylR, double cylG, double cylB, double coneR, double coneG, double coneB) |
|
| albaGizmoInterface () |
|
virtual | ~albaGizmoInterface () |
|
void | SendTransformMatrix (albaMatrix *matrix, int eventId, long arg) |
|
virtual void | OnEventGizmoGui (albaEventBase *alba_event) |
|
virtual void | OnEventGizmoComponents (albaEventBase *alba_event) |
|
Basic gizmo component used to perform constrained translation on one axis.
- See also
- albaGizmoTranslate
Definition at line 43 of file albaGizmoTranslateAxis.h.
◆ AXIS
◆ GIZMOPARTS
◆ albaGizmoTranslateAxis()
◆ ~albaGizmoTranslateAxis()
virtual albaGizmoTranslateAxis::~albaGizmoTranslateAxis |
( |
| ) |
|
|
virtual |
◆ SetInput()
void albaGizmoTranslateAxis::SetInput |
( |
albaVME * |
vme | ) |
|
|
virtual |
Set the gizmo generating vme; the gizmo will be centered on this vme.
Reimplemented from albaGizmoInterface.
◆ GetInput()
albaVME * albaGizmoTranslateAxis::GetInput |
( |
| ) |
|
|
inline |
◆ SetListener()
void albaGizmoTranslateAxis::SetListener |
( |
albaObserver * |
Listener | ) |
|
|
inline |
◆ OnEvent()
virtual void albaGizmoTranslateAxis::OnEvent |
( |
albaEventBase * |
alba_event | ) |
|
|
virtual |
◆ SetAxis()
void albaGizmoTranslateAxis::SetAxis |
( |
int |
axis | ) |
|
Set/Get gizmo axis, default axis is X.
◆ GetAxis()
int albaGizmoTranslateAxis::GetAxis |
( |
| ) |
|
|
inline |
◆ Highlight()
void albaGizmoTranslateAxis::Highlight |
( |
bool |
highlight | ) |
|
◆ Show()
void albaGizmoTranslateAxis::Show |
( |
bool |
show | ) |
|
|
virtual |
◆ SetConeLength()
void albaGizmoTranslateAxis::SetConeLength |
( |
double |
length | ) |
|
Set/Get the length of the cone.
◆ GetConeLength()
double albaGizmoTranslateAxis::GetConeLength |
( |
| ) |
|
|
inline |
◆ SetCylinderLength()
void albaGizmoTranslateAxis::SetCylinderLength |
( |
double |
length | ) |
|
Set/Get the length of the cylinder.
◆ GetCylinderLength()
double albaGizmoTranslateAxis::GetCylinderLength |
( |
| ) |
|
|
inline |
◆ SetAbsPose()
void albaGizmoTranslateAxis::SetAbsPose |
( |
albaMatrix * |
absPose | ) |
|
|
virtual |
◆ GetAbsPose()
albaMatrix * albaGizmoTranslateAxis::GetAbsPose |
( |
| ) |
|
|
virtual |
◆ SetConstraintModality()
void albaGizmoTranslateAxis::SetConstraintModality |
( |
int |
axis, |
|
|
int |
constrainModality |
|
) |
| |
Set the constraint modality for the given axis; allowed constraint modality are: LOCK, FREE, BOUNDS, SNAP_STEP, SNAP_ARRAY.
◆ SetStep()
void albaGizmoTranslateAxis::SetStep |
( |
int |
axis, |
|
|
double |
step |
|
) |
| |
Set the step value for snap step constraint type for the given axis.
◆ SetRefSysMatrix()
void albaGizmoTranslateAxis::SetRefSysMatrix |
( |
albaMatrix * |
constrain | ) |
|
|
protected |
Set the constrain ref sys.
◆ CreatePipeline()
void albaGizmoTranslateAxis::CreatePipeline |
( |
| ) |
|
|
protected |
Create vtk objects needed.
◆ CreateISA()
void albaGizmoTranslateAxis::CreateISA |
( |
| ) |
|
|
protected |
◆ SetColor() [1/4]
void albaGizmoTranslateAxis::SetColor |
( |
int |
part, |
|
|
double |
col[3] |
|
) |
| |
|
protected |
Gizmo color setting facilities; part can be CYLINDER or CONE.
◆ SetColor() [2/4]
void albaGizmoTranslateAxis::SetColor |
( |
int |
part, |
|
|
double |
colR, |
|
|
double |
colG, |
|
|
double |
colB |
|
) |
| |
|
protected |
◆ SetColor() [3/4]
void albaGizmoTranslateAxis::SetColor |
( |
double |
cylCol[3], |
|
|
double |
coneCol[3] |
|
) |
| |
|
protected |
◆ SetColor() [4/4]
void albaGizmoTranslateAxis::SetColor |
( |
double |
cylR, |
|
|
double |
cylG, |
|
|
double |
cylB, |
|
|
double |
coneR, |
|
|
double |
coneG, |
|
|
double |
coneB |
|
) |
| |
|
protected |
◆ albaGizmoTranslateAxisTest
friend class albaGizmoTranslateAxisTest |
|
friend |
◆ m_ConeGizmo
albaVMEGizmo* albaGizmoTranslateAxis::m_ConeGizmo |
|
protected |
◆ m_CylGizmo
albaVMEGizmo* albaGizmoTranslateAxis::m_CylGizmo |
|
protected |
◆ m_InputVme
albaVME* albaGizmoTranslateAxis::m_InputVme |
|
protected |
◆ m_Axis
int albaGizmoTranslateAxis::m_Axis |
|
protected |
◆ m_Cone
vtkConeSource* albaGizmoTranslateAxis::m_Cone |
|
protected |
◆ m_ConeLength
double albaGizmoTranslateAxis::m_ConeLength |
|
protected |
◆ m_Cylinder
vtkCylinderSource* albaGizmoTranslateAxis::m_Cylinder |
|
protected |
◆ m_CylinderLength
double albaGizmoTranslateAxis::m_CylinderLength |
|
protected |
◆ m_TranslatePDF
vtkTransformPolyDataFilter* albaGizmoTranslateAxis::m_TranslatePDF[2] |
|
protected |
◆ m_TranslateTr
vtkTransform* albaGizmoTranslateAxis::m_TranslateTr[2] |
|
protected |
◆ m_RotatePDF
vtkTransformPolyDataFilter* albaGizmoTranslateAxis::m_RotatePDF[2] |
|
protected |
◆ m_RotationTr
vtkTransform* albaGizmoTranslateAxis::m_RotationTr |
|
protected |
◆ m_IsaComp
◆ m_IsaGen
◆ m_Listener
The documentation for this class was generated from the following file: