Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::RenderingTree Class Reference

The RenderingTree class organizes a set of renderings into an N-ary tree. More...

#include <RenderingTree.hpp>

Inheritance diagram for vl::RenderingTree:
vl::RenderingAbstract vl::Object

List of all members.

Public Member Functions

 RenderingTree ()
 Constructor.
 RenderingTree (const RenderingTree &other)
 Copy constructor.
RenderingTreeoperator= (const RenderingTree &other)
 Assignment operator.
virtual void render ()
 Recursively calls the render() method of its children.
Collection< RenderingAbstract > * subRenderings ()
 The sub-Rendering (or child-Rendering) objects of a Rendering. A sub-Rendering is rendered before it's parent and after its children.
const Collection
< RenderingAbstract > * 
subRenderings () const
 The sub-Rendering (or child-Rendering) objects of a Rendering. A sub-Rendering is rendered before it's parent and after its children.

Protected Attributes

ref< Collection
< RenderingAbstract > > 
mSubRendering

Detailed Description

The RenderingTree class organizes a set of renderings into an N-ary tree.

To enable the RenderingTree set the enableMask() to a value != 0, otherwise the RenderingTree will be disabled.

Definition at line 41 of file RenderingTree.hpp.


Constructor & Destructor Documentation

RenderingTree::RenderingTree (  )

Constructor.

Definition at line 37 of file RenderingTree.cpp.

References mSubRendering.

vl::RenderingTree::RenderingTree ( const RenderingTree other ) [inline]

Copy constructor.

Definition at line 50 of file RenderingTree.hpp.


Member Function Documentation

RenderingTree & RenderingTree::operator= ( const RenderingTree other )

Assignment operator.

Definition at line 42 of file RenderingTree.cpp.

References mSubRendering.

void RenderingTree::render (  ) [virtual]
Collection<RenderingAbstract>* vl::RenderingTree::subRenderings (  ) [inline]

The sub-Rendering (or child-Rendering) objects of a Rendering. A sub-Rendering is rendered before it's parent and after its children.

Definition at line 61 of file RenderingTree.hpp.

Referenced by render().

const Collection<RenderingAbstract>* vl::RenderingTree::subRenderings (  ) const [inline]

The sub-Rendering (or child-Rendering) objects of a Rendering. A sub-Rendering is rendered before it's parent and after its children.

Definition at line 63 of file RenderingTree.hpp.


Member Data Documentation

Definition at line 66 of file RenderingTree.hpp.

Referenced by operator=(), and RenderingTree().


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:11.
Permission is granted to use this page to write and publish articles regarding Visualization Library.