version 3.3

VRS::Cache Class Reference

Cache Shape. More...

#include <vrs/cache.h>

Inheritance diagram for VRS::Cache:

VRS::Shape VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Cache (Shape *master=(Shape *) 0, bool autoUpdate=false)
virtual ~Cache ()
 Unregisters all callbacks.
void setMaster (Shape *master)
ShapegetMaster () const
 The master shape is the shape to be cached.
void addObservedShape (Shape *shape)
 Add shape whose modified call should be observed.
virtual Bounds boundingBox () const
 Returns the bounding-box of the master.
 VRS_TYPEINFO (Cache, Shape)
 VRS_SERIALIZABLE (Cache)

Protected Member Functions

virtual void acceptChildren (std::vector< Visitable * > &appendChildrenHere) const


Detailed Description

Cache Shape.

Constructor & Destructor Documentation

VRS::Cache::Cache ( Shape master = (Shape *) 0,
bool  autoUpdate = false 
)

A Cache object wrap another Shape in order to cause a cached representation in the rendering contexts.

virtual VRS::Cache::~Cache (  )  [virtual]

Unregisters all callbacks.


Member Function Documentation

void VRS::Cache::setMaster ( Shape master  ) 

Shape * VRS::Cache::getMaster (  )  const [inline]

The master shape is the shape to be cached.

void VRS::Cache::addObservedShape ( Shape shape  ) 

Add shape whose modified call should be observed.

virtual Bounds VRS::Cache::boundingBox (  )  const [virtual]

Returns the bounding-box of the master.

Implements VRS::Shape.

VRS::Cache::VRS_TYPEINFO ( Cache  ,
Shape   
)

VRS::Cache::VRS_SERIALIZABLE ( Cache   ) 

virtual void VRS::Cache::acceptChildren ( std::vector< Visitable * > &  appendChildrenHere  )  const [protected, virtual]

Reimplemented from VRS::Visitable.


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

Generated on Fri May 18 06:00:17 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact