VTK
9.2.5
|
provide an efficient numeric label lookup More...
#include <vtkLabelMapLookup.h>
Public Member Functions | |
vtkLabelMapLookup (const double *values, int vtkNotUsed(numValues)) | |
virtual | ~vtkLabelMapLookup ()=default |
virtual bool | IsLabelValue (T label)=0 |
bool | IsLabelValueInCache (T label, bool &inLabelSet) |
Static Public Member Functions | |
static vtkLabelMapLookup< T > * | CreateLabelLookup (const double *values, vtkIdType numLabels) |
Public Attributes | |
T | CachedValue |
T | CachedOutValue |
bool | CachedOutValueInitialized |
provide an efficient numeric label lookup
vtkLabelMapLookup is a helper object that enables faster lookup of a segmentation label from a set of labels. It uses caching, and different strategies depending on the size of the set of labels.
Definition at line 41 of file vtkLabelMapLookup.h.
|
inline |
Definition at line 47 of file vtkLabelMapLookup.h.
|
virtualdefault |
|
pure virtual |
Implemented in SingleLabelValue< T >, LabelVector< T >, and LabelSet< T >.
|
inline |
Definition at line 55 of file vtkLabelMapLookup.h.
|
static |
Definition at line 169 of file vtkLabelMapLookup.h.
T vtkLabelMapLookup< T >::CachedValue |
Definition at line 43 of file vtkLabelMapLookup.h.
T vtkLabelMapLookup< T >::CachedOutValue |
Definition at line 44 of file vtkLabelMapLookup.h.
bool vtkLabelMapLookup< T >::CachedOutValueInitialized |
Definition at line 45 of file vtkLabelMapLookup.h.