16#ifndef __albaInteractor2DMeasure_AngleLine_h
17#define __albaInteractor2DMeasure_AngleLine_h
28class vtkPolyDataMapper2D;
40 virtual void AddMeasure(
double *point1,
double *point2,
double *point3,
double * point4);
51 virtual void Show(
bool show);
64 double CalculateAngle(
double * point1,
double * point2,
double * point3,
double * point4);
77 virtual void UpdateLineActors(
double * point1,
double * point2,
double * point3,
double * point4);
78 virtual void UpdatePointsActor(
double * point1,
double * point2,
double * point3,
double * point4);
107 double m_OldLineP3[3];
108 double m_OldLineP4[3];
117 friend class albaInteractor2DMeasure_AngleLineTest;
std::vector< bool > m_SecondLineP1Added
virtual void RemoveMeasure(int index)
Delete the Measure.
void GetCenter(int index, double *center)
virtual void SetPointSize(double size)
virtual void UpdateLineActors(double *point1, double *point2, double *point3, double *point4)
void SetLineStipplePattern(int lp)
std::vector< double > m_Angles
double m_LineExtensionLength
virtual void SelectMeasure(int index)
Select a Measure.
albaTypeMacro(albaInteractor2DMeasure_AngleLine, albaInteractor2DMeasure)
virtual ~albaInteractor2DMeasure_AngleLine()
double GetMeasureAngle(int idx)
void GetMeasureLinePoints(int index, double *point1, double *point2, double *point3, double *point4)
Get measure line extremity points.
albaInteractor2DMeasure_AngleLine()
virtual void FindAndHighlight(double *point)
Find Measure Point and Set Action.
void DrawNewMeasure(double *wp)
Draw New Measure.
virtual void UpdatePointsActor(double *point1, double *point2, double *point3, double *point4)
void SetLineExtensionLength(double length)
bool Save(albaVME *input, wxString tag)
double CalculateAngle(double *point1, double *point2, double *point3, double *point4)
virtual void SetLineWidth(double width)
void UpdateTextActor(double *point1, double *point2)
std::vector< albaActor2dStackHelper * > m_PointsStackVectorB
std::vector< albaActor2dStackHelper * > m_CircleStackVector
bool Load(albaVME *input, wxString tag)
LOAD/SAVE.
std::vector< albaActor2dStackHelper * > m_PointsStackVectorC
std::vector< albaActor2dStackHelper * > m_PointsStackVectorA
std::vector< bool > m_SecondLineP2Added
virtual void Show(bool show)
void UpdateCircleActor(double *point, double angle, double radius)
virtual void AddMeasure(double *point1, double *point2, double *point3, double *point4)
Add Measure.
std::vector< albaActor2dStackHelper * > m_LineStackVectorAB
virtual void EditMeasure(int index, double *point)
Edit Measure.
void UpdateMeasure(int index, double measure)
void MoveMeasure(int index, double *point)
Move Measure.
std::vector< albaActor2dStackHelper * > m_PointsStackVectorD
std::vector< albaActor2dStackHelper * > m_LineStackVectorCD