Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 4.44 KB

File metadata and controls

58 lines (40 loc) · 4.44 KB
layout page
title Nodes
permalink /scenegraph/Nodes

The class definitions for the internal nodes of the scene graph can be found the VulkanSceneGraph/include/vsg/nodes directory. All scene graph nodes are subclassed from the vsg::Node base class.

Node Base class

| Class | Header | Functionality | | vsg::Node | Node.h | Node base class |

Group nodes

| Group nodes | Header | Functionality | | vsg::Group | Group.h | Group node | | vsg::QuadGroup | QuadGroup.h | Quadgroup is fixed sized group for building high performance quad trees | | vsg::Switch | Switch.h | Switch node provides support for switching between children |

Culling nodes

| Culling nodes| Header | Functionality | | vsg::CullGroup | CullGroup.h | Culling group that has culls a bounding sphere against view frustum | | vsg::CullNode | CullNode.h | Culling node that has culls a bounding sphere against view frustum | | vsg::LOD | LOD.h | Level of Detail node that culls based on projected size of bounding sphere | | vsg::PagedLOD | PagedLOD.h | Level of Detall node that has a low res child and high res child with file reference | | vsg::TileDatabase | TileDatabase.h | |

Transformation nodes

| Transformation nodes| Header | Functionality | | vsg::Transform| Transform.h | Transform base class node that provides a interface for definiting transforms of a subgraph | | vsg::MatrixTransform | MatrixTransform.h | Transform node that provides a 4x4 matrix to transform relative to parent coordinate frame | | vsg::AbsoluteTransform | AbsoluteTransform.h | Transform node that provides a 4x4 matrix that ignores parent coordinate frame to provide an absolute frame of reference |

Geometry nodes

| Geometry nodes | Header | Functionality | | vsg::Geometry | Geometry.h | General purpose geometry node provides a list of arrays and list of draw commands | | vsg::VertexDraw | VertexDraw.h | High performance geometry node provides a list of arrays and a single draw command | | vsg::VertexIndexDraw | VertexIndexDraw.h | High performance geometry node provides a list of arrays, an index array and a single indexed draw command |

State nodes

| State nodes | Header | Functionality | | vsg::StateGroup | StateGroup.h | State group node that provides a list of StateCommands to decorate a subgraph | | vsg::Light | Light.h | Light node provides all the settings for positing and controlling the type, color of a light source |

Draw order control

| Draw order control | Header | Functionality | | vsg::Bin | Bin.h | Bin node provides a way of controlling the record order of its children | | vsg::DepthSorted | DepthSorted.h | Depth sorted node provides controls for depth sorting of it's subgraph |

Prev: Scene Graph| Next: Commands