NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Service to provide lookup tables. More...
Public Member Functions | |
virtual unsigned int | GetNumberOfLookupTables ()=0 |
Returns the number of lookup tables that this service knows about. More... | |
virtual bool | CheckName (const QString &name)=0 |
Returns if a LookupTable with the given name exists. More... | |
virtual vtkLookupTable * | CreateLookupTable (const QString &lookupTableName, float lowestValueOpacity, float highestValueOpacity)=0 |
Returns a pointer to a new instance of a lookup table, as specified by the index, which the client is then responsible for deleting. More... | |
virtual NamedLookupTableProperty::Pointer | CreateLookupTableProperty (const QString &lookupTableName, float lowestValueOpacity, float highestValueOpacity)=0 |
Same as CreateLookupTable, but wraps it into a niftk::NamedLookupTableProperty. More... | |
virtual LabeledLookupTableProperty::Pointer | CreateLookupTableProperty (const QString &lookupTableName)=0 |
Similar to CreateLookupTable, but create a niftk::LabeledLookupTableProperty. More... | |
virtual void | AddNewLookupTableContainer (const LookupTableContainer *container)=0 |
Add a new LookupTableContainer to the LookupTableManager. More... | |
virtual void | ReplaceLookupTableContainer (const LookupTableContainer *container, const QString &lookupTableName)=0 |
Replace the LookupTableContainer of the given name with another. More... | |
virtual std::vector< QString > | GetTableNames ()=0 |
Returns the display names of all table. More... | |
virtual bool | GetIsScaled (const QString &lookupTableName)=0 |
Returns whether the given table should be scaled to the window and level. More... | |
Service to provide lookup tables.
|
pure virtual |
Add a new LookupTableContainer to the LookupTableManager.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Returns if a LookupTable with the given name exists.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Returns a pointer to a new instance of a lookup table, as specified by the index, which the client is then responsible for deleting.
lookupTableIndex | a positive integer in the range [0.. (this->GetNumberOfLookupTables() - 1)]. |
lowestValueOpacity | opacity value in the range [0..1], which if outside this range, is clamped. |
highestValueOpacity | opacity value in the range [0..1], which if outside this range, is clamped. |
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Same as CreateLookupTable, but wraps it into a niftk::NamedLookupTableProperty.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Similar to CreateLookupTable, but create a niftk::LabeledLookupTableProperty.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Returns whether the given table should be scaled to the window and level.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Returns the number of lookup tables that this service knows about.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Returns the display names of all table.
Implemented in niftk::LookupTableProviderServiceImpl.
|
pure virtual |
Replace the LookupTableContainer of the given name with another.
Implemented in niftk::LookupTableProviderServiceImpl.