15 #ifndef niftkLookupTableProviderService_h
16 #define niftkLookupTableProviderService_h
22 #include <mitkServiceInterface.h>
32 class LookupTableContainer;
58 float lowestValueOpacity,
59 float highestValueOpacity) = 0;
65 float lowestValueOpacity,
66 float highestValueOpacity) = 0;
91 virtual bool GetIsScaled(
const QString& lookupTableName) = 0;
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...
virtual void ReplaceLookupTableContainer(const LookupTableContainer *container, const QString &lookupTableName)=0
Replace the LookupTableContainer of the given name with another.
Service to provide lookup tables.
Definition: niftkLookupTableProviderService.h:38
virtual std::vector< QString > GetTableNames()=0
Returns the display names of all table.
virtual NamedLookupTableProperty::Pointer CreateLookupTableProperty(const QString &lookupTableName, float lowestValueOpacity, float highestValueOpacity)=0
Same as CreateLookupTable, but wraps it into a niftk::NamedLookupTableProperty.
Class to contain a vtkLookupTable and to store meta-data attributes like display name, which order to display it in in GUI, etc.
Definition: niftkLookupTableContainer.h:34
virtual bool CheckName(const QString &name)=0
Returns if a LookupTable with the given name exists.
virtual void AddNewLookupTableContainer(const LookupTableContainer *container)=0
Add a new LookupTableContainer to the LookupTableManager.
MITK_DECLARE_SERVICE_INTERFACE(niftk::IGIDataSourceFactoryServiceI,"uk.ac.ucl.cmic.IGIDataSourceFactoryServiceI")
virtual bool GetIsScaled(const QString &lookupTableName)=0
Returns whether the given table should be scaled to the window and level.
GLuint const GLchar * name
Definition: glew.h:1798
Definition: niftkExceptionObject.h:21
virtual unsigned int GetNumberOfLookupTables()=0
Returns the number of lookup tables that this service knows about.