Coin Logo http://www.sim.no/
http://www.coin3d.org/

Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions

SoVRMLLight Class Reference

The SoVRMLLight class is a superclass for VRML light nodes. More...

#include <Inventor/VRMLnodes/SoVRMLLight.h>

Inheritance diagram for SoVRMLLight:
SoNode SoFieldContainer SoBase SoVRMLDirectionalLight SoVRMLPointLight SoVRMLSpotLight

List of all members.

Public Member Functions

virtual void GLRender (SoGLRenderAction *action)

Static Public Member Functions

static void initClass (void)

Public Attributes

SoSFBool on
SoSFFloat intensity
SoSFColor color
SoSFFloat ambientIntensity

Protected Member Functions

 SoVRMLLight (void)
virtual ~SoVRMLLight ()

Detailed Description

The SoVRMLLight class is a superclass for VRML light nodes.


Constructor & Destructor Documentation

SoVRMLLight::SoVRMLLight ( void  ) [protected]

Constructor.

SoVRMLLight::~SoVRMLLight ( ) [protected, virtual]

Destructor.


Member Function Documentation

void SoVRMLLight::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 SoNode.

Reimplemented in SoVRMLDirectionalLight, SoVRMLPointLight, and SoVRMLSpotLight.

void SoVRMLLight::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 SoVRMLDirectionalLight, SoVRMLPointLight, and SoVRMLSpotLight.


Member Data Documentation

Enable/disable light. Default value is TRUE.

The light intensity. A value from 0 to 1. Default value is 1.

The light color. Default value is (1, 1, 1).

The light ambient intensity. A value from 0 to 1. Default value is 0.


The documentation for this class was generated from the following files:

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Sun May 1 2011 02:58:39 for Coin by Doxygen 1.7.3.