Sponsored Content
The Lounge What is on Your Mind? A little bit of poetic light entertainment. Post 302904307 by vbe on Tuesday 3rd of June 2014 12:13:14 PM
Old 06-03-2014
At the time I was studying Theology... and ordered for my at the time wife a Sinclair QL...
When she left 2 years later I found myself with the QL not knowing what to do with it... Took me another 3 years to find an interest and then I started programming in superbasic...
 

6 More Discussions You Might Find Interesting

1. Programming

copying or concatinating string from 1st bit, leaving 0th bit

Hello, If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit. How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies

2. Shell Programming and Scripting

How to handle 64 bit arithmetic operation at 32 bit compiled perl interpreter?H

Hi, Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result. perl interpreter info, perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies

3. What is on Your Mind?

A bit of light relief...

How about a thread to show your Desktop, Console or computing environment... This is my current MacBook Pro 13 inch screen... Let's see some others no matter how boring... ;oD (7 Replies)
Discussion started by: wisecracker
7 Replies

4. What is on Your Mind?

A bit of light entertainment. ;oD

;oD I received this snippet on facebook the other day... Enjoy:- (0 Replies)
Discussion started by: wisecracker
0 Replies

5. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies

6. What is on Your Mind?

A little light entertainment... ;oD

New O'Reilly books... URL: New O'Reilly books - Album on Imgur I'll bet many of you have come across a few of these... ;oD (0 Replies)
Discussion started by: wisecracker
0 Replies
SoXtDirectionalLightEditor(3IV)()										 SoXtDirectionalLightEditor(3IV)()

NAME
SoXtDirectionalLightEditor -- component for editing directional lights INHERITS FROM
SoXtComponent > SoXtDirectionalLightEditor SYNOPSIS
#include <Inventor/Xt/SoXtDirectionalLightEditor.h> typedef void SoXtDirectionalLightEditorCB(void *userData, const SoDirectionalLight *light) Methods from class SoXtDirectionalLightEditor: SoXtDirectionalLightEditor(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE) ~SoXtDirectionalLightEditor() void attach(SoPath *pathToLight) void detach() SbBool isAttached() void addLightChangedCallback(SoXtDirectionalLightEditorCB *f, void *userData = NULL) void removeLightChangedCallback(SoXtDirectionalLightEditorCB *f, void *userData = NULL) void setLight(const SoDirectionalLight &newLight) const SoDirectionalLight & getLight() const Methods from class SoXtComponent: virtual void show() virtual void hide() SbBool isVisible() Widget getWidget() const SbBool isTopLevelShell() const Widget getShellWidget() const Widget getParentWidget() const void setSize(const SbVec2s &size) SbVec2s getSize() Display * getDisplay() void setTitle(const char *newTitle) const char * getTitle() const void setIconTitle(const char *newIconTitle) const char * getIconTitle() const void setWindowCloseCallback(SoXtComponentCB *func, void *data = NULL) static SoXtComponent * getComponent(Widget w) const char * getWidgetName() const const char * getClassName() const DESCRIPTION
This class is used to edit an SoDirectionalLight node (color, intensity, and direction are changed). In addition to directly editing direc- tional light nodes, the editor can also be used with callbacks which will be called whenever the light is changed. The component consists of a render area and a value slider in the main window, with controls to display a color picker. In the render area there appears a sphere representing the world, and a directional light manipulator representing the direction of the light. Picking on the manipulator and moving the mouse provides direct manipulation of the light direction. The color picker is used to edit the color, and the value slider edits the intensity. The editor can currently be attached to only one light at a time. Attaching to two different lights will automatically detach the first one before attaching the second. METHODS
SoXtDirectionalLightEditor(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE) ~SoXtDirectionalLightEditor() Constructor and destructor. void attach(SoPath *pathToLight) void detach() Attach/detach the editor to/from a directional light. When attached, changes made in the editor directly affect the attached light. SbBool isAttached() Returns TRUE if the editor is attached. void addLightChangedCallback(SoXtDirectionalLightEditorCB *f, void *userData = NULL) void removeLightChangedCallback(SoXtDirectionalLightEditorCB *f, void *userData = NULL) Additional way of using the directional light editor, by registering a callback and setting the light. void setLight(const SoDirectionalLight &newLight) const SoDirectionalLight & getLight() const Set new light values, and get the current light values. SEE ALSO
SoXtComponent, SoDirectionalLight SoXtDirectionalLightEditor(3IV)()
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy