version 3.3

VRS::CullingAttribute Class Reference

! Abstract base class for culling attributes. More...

#include <vrs/cullingattribute.h>

Inheritance diagram for VRS::CullingAttribute:

VRS::PolyAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable VRS::FarPlaneCullingAttribute VRS::SceneSpaceCullingAttribute VRS::SphericalCullingAttribute

List of all members.

Public Member Functions

virtual ViewInfo::CullingPos cull (const Bounds &bounds, const SO< ViewInfo const > &viewInfo) const =0
 ! Returns whether the given volume is eather indide, outside or both relatvie to this culling object.
ViewInfo::CullingPos cull (const Vector &pos, const SO< ViewInfo const > &viewInfo) const
 ! Create a degenerated volumen from pos and calls above method.
virtual ID category () const
 ! Inherited from PolyAttribute.
 VRS_TYPEINFO (CullingAttribute, PolyAttribute)


Detailed Description

! Abstract base class for culling attributes.

Culling attributes inserted into the scene graph will affect the result of any subsequent calls to ViewInfo::culling.


Member Function Documentation

virtual ViewInfo::CullingPos VRS::CullingAttribute::cull ( const Bounds bounds,
const SO< ViewInfo const > &  viewInfo 
) const [pure virtual]

! Returns whether the given volume is eather indide, outside or both relatvie to this culling object.

Implemented in VRS::FarPlaneCullingAttribute, VRS::SceneSpaceCullingAttribute, and VRS::SphericalCullingAttribute.

ViewInfo::CullingPos VRS::CullingAttribute::cull ( const Vector pos,
const SO< ViewInfo const > &  viewInfo 
) const

! Create a degenerated volumen from pos and calls above method.

virtual ID VRS::CullingAttribute::category (  )  const [virtual]

! Inherited from PolyAttribute.

Reimplemented from VRS::Attribute.

VRS::CullingAttribute::VRS_TYPEINFO ( CullingAttribute  ,
PolyAttribute   
)


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

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