9 #include "uiTF/config.hpp" 11 #include <fwData/Composite.hpp> 12 #include <fwData/TransferFunction.hpp> 14 #include <fwGui/editor/IEditor.hpp> 16 #include <boost/filesystem/path.hpp> 75 UITF_API virtual ~TransferFunctionEditor() noexcept;
80 UITF_API virtual
void configuring() override;
83 UITF_API virtual
void starting() override;
86 UITF_API virtual
void updating() override;
89 UITF_API virtual
void stopping() override;
92 UITF_API
void swapping(const KeyType& key) override;
110 UITF_API
void initTransferFunctions();
113 UITF_API
bool hasTransferFunctionName(const
std::
string& _sName) const;
117 UITF_API
std::
string createTransferFunctionName( const
std::
string& _sBasename ) const;
120 UITF_API
void updateTransferFunction();
123 UITF_API
void updateTransferFunctionPreset();
129 void reinitializeTFPool();
133 void presetChoice(
int index);
137 typedef
std::vector< ::
boost::filesystem::path > PathContainerType;
139 QComboBox* m_pTransferFunctionPreset;
140 QPushButton* m_deleteButton;
141 QPushButton* m_newButton;
142 QPushButton* m_reinitializeButton;
143 QPushButton* m_renameButton;
144 QPushButton* m_importButton;
145 QPushButton* m_exportButton;
147 ::
fwData::TransferFunction::sptr m_selectedTF;
150 PathContainerType m_paths;
This class is a helper to define the connections of a service and its data.
Defines the service interface managing the editor service for object.
Editor to select a transfer function.
Transfert functions editor.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.