Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Attributes
icl::geom::Primitive::RenderContext Struct Reference

accumulated context information for rendering primitives More...

#include <Primitive.h>

List of all members.

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
SceneObjectobject
 the parent object

Detailed Description

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;


Member Data Documentation

line coloring

list of shared normals

the parent object

polygon coloring

quad coloring

list of shared textures

triangle coloring

list of vertex colors

list of shared vertices


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines