Base class for label formatters.
More...
#include <vtkLabeledFormatter.h>
|
| | vtkLabeledFormatterInterface (vtkLabeledDataMapper *self, vtkIntArray *typeArr, int numCurLabels) |
| |
| virtual | ~vtkLabeledFormatterInterface ()=default |
| |
| virtual void | SetFormattedString (int i, const char *text)=0 |
| |
| void | operator() (const std::string &FormatString) |
| |
| template<class TArray> |
| void | operator() (TArray *array, int activeComp, const std::string &FormatString, NumericComponent) |
| |
| template<class TArray> |
| void | operator() (TArray *array, int numComp, const std::string &FormatString, NumericVector) |
| |
| void | operator() (vtkStringArray *array, const std::string &FormatString) |
| |
| void | Dispatch (const vtkLabeledFormatterInput &input) |
| |
Base class for label formatters.
Subclasses implement SetFormattedString() to store or render each label. Call Dispatch() to select the correct formatting path given a resolved vtkLabeledFormatterInterfaceInput.
Definition at line 45 of file vtkLabeledFormatter.h.
◆ vtkLabeledFormatterInterface()
◆ ~vtkLabeledFormatterInterface()
| virtual vtkLabeledFormatterInterface::~vtkLabeledFormatterInterface |
( |
| ) |
|
|
virtualdefault |
◆ SetFormattedString()
| virtual void vtkLabeledFormatterInterface::SetFormattedString |
( |
int | i, |
|
|
const char * | text ) |
|
pure virtual |
◆ operator()() [1/4]
| void vtkLabeledFormatterInterface::operator() |
( |
const std::string & | FormatString | ) |
|
|
inline |
◆ operator()() [2/4]
template<class TArray>
| void vtkLabeledFormatterInterface::operator() |
( |
TArray * | array, |
|
|
int | activeComp, |
|
|
const std::string & | FormatString, |
|
|
NumericComponent | ) |
|
inline |
◆ operator()() [3/4]
template<class TArray>
| void vtkLabeledFormatterInterface::operator() |
( |
TArray * | array, |
|
|
int | numComp, |
|
|
const std::string & | FormatString, |
|
|
NumericVector | ) |
|
inline |
◆ operator()() [4/4]
| void vtkLabeledFormatterInterface::operator() |
( |
vtkStringArray * | array, |
|
|
const std::string & | FormatString ) |
|
inline |
◆ Dispatch()
◆ Self
◆ TypeArr
◆ NumCurLabels
| int vtkLabeledFormatterInterface::NumCurLabels |
The documentation for this struct was generated from the following file: