Image Component Library (ICL)
|
accumulated context information for rendering primitives More...
#include <Primitive.h>
Public Attributes | |
const std::vector< Vec > & | vertices |
list of shared vertices | |
const std::vector< Vec > & | normals |
list of shared normals | |
const std::vector< GeomColor > & | vertexColors |
list of vertex colors | |
const std::vector < utils::SmartPtr< qt::GLImg > > & | sharedTextures |
list of shared textures | |
bool | lineColorsFromVertices |
line coloring | |
bool | triangleColorsFromVertices |
triangle coloring | |
bool | quadColorsFromVertices |
quad coloring | |
bool | polygonColorsFromVertices |
polygon coloring | |
SceneObject * | object |
the parent object |
accumulated context information for rendering primitives
the RenderContext contains all render information from the parent SceneObject instance. The Scene automatically creates the RenderContext structure for each object and exposes this to it's primitives render() calls;
line coloring
const std::vector<Vec>& icl::geom::Primitive::RenderContext::normals |
list of shared normals
the parent object
polygon coloring
quad coloring
const std::vector<utils::SmartPtr<qt::GLImg> >& icl::geom::Primitive::RenderContext::sharedTextures |
list of shared textures
triangle coloring
const std::vector<GeomColor>& icl::geom::Primitive::RenderContext::vertexColors |
list of vertex colors
const std::vector<Vec>& icl::geom::Primitive::RenderContext::vertices |
list of shared vertices