Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkSlicerCurveWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Copyright (c) ProxSim ltd., Kwun Tong, Hong Kong. All Rights Reserved.
4
5 See COPYRIGHT.txt
6 or http://www.slicer.org/copyright/copyright.txt for details.
7
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 See the License for the specific language governing permissions and
12 limitations under the License.
13
14 This file was originally developed by Davide Punzo, punzodavide@hotmail.it,
15 and development was supported by ProxSim ltd.
16
17=========================================================================*/
18
26
27#ifndef vtkSlicerCurveWidget_h
28#define vtkSlicerCurveWidget_h
29
30#include "vtkSlicerMarkupsModuleVTKWidgetsExport.h"
32
33class vtkPolyData;
34class vtkIdList;
36
37class VTK_SLICER_MARKUPS_MODULE_VTKWIDGETS_EXPORT vtkSlicerCurveWidget : public vtkSlicerMarkupsWidget
38{
39public:
42
45
47 void CreateDefaultRepresentation(vtkMRMLMarkupsDisplayNode* markupsDisplayNode, vtkMRMLAbstractViewNode* viewNode, vtkRenderer* renderer) override;
48
51
52protected:
55
57
59
60private:
62 void operator=(const vtkSlicerCurveWidget&) = delete;
63};
64
65#endif
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
MRML node to represent a curve markup Curve Markups nodes contain N control points....
vtkMRMLMarkupsCurveNode * GetMarkupsCurveNode()
bool ProcessControlPointInsert(vtkMRMLInteractionEventData *eventData) override
vtkSlicerMarkupsWidgetCreateInstanceMacro(vtkSlicerCurveWidget)
Create instance of the markups widget.
static vtkSlicerCurveWidget * New()
Instantiate this class.
void CreateDefaultRepresentation(vtkMRMLMarkupsDisplayNode *markupsDisplayNode, vtkMRMLAbstractViewNode *viewNode, vtkRenderer *renderer) override
Create the default widget representation and initializes the widget and representation.
~vtkSlicerCurveWidget() override