SoBumpMappingPropertyElement Class Reference
[Elements]

VSG extension Stores bump mapping properties. More...

#include <Inventor/elements/SoBumpMappingPropertyElement.h>

Inheritance diagram for SoBumpMappingPropertyElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

Public Types

enum  NormalMapSpace {
  TANGENT_SPACE,
  MODEL_SPACE
}
enum  TextureFormat {
  HEIGHT_MAP,
  NORMAL_MAP
}

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node, NormalMapSpace normalMapSpace, SbBool isShadowed, SbBool isEyeDistanceAttenuation, SbBool isOnlyClosestLightUsed, TextureFormat textureFormat)
static void get (SoState *state, NormalMapSpace &normalMapSpace, SbBool &isShadowed, SbBool &isEyeDistanceAttenuation, SbBool &isOnlyClosestLightUsed, TextureFormat &textureFormat)
static void getDefault (NormalMapSpace &normalMapSpace, SbBool &isShadowed, SbBool &isEyeDistanceAttenuation, SbBool &isOnlyClosestLightUsed, TextureFormat &textureFormat)

Detailed Description

VSG extension Stores bump mapping properties.

This element stores bump mapping properties.

SEE ALSO

SoBumpMappingProperty


Member Enumeration Documentation

Normal map space.

Enumerator:
TANGENT_SPACE 

Tangent space.

MODEL_SPACE 

Model space.

Texture format.

Enumerator:
HEIGHT_MAP 

Height map.

NORMAL_MAP 

Normal map.


Member Function Documentation

static void SoBumpMappingPropertyElement::get ( SoState state,
NormalMapSpace normalMapSpace,
SbBool isShadowed,
SbBool isEyeDistanceAttenuation,
SbBool isOnlyClosestLightUsed,
TextureFormat textureFormat 
) [static]

Gets the current attributes in the state.

static int SoBumpMappingPropertyElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

static SoType SoBumpMappingPropertyElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

static void SoBumpMappingPropertyElement::getDefault ( NormalMapSpace normalMapSpace,
SbBool isShadowed,
SbBool isEyeDistanceAttenuation,
SbBool isOnlyClosestLightUsed,
TextureFormat textureFormat 
) [static]

Returns default values.

static void SoBumpMappingPropertyElement::set ( SoState state,
SoNode node,
NormalMapSpace  normalMapSpace,
SbBool  isShadowed,
SbBool  isEyeDistanceAttenuation,
SbBool  isOnlyClosestLightUsed,
TextureFormat  textureFormat 
) [static]

Sets the current attributes in the state.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/