35 #ifndef ANAQT_COLOR_QWOBJPALETTE_H 36 #define ANAQT_COLOR_QWOBJPALETTE_H 44 class QListWidgetItem;
50 class APaletteExtensionAction;
59 QAPaletteWin(
const std::set<anatomist::AObject *> & obj );
65 createPalWin(
const std::set<anatomist::AObject* > & obj );
76 void palette1Changed();
77 void palette2Changed(
const QString & );
78 void min1Changed(
int value );
79 void max1Changed(
int value );
80 void min2Changed(
int value );
81 void max2Changed(
int value );
82 void responsiveToggled(
bool val );
84 void dimChanged(
int );
85 void mixMethodChanged(
const QString & );
86 void palette1DMappingMethodChanged(
const QString & );
87 void enablePalette2(
bool );
88 void mixFactorChanged(
int );
89 void min1EditChanged();
90 void max1EditChanged();
91 void min2EditChanged();
92 void max2EditChanged();
98 void objectsChosen(
const std::set<anatomist::AObject *> & );
99 void extensionActionTriggered( QAction* action );
100 void zeroCentered1Changed(
int state );
101 void zeroCentered2Changed(
int state );
107 virtual void closeEvent( QCloseEvent* );
108 void updateInterface();
119 virtual QWidget* makeDimBox(
const QString & title, QWidget* parent,
121 virtual void setValues( DimBox* dimBox,
float min,
float max,
122 float objMin,
float objMax );
123 virtual void setValues1();
124 virtual void setValues2();
125 virtual void updateObjects();
126 virtual void updateObjPal();
127 void fillMixMethods();
128 void fillPalette1DMappingMethods() ;
129 void fillPalette2List();
147 friend class ::QAPaletteWin;
155 virtual void extensionTriggered(
156 const std::set<anatomist::AObject *> & ) = 0;
T max(const Volume< T > &vol)
This class can be subclassed to represent an object that the programmer wants to have observed...
T min(const Volume< T > &vol)
Object color palette window.
virtual ~PaletteWinExtensionActions()