ALBA
albaInteractor2DMeasure_Segment.h
Go to the documentation of this file.
1/*=========================================================================
2Program: ALBA (Agile Library for Biomedical Applications)
3Module: albaInteractor2DMeasure_Segment.h
4Language: C++
5Date: $Date: 2021-01-01 12:00:00 $
6Version: $Revision: 1.0.0.0 $
7Authors: Nicola Vanella
8==========================================================================
9Copyright (c) BIC-IOR 2021 (https://github.com/IOR-BIC)
10
11This software is distributed WITHOUT ANY WARRANTY; without even
12the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13PURPOSE. See the above copyright notice for more information.
14=========================================================================*/
15
16#ifndef __albaInteractor2DMeasure_Segment_h
17#define __albaInteractor2DMeasure_Segment_h
18
19//----------------------------------------------------------------------------
20// Include :
21//----------------------------------------------------------------------------
24
25//----------------------------------------------------------------------------
26// Forward references :
27//----------------------------------------------------------------------------
28class vtkLineSource;
29class vtkPolyDataMapper2D;
30class vtkActor2D;
31
32// Class Name: albaInteractor2DMeasure_Segment
34{
35public:
36
38
39 // MEASURE
40
42 //virtual void AddMeasure(double *point1, double *point2);
44 virtual void EditMeasure(int index, double *point);
45
46 bool Load(albaVME *input, wxString tag);
47 bool Save(albaVME *input, wxString tag);
48
49protected:
50
53
54private:
56 void operator=(const albaInteractor2DMeasure_Segment&); // Not implemented.
57 friend class albaInteractor2DMeasure_SegmentTest;
58};
59#endif
albaTypeMacro(albaInteractor2DMeasure_Segment, albaInteractor2DMeasure_Distance)
bool Save(albaVME *input, wxString tag)
bool Load(albaVME *input, wxString tag)
LOAD/SAVE.
virtual void EditMeasure(int index, double *point)
Add Measure.
albaVME -
Definition: albaVME.h:150