32 #ifndef ActorTree_INCLUDE_ONCE 33 #define ActorTree_INCLUDE_ONCE 63 virtual int childrenCount()
const = 0;
99 void extractVisibleActors(
ActorCollection& list,
const Camera* camera,
unsigned enable_mask=0xFFFFFFFF);
Associates a Renderable object to an Effect and Transform.
ActorCollection * actors()
Returns the actors contained in a ActorTree node.
ActorTreeAbstract * mParent
const ActorTreeAbstract * parent() const
Returns the parent of a node.
void setEnabled(bool enabled)
If false then extractVisibleActors() will ignore this node and all its children.
const AABB & aabb() const
Returns the bounding box of a node. Such bounding box contains both the bounding boxes of the node's ...
Visualization Library main namespace.
const ActorCollection * actors() const
Returns the actors contained in a ActorTree node.
The AABB class implements an axis-aligned bounding box using vl::real precision.
The base class for all the reference counted objects.
An abstract class that represents all the objects that can be rendered.
The ActorTreeAbstract class implements the interface of a generic tree containing Actors in its nodes...
void setParent(ActorTreeAbstract *p)
For internal use only.
#define VLGRAPHICS_EXPORT
Defines the sequence of Shader objects used to render an Actor.
bool isEnabled() const
If false then extractVisibleActors() will ignore this node and all its children.
ActorTreeAbstract * parent()
Returns the parent of a node.
Defined as a simple subclass of Collection<Actor>, see Collection for more information.
#define VL_INSTRUMENT_ABSTRACT_CLASS(ClassName, BaseClass)
Represents a virtual camera defining, among other things, the point of view from which scenes can be ...