#include <albaGizmoCrossTranslatePlane.h>
Basic gizmo component used to perform constrained translation on a plane.
- See also
- albaGizmoTranslate
Definition at line 61 of file albaGizmoCrossTranslatePlane.h.
◆ PLANE
◆ GIZMOPARTS
z z y ^ ^ ^
----—> y ----—>x ----—> x
YZ XZ XY
z ^ S2 |--— | |
| SQ |S1
| |
-----—> y
Enumerator |
---|
S0 | |
S1 | |
NUM_GIZMO_PARTS | |
Definition at line 158 of file albaGizmoCrossTranslatePlane.h.
◆ GIZMO_STATUS
◆ albaGizmoCrossTranslatePlane()
albaGizmoCrossTranslatePlane::albaGizmoCrossTranslatePlane |
( |
albaVME * |
input, |
|
|
albaObserver * |
listener = NULL |
|
) |
| |
◆ ~albaGizmoCrossTranslatePlane()
virtual albaGizmoCrossTranslatePlane::~albaGizmoCrossTranslatePlane |
( |
| ) |
|
|
virtual |
◆ SetInput()
void albaGizmoCrossTranslatePlane::SetInput |
( |
albaVME * |
vme | ) |
|
|
virtual |
Set the gizmo generating vme; the gizmo will be centered on this vme.
Reimplemented from albaGizmoInterface.
◆ GetInput()
albaVME * albaGizmoCrossTranslatePlane::GetInput |
( |
| ) |
|
|
inline |
◆ SetListener()
void albaGizmoCrossTranslatePlane::SetListener |
( |
albaObserver * |
Listener | ) |
|
|
inline |
◆ OnEvent()
virtual void albaGizmoCrossTranslatePlane::OnEvent |
( |
albaEventBase * |
alba_event | ) |
|
|
virtual |
◆ SetPlane()
void albaGizmoCrossTranslatePlane::SetPlane |
( |
int |
axis | ) |
|
Set/Get gizmo plane, default plane is X_NORMAL.
◆ GetPlane()
int albaGizmoCrossTranslatePlane::GetPlane |
( |
| ) |
|
|
inline |
◆ Highlight()
void albaGizmoCrossTranslatePlane::Highlight |
( |
bool |
highlight | ) |
|
◆ Show()
void albaGizmoCrossTranslatePlane::Show |
( |
bool |
show | ) |
|
|
virtual |
◆ ShowTranslationFeedbackArrows()
void albaGizmoCrossTranslatePlane::ShowTranslationFeedbackArrows |
( |
bool |
show | ) |
|
Show the translation feedback arrows
◆ SetIsActive()
void albaGizmoCrossTranslatePlane::SetIsActive |
( |
bool |
highlight | ) |
|
|
inline |
◆ GetIsActive()
bool albaGizmoCrossTranslatePlane::GetIsActive |
( |
| ) |
|
|
inline |
◆ SetAbsPose()
void albaGizmoCrossTranslatePlane::SetAbsPose |
( |
albaMatrix * |
absPose | ) |
|
|
virtual |
◆ GetAbsPose()
albaMatrix * albaGizmoCrossTranslatePlane::GetAbsPose |
( |
| ) |
|
|
virtual |
◆ SetConstrainRefSys()
void albaGizmoCrossTranslatePlane::SetConstrainRefSys |
( |
albaMatrix * |
constrain | ) |
|
Set the constrain ref sys.
◆ SetConstraintModality()
void albaGizmoCrossTranslatePlane::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 albaGizmoCrossTranslatePlane::SetStep |
( |
int |
axis, |
|
|
double |
step |
|
) |
| |
Set the step value for snap step constraint type for the given axis.
◆ SetColor() [1/2]
void albaGizmoCrossTranslatePlane::SetColor |
( |
int |
part, |
|
|
double |
col[3] |
|
) |
| |
Gizmo color setting facilities for gizmo segments;.
◆ SetColor() [2/2]
void albaGizmoCrossTranslatePlane::SetColor |
( |
int |
part, |
|
|
double |
colR, |
|
|
double |
colG, |
|
|
double |
colB |
|
) |
| |
◆ SetSizeLength()
void albaGizmoCrossTranslatePlane::SetSizeLength |
( |
double |
length | ) |
|
|
protected |
Set/Get the side length of the gizmo.
◆ GetSizeLength()
double albaGizmoCrossTranslatePlane::GetSizeLength |
( |
| ) |
|
|
inlineprotected |
◆ CreatePipeline()
void albaGizmoCrossTranslatePlane::CreatePipeline |
( |
| ) |
|
|
protected |
Create vtk objects needed.
◆ CreateFeedbackGizmoPipeline()
void albaGizmoCrossTranslatePlane::CreateFeedbackGizmoPipeline |
( |
| ) |
|
|
protected |
Create feedback gizmo vtk objects.
◆ CreateISA()
void albaGizmoCrossTranslatePlane::CreateISA |
( |
| ) |
|
|
protected |
◆ albaGizmoTranslatePlaneTest
friend class albaGizmoTranslatePlaneTest |
|
friend |
◆ m_Color
double albaGizmoCrossTranslatePlane::m_Color[3][2] |
|
protected |
◆ m_LastColor
double albaGizmoCrossTranslatePlane::m_LastColor[3][2] |
|
protected |
◆ m_Gizmo
albaVMEGizmo* albaGizmoCrossTranslatePlane::m_Gizmo[3] |
|
protected |
◆ m_InputVme
albaVME* albaGizmoCrossTranslatePlane::m_InputVme |
|
protected |
◆ m_ActivePlane
int albaGizmoCrossTranslatePlane::m_ActivePlane |
|
protected |
◆ m_Length
double albaGizmoCrossTranslatePlane::m_Length |
|
protected |
◆ m_Line
vtkLineSource* albaGizmoCrossTranslatePlane::m_Line[2] |
|
protected |
◆ m_LineTF
vtkTubeFilter* albaGizmoCrossTranslatePlane::m_LineTF[2] |
|
protected |
◆ m_RotatePDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_RotatePDF[3] |
|
protected |
◆ m_RotationTr
vtkTransform* albaGizmoCrossTranslatePlane::m_RotationTr |
|
protected |
◆ m_IsaComp
◆ m_IsaGen
◆ m_PivotTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_PivotTransform |
|
protected |
◆ m_Listener
◆ m_IsActive
bool albaGizmoCrossTranslatePlane::m_IsActive |
|
protected |
◆ m_TranslationFeedbackGizmo
albaVMEGizmo* albaGizmoCrossTranslatePlane::m_TranslationFeedbackGizmo |
|
protected |
◆ m_FeedbackConeSource
vtkConeSource* albaGizmoCrossTranslatePlane::m_FeedbackConeSource |
|
protected |
◆ m_LeftFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_LeftFeedbackConeTransform |
|
protected |
◆ m_RightFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_RightFeedbackConeTransform |
|
protected |
◆ m_UpFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_UpFeedbackConeTransform |
|
protected |
◆ m_DownFeedbackConeTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_DownFeedbackConeTransform |
|
protected |
◆ m_LeftFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_LeftFeedbackConeTransformPDF |
|
protected |
◆ m_RightFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_RightFeedbackConeTransformPDF |
|
protected |
◆ m_UpFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_UpFeedbackConeTransformPDF |
|
protected |
◆ m_DownFeedbackConeTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_DownFeedbackConeTransformPDF |
|
protected |
◆ m_FeedbackCylinderSource
vtkCylinderSource* albaGizmoCrossTranslatePlane::m_FeedbackCylinderSource |
|
protected |
◆ m_HorizontalFeedbackCylinderTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_HorizontalFeedbackCylinderTransform |
|
protected |
◆ m_VerticalFeedbackCylinderTransform
vtkTransform* albaGizmoCrossTranslatePlane::m_VerticalFeedbackCylinderTransform |
|
protected |
◆ m_VerticalFeedbackCylinderTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_VerticalFeedbackCylinderTransformPDF |
|
protected |
◆ m_HorizontalFeedbackCylinderTransformPDF
vtkTransformPolyDataFilter* albaGizmoCrossTranslatePlane::m_HorizontalFeedbackCylinderTransformPDF |
|
protected |
◆ m_FeedbackStuffAppendPolydata
vtkAppendPolyData* albaGizmoCrossTranslatePlane::m_FeedbackStuffAppendPolydata |
|
protected |
The documentation for this class was generated from the following file: