VTK  9.3.20240420
Public Member Functions | Public Attributes | List of all members
LabelSet< T > Struct Template Reference

#include <vtkLabelMapLookup.h>

Inheritance diagram for LabelSet< T >:
[legend]
Collaboration diagram for LabelSet< T >:
[legend]

Public Member Functions

 LabelSet (const double *values, int numValues)
 
bool IsLabelValue (T label) override
 
- Public Member Functions inherited from vtkLabelMapLookup< T >
 vtkLabelMapLookup (const double *values, int vtkNotUsed(numValues))
 
virtual ~vtkLabelMapLookup ()=default
 
virtual bool IsLabelValue (T label)=0
 
bool IsLabelValueInCache (T label, bool &inLabelSet)
 

Public Attributes

std::unordered_set< T > Map
 
- Public Attributes inherited from vtkLabelMapLookup< T >
CachedValue
 
CachedOutValue
 
bool CachedOutValueInitialized
 

Additional Inherited Members

- Static Public Member Functions inherited from vtkLabelMapLookup< T >
static vtkLabelMapLookup< T > * CreateLabelLookup (const double *values, vtkIdType numLabels)
 

Detailed Description

template<typename T>
struct LabelSet< T >

Definition at line 123 of file vtkLabelMapLookup.h.

Constructor & Destructor Documentation

◆ LabelSet()

template<typename T >
LabelSet< T >::LabelSet ( const double *  values,
int  numValues 
)
inline

Definition at line 127 of file vtkLabelMapLookup.h.

Member Function Documentation

◆ IsLabelValue()

template<typename T >
bool LabelSet< T >::IsLabelValue ( label)
inlineoverridevirtual

Implements vtkLabelMapLookup< T >.

Definition at line 135 of file vtkLabelMapLookup.h.

Member Data Documentation

◆ Map

template<typename T >
std::unordered_set<T> LabelSet< T >::Map

Definition at line 125 of file vtkLabelMapLookup.h.


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