16#ifndef __albaInteractor2DMeasure_LineDistance_h
17#define __albaInteractor2DMeasure_LineDistance_h
28class vtkPolyDataMapper2D;
51 virtual void Show(
bool show);
103 friend class albaInteractor2DMeasure_LineDistanceTest;
void MoveMeasure(int index, double *point)
Move Measure.
virtual void UpdatePointsActor(double *point1, double *point2)
virtual void EditMeasure(int index, double *point)
Edit Measure.
void SetLineStipplePattern(int lp)
std::vector< albaActor2dStackHelper * > m_LineStackVector
virtual void UpdateLineActors(double *point1, double *point2)
albaInteractor2DMeasure_LineDistance()
virtual void FindAndHighlight(double *point)
Find Measure Point and Set Action.
albaTypeMacro(albaInteractor2DMeasure_LineDistance, albaInteractor2DMeasure)
bool Save(albaVME *input, wxString tag)
std::vector< albaActor2dStackHelper * > m_PointsStackVectorR
bool Load(albaVME *input, wxString tag)
LOAD/SAVE.
virtual void Show(bool show)
std::vector< bool > m_SecondLineAdded
void SetLineExtensionLength(double length)
virtual void RemoveMeasure(int index)
Delete the Measure.
virtual void SetLineWidth(double width)
double GetDistance(int idx)
double m_LineExtensionLength
virtual void SelectMeasure(int index)
Select a Measure.
virtual void AddMeasure(double *point1, double *point2)
Add Measure.
std::vector< albaActor2dStackHelper * > m_PointsStackVectorL
virtual ~albaInteractor2DMeasure_LineDistance()
std::vector< albaActor2dStackHelper * > m_LineStackVectorB
std::vector< albaActor2dStackHelper * > m_LineStackVectorPerp
virtual void SetPointSize(double size)
std::vector< double > m_Distances
void GetMeasureLinePoints(int index, double *point1, double *point2)
Get measure line extremity points.
void UpdateTextActor(double *point1, double *point2)
void DrawNewMeasure(double *wp)
Draw New Measure.
void UpdateMeasure(int index, double measure)