26#ifndef _SO_WIN_DIRECTIONAL_LIGHT_EDITOR_
27#define _SO_WIN_DIRECTIONAL_LIGHT_EDITOR_
101 const char *name = NULL,
139 void *userData = NULL);
146 void *userData = NULL);
169 virtual SbString getDefaultWidgetName()
const;
170 virtual SbString getDefaultTitle()
const;
171 virtual SbString getDefaultIconTitle()
const;
187 static char *geomBuffer;
198 void updateLocalComponents();
205 WPARAM wParam, LPARAM lParam );
206 static void onCommand(
217 void handleMenu(
Hwnd hdlg,
221 void initPlacement() ;
223 static void colorEditorCloseCB(
void *userData,
SoWinComponent *comp) ;
226 static void colorEditorCB(
void *,
const SbColor *);
227 static void intensitySliderCB(
void *,
float);
228 static void pasteDoneCB(
void *,
SoPathList *);
229 static void dirLightManipCB(
void *,
SoDragger *);
242 static void visibilityChangeCB(
void *pt,
SbBool visible);
247 void constructorCommon(
SbBool buildNow);
#define TRUE
Possible value of SbBool.
SoWinColorSlider(SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, Type type=INTENSITY_SLIDER)
#define XmAnyCallbackStruct
void SoWinDirectionalLightEditorCB(void *userData, const SoDirectionalLight *light)
Class for smart character strings.
Base class for all nodes, paths, and engines.
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.
Base class for all group nodes.
Abstract base class for all database nodes.
Sensor class that can be attached to Open Inventor nodes.
Path that points to a list of hierarchical nodes.
Maintains a list of pointers to paths.
Abstract base class for Open Inventor sensors.
Group node that saves and restores traversal state.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Supports copy/pa...
<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...
void attach(SoPath *pathToLight)
Attaches the editor to a directional light.
void removeLightChangedCallback(SoWinDirectionalLightEditorCB *f, void *userData=NULL)
Removes the lightChanged callback.
void addLightChangedCallback(SoWinDirectionalLightEditorCB *f, void *userData=NULL)
Adds lightChanged callback.
SoWinDirectionalLightEditor(SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE)
Constructor.
virtual void hide()
This hides the component.
void detach()
Detaches the editor from a directional light.
virtual void show()
This shows the component.
const SoDirectionalLight & getLight() const
Gets the current light values.
void setLight(const SoDirectionalLight &newLight)
Sets new light values.
SbBool isAttached()
Returns TRUE if the editor is attached.
~SoWinDirectionalLightEditor()
Destructor.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Component for re...
void SoCallbackListCB(void *userData, void *callbackData)