Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Modules
Loadable
Markups
MRMLDM
vtkMRMLMarkupsClickCounter.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Program: 3D Slicer
4
5
Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
6
7
See COPYRIGHT.txt
8
or http://www.slicer.org/copyright/copyright.txt for details.
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
16
==============================================================================*/
17
18
#ifndef VTKMRMLMARKUPSCLICKCOUNTER_H_
19
#define VTKMRMLMARKUPSCLICKCOUNTER_H_
20
21
// MarkupsModule includes
22
#include "vtkSlicerMarkupsModuleMRMLDisplayableManagerExport.h"
23
24
// VTK include
25
#include <vtkObject.h>
26
28
class
VTK_SLICER_MARKUPS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT
vtkMRMLMarkupsClickCounter
:
29
public
vtkObject
30
{
31
public
:
32
33
static
vtkMRMLMarkupsClickCounter
*New();
34
vtkTypeMacro(
vtkMRMLMarkupsClickCounter
, vtkObject);
35
void
PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36
38
bool
HasEnoughClicks(
int
clicks);
39
41
void
Reset();
42
43
protected
:
44
45
vtkMRMLMarkupsClickCounter
();
46
virtual
~
vtkMRMLMarkupsClickCounter
();
47
48
private
:
49
50
vtkMRMLMarkupsClickCounter
(
const
vtkMRMLMarkupsClickCounter
&);
51
void
operator=(
const
vtkMRMLMarkupsClickCounter
&);
52
53
int
m_Clicks;
54
55
};
56
57
#endif
/* VTKMRMLMARKUPSCLICKCOUNTER_H_ */
vtkMRMLMarkupsClickCounter
Definition:
vtkMRMLMarkupsClickCounter.h:28
Generated on Wed Dec 20 2017 04:49:09 for Slicer by
1.8.13