40 #ifndef _graphicsbillboardsetproxy_h
41 #define _graphicsbillboardsetproxy_h
47 #include "Graphics/graphicsenumerations.h"
48 #include "colourvalue.h"
82 virtual void ProtoSerializeImpl(
XML::Node& SelfRoot)
const;
84 virtual void ProtoDeSerializeImpl(
const XML::Node& SelfRoot);
88 virtual void CreateBillboardSet(
const UInt32 InitialPoolSize);
91 virtual void DestroyBillboardSet();
126 virtual UInt32 GetNumBillboards()
const;
129 virtual void DestroyBillboard(
Billboard* ToBeDestroyed);
131 virtual void DestroyAllBillboards();
138 virtual void SetAutoExtend(
const Boole AutoExtend);
141 virtual Boole GetAutoExtend()
const;
144 virtual void SetAccurateFacing(
const Boole AccFace);
147 virtual Boole GetAccurateFacing()
const;
150 virtual void SetPoolSize(
const UInt32 Size);
153 virtual UInt32 GetPoolSize()
const;
177 virtual void SetDefaultDimensions(
const Real Width,
const Real Height);
180 virtual void SetDefaultWidth(
const Real Width);
183 virtual Real GetDefaultWidth()
const;
186 virtual void SetDefaultHeight(
const Real Height);
189 virtual Real GetDefaultHeight()
const;
194 virtual void SetCommonDirection(
const Vector3& Dir);
197 virtual Vector3 GetCommonDirection()
const;
201 virtual void SetCommonUpVector(
const Vector3& UpDir);
204 virtual Vector3 GetCommonUpVector()
const;
209 virtual void SetMaterialName(
const String& MatName);
213 virtual String GetMaterialName()
const;
219 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
222 virtual void ProtoSerializeBillboards(
XML::Node& SelfRoot)
const;
225 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
228 virtual void ProtoDeSerializeBillboards(
const XML::Node& SelfRoot);
231 virtual String GetDerivedSerializableName()
const;
233 static String GetSerializableName();
241 virtual Ogre::BillboardSet* _GetGraphicsObject()
const;
243 virtual Ogre::MovableObject* _GetBaseGraphicsObject()
const;
BillboardContainer::const_iterator ConstBillboardIterator
Const Iterator type for Billboard instances stored by this class.
bool Boole
Generally acts a single bit, true or false.
This class contains utilities and functions to allow the manipulation of the Graphical scene...
This is the proxy class for placing and manipulating a set of 2D billboards in the scene...
std::list< Billboard * > BillboardContainer
Basic container type for Billboard storage by this class.
This file contains the declaration for the base class from which graphics proxies inherit...
static ColourValue White()
Creates a ColourValue representing the colour White.
BillboardContainer::iterator BillboardIterator
Iterator type for Billboard instances stored by this class.
Ogre::BillboardSet * GraphicsBillboardSet
A pointer to the internal BillboardSet this proxy is based on.
This is the base proxy class for world proxies wrapping functionality of the graphics subsystem...
BillboardContainer Billboards
Container storing all of the Billboard instances created by this proxy.
This is a simple class for holding 4 reals representing the colour any give object or lightsource can...
This is the proxy class for placing and manipulating a set of 2D billboards in the scene...
BillboardOrigin
This is used by the BillboardSetProxy to describe which part of the billboard will be treated as the ...
float Real
A Datatype used to represent a real floating point number.
A light-weight handle for manipulating nodes in DOM tree.
ProxyType
Used by all World proxies to describe what their derived types are.
uint32_t UInt32
An 32-bit unsigned integer.
This is used to represent a point in space, or a vector through space.
The bulk of the engine components go in this namspace.
BillboardType
This is used by BillboardSetProxies to describe how the billboards are to be oriented.
std::string String
A datatype used to a series of characters.
BillboardRotation
This is used by the BillboardSetProxy to decide how billboards should be rotated when they are reques...