#include <albaGizmoCrossTranslateAxis.h>
Basic gizmo component used to perform constrained translation on one axis.
- See also
- albaGizmoCrossTranslate
Definition at line 46 of file albaGizmoCrossTranslateAxis.h.
◆ AXIS
◆ albaGizmoCrossTranslateAxis()
albaGizmoCrossTranslateAxis::albaGizmoCrossTranslateAxis |
( |
albaVME * |
input, |
|
|
albaObserver * |
listener = NULL |
|
) |
| |
◆ ~albaGizmoCrossTranslateAxis()
virtual albaGizmoCrossTranslateAxis::~albaGizmoCrossTranslateAxis |
( |
| ) |
|
|
virtual |
◆ SetInput()
void albaGizmoCrossTranslateAxis::SetInput |
( |
albaVME * |
vme | ) |
|
|
virtual |
Set the gizmo generating vme; the gizmo will be centered on this vme.
Reimplemented from albaGizmoInterface.
◆ GetInput()
albaVME * albaGizmoCrossTranslateAxis::GetInput |
( |
| ) |
|
|
inline |
◆ SetListener()
void albaGizmoCrossTranslateAxis::SetListener |
( |
albaObserver * |
Listener | ) |
|
|
inline |
◆ OnEvent()
virtual void albaGizmoCrossTranslateAxis::OnEvent |
( |
albaEventBase * |
alba_event | ) |
|
|
virtual |
◆ SetAxis()
void albaGizmoCrossTranslateAxis::SetAxis |
( |
int |
axis | ) |
|
Set/Get gizmo axis, default axis is X.
◆ GetAxis()
int albaGizmoCrossTranslateAxis::GetAxis |
( |
| ) |
|
|
inline |
◆ Highlight()
void albaGizmoCrossTranslateAxis::Highlight |
( |
bool |
highlight | ) |
|
◆ Show()
void albaGizmoCrossTranslateAxis::Show |
( |
bool |
show | ) |
|
|
virtual |
◆ ShowTranslationFeedbackArrows()
void albaGizmoCrossTranslateAxis::ShowTranslationFeedbackArrows |
( |
bool |
show | ) |
|
Show the translation feedback arrows
◆ SetCylinderLength()
void albaGizmoCrossTranslateAxis::SetCylinderLength |
( |
double |
length | ) |
|
Set/Get the length of the cylinder.
◆ GetCylinderLength()
double albaGizmoCrossTranslateAxis::GetCylinderLength |
( |
| ) |
|
|
inline |
◆ SetAbsPose()
void albaGizmoCrossTranslateAxis::SetAbsPose |
( |
albaMatrix * |
absPose | ) |
|
|
virtual |
◆ GetAbsPose()
albaMatrix * albaGizmoCrossTranslateAxis::GetAbsPose |
( |
| ) |
|
|
virtual |
◆ SetConstraintModality()
void albaGizmoCrossTranslateAxis::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 albaGizmoCrossTranslateAxis::SetStep |
( |
int |
axis, |
|
|
double |
step |
|
) |
| |
Set the step value for snap step constraint type for the given axis.
◆ SetColor() [1/2]
void albaGizmoCrossTranslateAxis::SetColor |
( |
double |
col[3] | ) |
|
Gizmo color setting facilities; part can be CYLINDER or CONE.
◆ SetColor() [2/2]
void albaGizmoCrossTranslateAxis::SetColor |
( |
double |
cylR, |
|
|
double |
cylG, |
|
|
double |
cylB |
|
) |
| |
◆ SetRefSysMatrix()
void albaGizmoCrossTranslateAxis::SetRefSysMatrix |
( |
albaMatrix * |
constrain | ) |
|
|
protected |
Set the constrain ref sys.
◆ CreateTranslationGizmoPipeline()
void albaGizmoCrossTranslateAxis::CreateTranslationGizmoPipeline |
( |
| ) |
|
|
protected |
Create vtk objects needed.
◆ CreateISA()
void albaGizmoCrossTranslateAxis::CreateISA |
( |
| ) |
|
|
protected |
◆ CreateFeedbackGizmoPipeline()
void albaGizmoCrossTranslateAxis::CreateFeedbackGizmoPipeline |
( |
| ) |
|
|
protected |
Create translation feedback arrows stuff.
◆ albaGizmoTranslateAxisTest
friend class albaGizmoTranslateAxisTest |
|
friend |
◆ m_TranslationCylinderGizmo
albaVMEGizmo* albaGizmoCrossTranslateAxis::m_TranslationCylinderGizmo |
|
protected |
◆ m_Color
double albaGizmoCrossTranslateAxis::m_Color[3] |
|
protected |
◆ m_LastColor
double albaGizmoCrossTranslateAxis::m_LastColor[3] |
|
protected |
◆ m_TranslationFeedbackGizmo
albaVMEGizmo* albaGizmoCrossTranslateAxis::m_TranslationFeedbackGizmo |
|
protected |
◆ m_FeedbackConeSource
vtkConeSource* albaGizmoCrossTranslateAxis::m_FeedbackConeSource |
|
protected |
◆ m_LeftUpFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslateAxis::m_LeftUpFeedbackConeTransform |
|
protected |
◆ m_LeftDownFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslateAxis::m_LeftDownFeedbackConeTransform |
|
protected |
◆ m_RightDownFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslateAxis::m_RightDownFeedbackConeTransform |
|
protected |
◆ m_RightUpFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslateAxis::m_RightUpFeedbackConeTransform |
|
protected |
◆ m_FeedbackCylinderSource
vtkCylinderSource* albaGizmoCrossTranslateAxis::m_FeedbackCylinderSource |
|
protected |
◆ m_LeftFeedbackCylinderTransform
vtkTransform* albaGizmoCrossTranslateAxis::m_LeftFeedbackCylinderTransform |
|
protected |
◆ m_RightFeedbackCylinderTransform
vtkTransform* albaGizmoCrossTranslateAxis::m_RightFeedbackCylinderTransform |
|
protected |
◆ m_LeftUpFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_LeftUpFeedbackConeTransformPDF |
|
protected |
◆ m_LeftDownFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_LeftDownFeedbackConeTransformPDF |
|
protected |
◆ m_RightUpFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_RightUpFeedbackConeTransformPDF |
|
protected |
◆ m_RightDownFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_RightDownFeedbackConeTransformPDF |
|
protected |
◆ m_LeftFeedbackCylinderTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_LeftFeedbackCylinderTransformPDF |
|
protected |
◆ m_RightFeedbackCylinderTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_RightFeedbackCylinderTransformPDF |
|
protected |
◆ m_FeedbackStuffAppendPolydata
vtkAppendPolyData* albaGizmoCrossTranslateAxis::m_FeedbackStuffAppendPolydata |
|
protected |
◆ m_InputVme
albaVME* albaGizmoCrossTranslateAxis::m_InputVme |
|
protected |
◆ m_Axis
int albaGizmoCrossTranslateAxis::m_Axis |
|
protected |
◆ m_RightCylinder
vtkCylinderSource* albaGizmoCrossTranslateAxis::m_RightCylinder |
|
protected |
◆ m_CylinderLength
double albaGizmoCrossTranslateAxis::m_CylinderLength |
|
protected |
◆ m_RightTranslatePDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_RightTranslatePDF |
|
protected |
◆ m_RightTranslateTr
vtkTransform* albaGizmoCrossTranslateAxis::m_RightTranslateTr |
|
protected |
◆ m_RightCylinderRotatePDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_RightCylinderRotatePDF |
|
protected |
◆ m_RightCylinderRotationTr
vtkTransform* albaGizmoCrossTranslateAxis::m_RightCylinderRotationTr |
|
protected |
◆ m_LeftCylinder
vtkCylinderSource* albaGizmoCrossTranslateAxis::m_LeftCylinder |
|
protected |
◆ m_LeftTranslatePDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_LeftTranslatePDF |
|
protected |
◆ m_LeftTranslateTr
vtkTransform* albaGizmoCrossTranslateAxis::m_LeftTranslateTr |
|
protected |
◆ m_LeftCylinderRotatePDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslateAxis::m_LeftCylinderRotatePDF |
|
protected |
◆ m_LeftCylinderRotationTr
vtkTransform* albaGizmoCrossTranslateAxis::m_LeftCylinderRotationTr |
|
protected |
◆ m_Append
vtkAppendPolyData* albaGizmoCrossTranslateAxis::m_Append |
|
protected |
◆ m_IsaComp
◆ m_IsaGen
◆ m_Listener
The documentation for this class was generated from the following file: