29 #ifndef __X3DAPPEARANCENODE_H__
30 #define __X3DAPPEARANCENODE_H__
50 Inst< SFNode > _metadata = 0,
51 Inst< SFSurface > _surface = 0 );
82 return default_using_multi_pass_transparency;
111 default_using_multi_pass_transparency = b;
116 return default_using_multi_pass_transparency;
Header file for H3DDisplayListObject.
Header file for H3DSurfaceNode.
Header file for X3DNode, X3D scene-graph node.
This abstract interface class is the base class for all node types that wants to create an OpenGL dis...
Definition: H3DDisplayListObject.h:54
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
Template to make sure that the Node that is set in a SFNode is of a specified Node type.
Definition: SFNode.h:97
This is the base node type for all Appearance nodes.
Definition: X3DAppearanceNode.h:44
static void setDefaultUsingMultiPassTransparency(bool b)
Set the default value for usage of multi pass transparancy.
Definition: X3DAppearanceNode.h:110
virtual void postRender()
This function will be called by the X3DShapeNode after the geometry has been rendered.
Definition: X3DAppearanceNode.h:60
virtual string defaultXMLContainerField()
Returns the default xml containerField attribute value.
Definition: X3DAppearanceNode.h:88
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: X3DAppearanceNode.h:105
virtual bool hasGeometryShadow()
This function return true if the appearance has decided that shadow should be cast.
Definition: X3DAppearanceNode.h:75
H3DUniquePtr< SFSurface > surface
Contains the Surface node that will determine how an object will feel haptically.
Definition: X3DAppearanceNode.h:102
virtual bool isTransparent()
This function checks the transparency field to determine if the material requires that the geometry i...
Definition: X3DAppearanceNode.h:69
virtual void preRender()
This function will be called by the X3DShapeNode before any rendering of geometry and before the call...
Definition: X3DAppearanceNode.h:56
static bool getDefaultUsingMultiPassTransparency()
Get the default value for usage of multi pass transparancy.
Definition: X3DAppearanceNode.h:115
static bool default_using_multi_pass_transparency
The default value to use for multipass transparency, if the inherited appearance node does not contai...
Definition: X3DAppearanceNode.h:123
virtual bool usingMultiPassTransparency()
This function checks if multi-pass transparency should be used or not (see RenderProperties_multiPass...
Definition: X3DAppearanceNode.h:81
virtual GLbitfield getAffectedGLAttribs()
Returns a bitmask of the OpenGL attrib bits that will be affected by this node.
Definition: X3DAppearanceNode.h:65
This abstract node type is the base type for all nodes in the X3D system.
Definition: X3DNode.h:65
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194