|
| | mitkClassMacro (LabeledImageLookupTable, LookupTable) |
| |
| Pointer | Clone () const |
| |
| LabeledImageLookupTable & | operator= (const LookupTable &other) override |
| | Assignment from a generic LookupTable. More...
|
| |
| virtual void | SetColorForLabel (const LabelType &label, const double &r, const double &g, const double &b, const double a=1.0) |
| | Set the RGBA color for a given label. More...
|
| |
| virtual double * | GetColorForLabel (const LabelType &label) |
| | Get the RGBA color assigned to a given label. More...
|
| |
| mitk::LevelWindow | GetLevelWindow () |
| | Get the LevelWindow settings required for correct 2D color mapping. More...
|
| |
| | mitkClassMacroItkParent (LookupTable, itk::DataObject) |
| |
| Pointer | Clone () const |
| |
| virtual vtkSmartPointer< vtkLookupTable > | GetVtkLookupTable () const |
| | Get the internally wrapped vtkLookupTable. More...
|
| |
| virtual RawLookupTableType * | GetRawLookupTable () const |
| | Get the raw lookup table array from the wrapped vtkLookupTable. More...
|
| |
| virtual void | SetVtkLookupTable (vtkSmartPointer< vtkLookupTable > lut) |
| | Set the internal vtkLookupTable. More...
|
| |
| virtual void | ChangeOpacityForAll (float opacity) |
| | Set the opacity (alpha) for all entries in the table. More...
|
| |
| virtual void | ChangeOpacity (int index, float opacity) |
| | Set the opacity (alpha) for a specific table entry. More...
|
| |
| virtual void | GetColor (double value, double rgb[3]) |
| | Map a scalar value to an RGB color via the lookup table. More...
|
| |
| virtual void | GetTableValue (int index, double rgba[4]) |
| | Get the RGBA tuple at a specific table index. More...
|
| |
| virtual void | SetTableValue (int index, double rgba[4]) |
| | Set the RGBA tuple at a specific table index. More...
|
| |
| virtual void | SetWindow (float _arg) |
| |
| virtual void | SetLevel (float _arg) |
| |
| virtual void | SetOpacity (float _arg) |
| |
| virtual bool | operator== (const mitk::LookupTable &LookupTable) const |
| | Compare two LookupTable objects for equality. More...
|
| |
| virtual bool | operator!= (const LookupTable &LookupTable) const |
| | Compare two LookupTable objects for inequality. More...
|
| |
| void | UpdateOutputInformation () override |
| | Update output information by querying the source object. More...
|
| |
| void | SetRequestedRegionToLargestPossibleRegion () override |
| | Set the requested region to the largest possible region. More...
|
| |
| bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
| | Check whether the requested region is outside the buffered region. More...
|
| |
| bool | VerifyRequestedRegion () override |
| | Check whether the requested region is valid. More...
|
| |
| void | SetRequestedRegion (const itk::DataObject *data) override |
| | Set the requested region from another data object. More...
|
| |
| | LookupTable () |
| | Default constructor. Builds a GRAYSCALE table by default. More...
|
| |
| | ~LookupTable () override |
| | Destructor. More...
|
| |
| vtkSmartPointer< vtkColorTransferFunction > | CreateColorTransferFunction () |
| | Create a vtkColorTransferFunction from this lookup table. More...
|
| |
| vtkSmartPointer< vtkPiecewiseFunction > | CreateOpacityTransferFunction () |
| | Create a vtkPiecewiseFunction for opacity from this lookup table. More...
|
| |
| vtkSmartPointer< vtkPiecewiseFunction > | CreateGradientTransferFunction () |
| | Create a vtkPiecewiseFunction for gradient opacity from this lookup table. More...
|
| |
| virtual void | SetType (const LookupTableType type) |
| | Set the lookup table type by enum value. More...
|
| |
| virtual void | SetType (const std::string &typeName) |
| | Set the lookup table type by name string. More...
|
| |
| virtual LookupTableType | GetActiveType () const |
| | Get the currently active lookup table type. More...
|
| |
| virtual std::string | GetActiveTypeAsString () const |
| | Get the currently active lookup table type as a string. More...
|
| |
Lookup table for 2D rendering of labeled (segmented) images.
Supports images with up to 256 unsigned labels (0–255). Label 0 is treated as background and is fully transparent by default. All other labels are initialized with random colors.
For correct color mapping in 2D renderers, use the level/window settings returned by GetLevelWindow().
- See also
- LookupTable
Definition at line 37 of file mitkLabeledImageLookupTable.h.