Slicer  5.3
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 | Protected Attributes
vtkSlicerScalarBarActor Class Reference

#include <Modules/Loadable/Colors/VTKWidgets/vtkSlicerScalarBarActor.h>

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

Public Types

typedef vtkScalarBarActor Superclass
 

Public Member Functions

virtual void CenterLabelOff ()
 
virtual void CenterLabelOn ()
 
virtual bool GetCenterLabel ()
 
virtual const char * GetClassName ()
 
virtual int GetUseAnnotationAsLabel ()
 Get for the flag on using VTK6 annotation as label. More...
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetCenterLabel (bool)
 
virtual void SetUseAnnotationAsLabel (int)
 Set for the flag on using VTK6 annotation as label. More...
 
virtual void UseAnnotationAsLabelOff ()
 
virtual void UseAnnotationAsLabelOn ()
 Get/Set for the flag on using VTK6 annotation as label. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSlicerScalarBarActorNew ()
 
static vtkSlicerScalarBarActorSafeDownCast (vtkObject *o)
 

Protected Member Functions

void ConfigureTicks () override
 
void ConfigureTitle () override
 
void LayoutTicks () override
 
void PrepareTitleText () override
 
 vtkSlicerScalarBarActor ()
 
 ~vtkSlicerScalarBarActor () override
 

Protected Attributes

bool CenterLabel
 
int UseAnnotationAsLabel
 flag for setting color name as label More...
 

Detailed Description

vtkSlicerScalarBarActor - slicer vtk class for adding color names in scalar bar

This class enhances the vtkScalarBarActor class by adding color names in the label display.

Definition at line 40 of file vtkSlicerScalarBarActor.h.

Member Typedef Documentation

◆ Superclass

typedef vtkScalarBarActor vtkSlicerScalarBarActor::Superclass

Definition at line 46 of file vtkSlicerScalarBarActor.h.

Constructor & Destructor Documentation

◆ vtkSlicerScalarBarActor()

vtkSlicerScalarBarActor::vtkSlicerScalarBarActor ( )
protected

◆ ~vtkSlicerScalarBarActor()

vtkSlicerScalarBarActor::~vtkSlicerScalarBarActor ( )
overrideprotected

Member Function Documentation

◆ CenterLabelOff()

virtual void vtkSlicerScalarBarActor::CenterLabelOff ( )
virtual

◆ CenterLabelOn()

virtual void vtkSlicerScalarBarActor::CenterLabelOn ( )
virtual

Get/Set if label should be centered on color swatches. Useful if each displayed color needs a label

◆ ConfigureTicks()

void vtkSlicerScalarBarActor::ConfigureTicks ( )
overrideprotected

◆ ConfigureTitle()

void vtkSlicerScalarBarActor::ConfigureTitle ( )
overrideprotected

◆ GetCenterLabel()

virtual bool vtkSlicerScalarBarActor::GetCenterLabel ( )
virtual

Get if label should be centered on color swatches. Useful if each displayed color needs a label

◆ GetClassName()

virtual const char* vtkSlicerScalarBarActor::GetClassName ( )
virtual

◆ GetUseAnnotationAsLabel()

virtual int vtkSlicerScalarBarActor::GetUseAnnotationAsLabel ( )
virtual

Get for the flag on using VTK6 annotation as label.

◆ IsA()

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

◆ IsTypeOf()

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

◆ LayoutTicks()

void vtkSlicerScalarBarActor::LayoutTicks ( )
overrideprotected

◆ New()

static vtkSlicerScalarBarActor* vtkSlicerScalarBarActor::New ( )
static

◆ PrepareTitleText()

void vtkSlicerScalarBarActor::PrepareTitleText ( )
overrideprotected

◆ PrintSelf()

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

◆ SafeDownCast()

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

◆ SetCenterLabel()

virtual void vtkSlicerScalarBarActor::SetCenterLabel ( bool  )
virtual

Set if label should be centered on color swatches. Useful if each displayed color needs a label

◆ SetUseAnnotationAsLabel()

virtual void vtkSlicerScalarBarActor::SetUseAnnotationAsLabel ( int  )
virtual

Set for the flag on using VTK6 annotation as label.

◆ UseAnnotationAsLabelOff()

virtual void vtkSlicerScalarBarActor::UseAnnotationAsLabelOff ( )
virtual

◆ UseAnnotationAsLabelOn()

virtual void vtkSlicerScalarBarActor::UseAnnotationAsLabelOn ( )
virtual

Get/Set for the flag on using VTK6 annotation as label.

Member Data Documentation

◆ CenterLabel

bool vtkSlicerScalarBarActor::CenterLabel
protected

Definition at line 95 of file vtkSlicerScalarBarActor.h.

◆ UseAnnotationAsLabel

int vtkSlicerScalarBarActor::UseAnnotationAsLabel
protected

flag for setting color name as label

Definition at line 93 of file vtkSlicerScalarBarActor.h.


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