24#ifndef _SO_QT_DIRECTIONAL_LIGHT_EDITOR_
25#define _SO_QT_DIRECTIONAL_LIGHT_EDITOR_
89 const char *name = NULL,
125 void *userData = NULL)
131 void *userData = NULL)
152 virtual SbString getDefaultWidgetName()
const;
153 virtual SbString getDefaultTitle()
const;
154 virtual SbString getDefaultIconTitle()
const;
165 static char* geomBuffer;
179 void updateLocalComponents();
184 void constructorCommon(
SbBool buildNow);
185 QWidget* buildWidget(QWidget* parent);
190 static void colorEditorCloseCB(
void *userData,
SoQtComponent *comp) ;
191 static void colorEditorCB(
void *,
const SbColor *);
192 static void dirLightManipCB(
void *,
SoDragger *);
193 static void intensitySliderCB(
void*,
float);
200 QAction* IDM_LEDT_COLOR_EDITOR;
203 void visibilityChangeCB(
SbBool visible);
204 void launchColorEditor();
#define TRUE
Possible value of SbBool.
SoQtColorSlider(QWidget *parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, Type type=INTENSITY_SLIDER)
void SoQtDirectionalLightEditorCB(void *userData, const SoDirectionalLight *light)
Class for smart character strings.
Manages a list of callbacks and associated data.
void addCallback(SoCallbackListCB *f, void *userData=NULL)
Adds a function to the list of callback functions.
void removeCallback(SoCallbackListCB *f, void *userData=NULL)
Removes a function from the list of callback functions.
Abstract base class for camera nodes.
Node representing a directional light source.
Directional light node with 3D interface for editing direction.
Base class for nodekits that move in response to click-drag-release mouse events.
Sensor class that can be attached to Open Inventor nodes.
Path that points to a list of hierarchical nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Component that l...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Component for ed...
SoQtDirectionalLightEditor(QWidget *parent=qApp->activeWindow(), const char *name=NULL, SbBool buildInsideParent=TRUE)
Constructor.
void attach(SoPath *pathToLight)
Attaches the editor to a directional light.
void setLight(const SoDirectionalLight &newLight)
Sets new light values.
void detach()
Detaches the editor from a directional light.
~SoQtDirectionalLightEditor()
Destructor.
void removeLightChangedCallback(SoQtDirectionalLightEditorCB *f, void *userData=NULL)
Removes the lightChanged callback.
void addLightChangedCallback(SoQtDirectionalLightEditorCB *f, void *userData=NULL)
Adds lightChanged callback.
virtual void hide()
This hides the component.
virtual void show()
This shows the component.
const SoDirectionalLight & getLight() const
Gets the current light values.
SbBool isAttached()
Returns TRUE if the editor is attached.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Component for re...
Abstract base class for Open Inventor sensors.
Group node that saves and restores traversal state.
void SoCallbackListCB(void *userData, void *callbackData)