Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Modules
Loadable
Markups
VTKWidgets
vtkSlicerPointsWidget.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
27
#ifndef vtkSlicerPointsWidget_h
28
#define vtkSlicerPointsWidget_h
29
30
#include "vtkSlicerMarkupsModuleVTKWidgetsExport.h"
31
#include "
vtkSlicerMarkupsWidget.h
"
32
33
class
vtkPolyData;
34
class
vtkIdList;
35
36
class
VTK_SLICER_MARKUPS_MODULE_VTKWIDGETS_EXPORT
vtkSlicerPointsWidget
:
public
vtkSlicerMarkupsWidget
37
{
38
public
:
40
static
vtkSlicerPointsWidget
*New();
41
43
vtkTypeMacro(
vtkSlicerPointsWidget
,
vtkSlicerMarkupsWidget
);
44
46
void
CreateDefaultRepresentation
(
vtkMRMLMarkupsDisplayNode
* markupsDisplayNode,
vtkMRMLAbstractViewNode
* viewNode, vtkRenderer* renderer)
override
;
47
49
vtkSlicerMarkupsWidgetCreateInstanceMacro
(
vtkSlicerPointsWidget
);
50
51
protected
:
52
vtkSlicerPointsWidget
();
53
~
vtkSlicerPointsWidget
()
override
;
54
55
private
:
56
vtkSlicerPointsWidget
(
const
vtkSlicerPointsWidget
&) =
delete
;
57
void
operator=(
const
vtkSlicerPointsWidget
&) =
delete
;
58
};
59
60
#endif
vtkMRMLMarkupsDisplayNode
Definition:
vtkMRMLMarkupsDisplayNode.h:45
vtkSlicerPointsWidget
Widget to display a set of interactive points.
Definition:
vtkSlicerPointsWidget.h:36
vtkSlicerMarkupsWidgetCreateInstanceMacro
#define vtkSlicerMarkupsWidgetCreateInstanceMacro(type)
Definition:
vtkSlicerMarkupsWidget.h:213
vtkMRMLAbstractViewNode
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
Definition:
vtkMRMLAbstractViewNode.h:38
vtkSlicerMarkupsWidget.h
vtkSlicerMarkupsWidget
Process interaction events to update state of markup widget nodes.
Definition:
vtkSlicerMarkupsWidget.h:45
vtkSlicerMarkupsWidget::CreateDefaultRepresentation
virtual void CreateDefaultRepresentation(vtkMRMLMarkupsDisplayNode *markupsDisplayNode, vtkMRMLAbstractViewNode *viewNode, vtkRenderer *renderer)=0
Create the default widget representation and initializes the widget and representation.
Generated on Fri Jul 8 2022 05:39:17 for Slicer by
1.8.14