Rechercher une page de manuel
SoPointLight.3coin2
Langue: en
Version: 373655 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
SoPointLight -The SoPointLight class is a node type for light sources.
Pointlights emits light equally in all directions from a specified 3D location.
SYNOPSIS
#include <Inventor/nodes/SoPointLight.h>
Inherits SoLight.
Inherited by SoPointLightManip.
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 ()
Detailed Description
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:
PointLight { on TRUE intensity 1 color 1 1 1 location 0 0 1 }
Constructor & Destructor Documentation
SoPointLight::SoPointLight (void)Constructor.
References location.
SoPointLight::~SoPointLight () [protected, virtual]Destructor.
Member Function Documentation
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.
References SoNode::VRML1.
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.
References SoLight::color, SoAction::getState(), SbVec4f::getValue(), SbColor4f::getValue(), SoLight::intensity, location, SoLight::on, SoDebugError::post(), and SbColor4f::setRGB().
Member Data Documentation
SoSFVec3f SoPointLight::location3D position of lightsource. Default value is <0, 0, 1>.
Referenced by SoPointLightManip::fieldSensorCB(), GLRender(), SoPointLight(), SoPointLightManip::transferFieldValues(), and SoPointLightManip::valueChangedCB().
Author
Generated automatically by Doxygen for Coin from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre