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

Store a list of conversion parameters. More...

#include <Libs/vtkSegmentationCore/vtkSegmentationConversionParameters.h>

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

Classes

struct  ConversionParameterType
 

Public Types

typedef vtkObject Superclass
 

Public Member Functions

void CopyParameter (vtkSegmentationConversionParameters *source, int sourceIndex)
 Replace parameters with content of another parameter list. More...
 
void DeepCopy (vtkSegmentationConversionParameters *source)
 Replace parameters with content of another parameter list. More...
 
virtual const char * GetClassName ()
 
int GetIndexFromName (const std::string name)
 
int GetNumberOfParameters ()
 Return number of parameters. More...
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void RemoveAllParameters ()
 Delete all parameters. More...
 
void RemoveParameter (int index) VTK_EXPECTS(0<
 Delete parameter. More...
 
int SetParameter (const std::string &name, const std::string &value, const std::string &description="")
 Set a conversion parameter. More...
 
std::string GetName (int index) VTK_EXPECTS(0<
 
void SetName (int index, const std::string &name) VTK_EXPECTS(0<
 
std::string GetDescription (int index) VTK_EXPECTS(0<
 
std::string GetDescription (const std::string &name)
 
void SetDescription (int index, const std::string &description) VTK_EXPECTS(0<
 
void SetDescription (const std::string &name, const std::string &description)
 
std::string GetValue (int index) VTK_EXPECTS(0<
 
std::string GetValue (const std::string &name)
 
double GetValueAsDouble (const std::string &name)
 
int GetValueAsInt (const std::string &name)
 
void SetValue (int index, const std::string &value) VTK_EXPECTS(0<
 
void SetValue (const std::string &name, const std::string &value)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSegmentationConversionParametersNew ()
 
static vtkSegmentationConversionParametersSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkSegmentationConversionParameters ()
 
 ~vtkSegmentationConversionParameters () override
 

Protected Attributes

std::vector< ConversionParameterTypeParameterList
 

Detailed Description

Store a list of conversion parameters.

Stores properties, such as name, description (that may be displayed as tooltip in the GUI) and value (current value or default value) of multiple segmentation conversion parameters.

Definition at line 35 of file vtkSegmentationConversionParameters.h.

Member Typedef Documentation

◆ Superclass

Definition at line 39 of file vtkSegmentationConversionParameters.h.

Constructor & Destructor Documentation

◆ vtkSegmentationConversionParameters()

vtkSegmentationConversionParameters::vtkSegmentationConversionParameters ( )
protected

◆ ~vtkSegmentationConversionParameters()

vtkSegmentationConversionParameters::~vtkSegmentationConversionParameters ( )
overrideprotected

Member Function Documentation

◆ CopyParameter()

void vtkSegmentationConversionParameters::CopyParameter ( vtkSegmentationConversionParameters source,
int  sourceIndex 
)

Replace parameters with content of another parameter list.

◆ DeepCopy()

void vtkSegmentationConversionParameters::DeepCopy ( vtkSegmentationConversionParameters source)

Replace parameters with content of another parameter list.

◆ GetClassName()

virtual const char* vtkSegmentationConversionParameters::GetClassName ( )
virtual

◆ GetDescription() [1/2]

std::string vtkSegmentationConversionParameters::GetDescription ( int  index)

Get/Set parameter description

◆ GetDescription() [2/2]

std::string vtkSegmentationConversionParameters::GetDescription ( const std::string &  name)

◆ GetIndexFromName()

int vtkSegmentationConversionParameters::GetIndexFromName ( const std::string  name)

Get parameter index from name. Returns -1 if parameter is not found.

◆ GetName()

std::string vtkSegmentationConversionParameters::GetName ( int  index)

Get/Set parameter name

◆ GetNumberOfParameters()

int vtkSegmentationConversionParameters::GetNumberOfParameters ( )

Return number of parameters.

◆ GetValue() [1/2]

std::string vtkSegmentationConversionParameters::GetValue ( int  index)

Get/Set parameter default value

◆ GetValue() [2/2]

std::string vtkSegmentationConversionParameters::GetValue ( const std::string &  name)

◆ GetValueAsDouble()

double vtkSegmentationConversionParameters::GetValueAsDouble ( const std::string &  name)

◆ GetValueAsInt()

int vtkSegmentationConversionParameters::GetValueAsInt ( const std::string &  name)

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkSegmentationConversionParameters* vtkSegmentationConversionParameters::New ( )
static

◆ PrintSelf()

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

◆ RemoveAllParameters()

void vtkSegmentationConversionParameters::RemoveAllParameters ( )

Delete all parameters.

◆ RemoveParameter()

void vtkSegmentationConversionParameters::RemoveParameter ( int  index)

Delete parameter.

◆ SafeDownCast()

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

◆ SetDescription() [1/2]

void vtkSegmentationConversionParameters::SetDescription ( int  index,
const std::string &  description 
)

◆ SetDescription() [2/2]

void vtkSegmentationConversionParameters::SetDescription ( const std::string &  name,
const std::string &  description 
)

◆ SetName()

void vtkSegmentationConversionParameters::SetName ( int  index,
const std::string &  name 
)

◆ SetParameter()

int vtkSegmentationConversionParameters::SetParameter ( const std::string &  name,
const std::string &  value,
const std::string &  description = "" 
)

Set a conversion parameter.

◆ SetValue() [1/2]

void vtkSegmentationConversionParameters::SetValue ( int  index,
const std::string &  value 
)

◆ SetValue() [2/2]

void vtkSegmentationConversionParameters::SetValue ( const std::string &  name,
const std::string &  value 
)

Member Data Documentation

◆ ParameterList

std::vector<ConversionParameterType> vtkSegmentationConversionParameters::ParameterList
protected

Definition at line 97 of file vtkSegmentationConversionParameters.h.


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