![]() |
http://www.sim.no/ http://www.coin3d.org/ |
The SoPointLight class is a node type for light sources.Pointlights emits light equally in all directions from a specified 3D location. More...
#include <Inventor/nodes/SoPointLight.h>
Public Member Functions | |
SoPointLight (void) | |
virtual void | GLRender (SoGLRenderAction *action) |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoSFVec3f | location |
Protected Member Functions | |
virtual | ~SoPointLight () |
The SoPointLight class is a node type for light sources.
Pointlights emits light equally in all directions from a specified 3D location.
See also documentation of parent class for important information regarding light sources in general.
FILE FORMAT/DEFAULTS:
SoPointLight::SoPointLight | ( | void | ) |
Constructor.
SoPointLight::~SoPointLight | ( | ) | [protected, virtual] |
Destructor.
void SoPointLight::initClass | ( | void | ) | [static] |
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.
Reimplemented from SoLight.
Reimplemented in SoPointLightManip.
void SoPointLight::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Action method for the SoGLRenderAction.
This is called during rendering traversals. Nodes influencing the rendering state in any way or who wants to throw geometry primitives at OpenGL overrides this method.
Reimplemented from SoNode.
Reimplemented in SoPointLightManip.
3D position of lightsource. Default value is <0, 0, 1>.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Thu Apr 28 2011 03:43:29 for Coin by Doxygen 1.7.4.