Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkMRMLAnnotationClickCounter Class Reference

#include <Modules/Loadable/Annotations/MRMLDM/vtkMRMLAnnotationClickCounter.h>

Inheritance diagram for vtkMRMLAnnotationClickCounter:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLAnnotationClickCounter:
Collaboration graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

int Click ()
 
virtual const char * GetClassName ()
 
bool HasEnoughClicks (int clicks)
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void Reset ()
 Reset the click counter. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLAnnotationClickCounterNew ()
 
static vtkMRMLAnnotationClickCounterSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkMRMLAnnotationClickCounter ()
 
 ~vtkMRMLAnnotationClickCounter () override
 

Detailed Description

Definition at line 25 of file vtkMRMLAnnotationClickCounter.h.

Member Typedef Documentation

◆ Superclass

Definition at line 32 of file vtkMRMLAnnotationClickCounter.h.

Constructor & Destructor Documentation

◆ vtkMRMLAnnotationClickCounter()

vtkMRMLAnnotationClickCounter::vtkMRMLAnnotationClickCounter ( )
protected

◆ ~vtkMRMLAnnotationClickCounter()

vtkMRMLAnnotationClickCounter::~vtkMRMLAnnotationClickCounter ( )
overrideprotected

Member Function Documentation

◆ Click()

int vtkMRMLAnnotationClickCounter::Click ( )

Increase the click counter and return the number of clicks.

See also
HasEnoughClicks()

◆ GetClassName()

virtual const char* vtkMRMLAnnotationClickCounter::GetClassName ( )
virtual

◆ HasEnoughClicks()

bool vtkMRMLAnnotationClickCounter::HasEnoughClicks ( int  clicks)

Check if enough clicks are counted and reset the click number if it is equal to clicks

See also
Click(), Reset()

◆ IsA()

virtual int vtkMRMLAnnotationClickCounter::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkMRMLAnnotationClickCounter::IsTypeOf ( const char *  type)
static

◆ New()

static vtkMRMLAnnotationClickCounter* vtkMRMLAnnotationClickCounter::New ( )
static

◆ PrintSelf()

void vtkMRMLAnnotationClickCounter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ Reset()

void vtkMRMLAnnotationClickCounter::Reset ( )

Reset the click counter.

◆ SafeDownCast()

static vtkMRMLAnnotationClickCounter* vtkMRMLAnnotationClickCounter::SafeDownCast ( vtkObject *  o)
static

The documentation for this class was generated from the following file: