#include <albaGizmoTranslatePlane.h>
Basic gizmo component used to perform constrained translation on a plane.
- See also
- albaGizmoTranslate
Definition at line 45 of file albaGizmoTranslatePlane.h.
◆ PLANE
◆ GIZMOPARTS
z z y ^ ^ ^
----—> y ----—>x ----—> x
YZ XZ XY
z ^ S2 |--— | |
| SQ |S1
| |
-----—> y
Definition at line 152 of file albaGizmoTranslatePlane.h.
◆ GIZMO_STATUS
◆ albaGizmoTranslatePlane()
albaGizmoTranslatePlane::albaGizmoTranslatePlane |
( |
albaVME * |
input, |
|
|
albaObserver * |
listener = NULL |
|
) |
| |
◆ ~albaGizmoTranslatePlane()
virtual albaGizmoTranslatePlane::~albaGizmoTranslatePlane |
( |
| ) |
|
|
virtual |
◆ SetInput()
void albaGizmoTranslatePlane::SetInput |
( |
albaVME * |
vme | ) |
|
|
virtual |
Set the gizmo generating vme; the gizmo will be centered on this vme.
Reimplemented from albaGizmoInterface.
◆ GetInput()
albaVME * albaGizmoTranslatePlane::GetInput |
( |
| ) |
|
|
inline |
◆ SetListener()
void albaGizmoTranslatePlane::SetListener |
( |
albaObserver * |
Listener | ) |
|
|
inline |
◆ OnEvent()
virtual void albaGizmoTranslatePlane::OnEvent |
( |
albaEventBase * |
alba_event | ) |
|
|
virtual |
◆ SetPlane()
void albaGizmoTranslatePlane::SetPlane |
( |
int |
axis | ) |
|
Set/Get gizmo plane, default plane is YZ.
◆ GetPlane()
int albaGizmoTranslatePlane::GetPlane |
( |
| ) |
|
|
inline |
◆ Highlight()
void albaGizmoTranslatePlane::Highlight |
( |
bool |
highlight | ) |
|
◆ Show()
void albaGizmoTranslatePlane::Show |
( |
bool |
show | ) |
|
|
virtual |
◆ SetSizeLength()
void albaGizmoTranslatePlane::SetSizeLength |
( |
double |
length | ) |
|
Set/Get the side length of the gizmo.
◆ GetSizeLength()
double albaGizmoTranslatePlane::GetSizeLength |
( |
| ) |
|
|
inline |
◆ SetIsActive()
void albaGizmoTranslatePlane::SetIsActive |
( |
bool |
highlight | ) |
|
|
inline |
Set/Get the activation status of the gizmo, When the gizmo is active it is sending pose matrices to the listener.
Definition at line 105 of file albaGizmoTranslatePlane.h.
◆ GetIsActive()
bool albaGizmoTranslatePlane::GetIsActive |
( |
| ) |
|
|
inline |
◆ SetAbsPose()
void albaGizmoTranslatePlane::SetAbsPose |
( |
albaMatrix * |
absPose | ) |
|
|
virtual |
◆ GetAbsPose()
albaMatrix * albaGizmoTranslatePlane::GetAbsPose |
( |
| ) |
|
|
virtual |
◆ SetConstrainRefSys()
void albaGizmoTranslatePlane::SetConstrainRefSys |
( |
albaMatrix * |
constrain | ) |
|
Set the constrain ref sys.
◆ SetConstraintModality()
void albaGizmoTranslatePlane::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 albaGizmoTranslatePlane::SetStep |
( |
int |
axis, |
|
|
double |
step |
|
) |
| |
Set the step value for snap step constraint type for the given axis.
◆ CreatePipeline()
void albaGizmoTranslatePlane::CreatePipeline |
( |
| ) |
|
|
protected |
Create vtk objects needed.
◆ CreateISA()
void albaGizmoTranslatePlane::CreateISA |
( |
| ) |
|
|
protected |
◆ SetColor() [1/2]
void albaGizmoTranslatePlane::SetColor |
( |
int |
part, |
|
|
double |
col[3] |
|
) |
| |
|
protected |
Gizmo color setting facilities for gizmo segments;.
◆ SetColor() [2/2]
void albaGizmoTranslatePlane::SetColor |
( |
int |
part, |
|
|
double |
colR, |
|
|
double |
colG, |
|
|
double |
colB |
|
) |
| |
|
protected |
◆ ShowSquare()
void albaGizmoTranslatePlane::ShowSquare |
( |
bool |
show | ) |
|
|
protected |
◆ albaGizmoTranslatePlaneTest
friend class albaGizmoTranslatePlaneTest |
|
friend |
◆ m_Gizmo
albaVMEGizmo* albaGizmoTranslatePlane::m_Gizmo[3] |
|
protected |
◆ m_InputVme
albaVME* albaGizmoTranslatePlane::m_InputVme |
|
protected |
◆ m_ActivePlane
int albaGizmoTranslatePlane::m_ActivePlane |
|
protected |
◆ m_Length
double albaGizmoTranslatePlane::m_Length |
|
protected |
◆ m_Line
vtkLineSource* albaGizmoTranslatePlane::m_Line[2] |
|
protected |
◆ m_LineTF
vtkTubeFilter* albaGizmoTranslatePlane::m_LineTF[2] |
|
protected |
◆ m_Plane
vtkPlaneSource* albaGizmoTranslatePlane::m_Plane |
|
protected |
◆ m_RotatePDF
vtkTransformPolyDataFilter* albaGizmoTranslatePlane::m_RotatePDF[3] |
|
protected |
◆ m_RotationTr
vtkTransform* albaGizmoTranslatePlane::m_RotationTr |
|
protected |
◆ m_IsaComp
◆ m_IsaGen
◆ m_PivotTransform
vtkTransform* albaGizmoTranslatePlane::m_PivotTransform |
|
protected |
◆ m_Listener
◆ m_IsActive
bool albaGizmoTranslatePlane::m_IsActive |
|
protected |
The documentation for this class was generated from the following file: