dtActors::DeltaObjectActorProxy Class Reference

This proxy wraps the Delta3D Object. More...

#include <deltaobjectactorproxy.h>

Inheritance diagram for dtActors::DeltaObjectActorProxy:

dtDAL::PhysicalActorProxy dtDAL::TransformableActorProxy dtDAL::ActorProxy dtActors::MeshTerrainActorProxy dtActors::StaticMeshActorProxy

List of all members.

Public Member Functions

 DeltaObjectActorProxy ()
 Constructor.
virtual void BuildPropertyMap ()
 Adds the properties that are common to all Delta3D physical objects.
virtual void LoadFile (const std::string &fileName)=0
 This method is responsible for loading a mesh file and any other associated data.

Protected Member Functions

virtual void CreateActor ()
 Creates a Delta3D object actor.
virtual ~DeltaObjectActorProxy ()
 Destructor.


Detailed Description

This proxy wraps the Delta3D Object.

Constructor & Destructor Documentation

dtActors::DeltaObjectActorProxy::DeltaObjectActorProxy (  )  [inline]

Constructor.

virtual dtActors::DeltaObjectActorProxy::~DeltaObjectActorProxy (  )  [inline, protected, virtual]

Destructor.


Member Function Documentation

void dtActors::DeltaObjectActorProxy::BuildPropertyMap (  )  [virtual]

Adds the properties that are common to all Delta3D physical objects.

Reimplemented from dtDAL::PhysicalActorProxy.

Reimplemented in dtActors::MeshTerrainActorProxy, and dtActors::StaticMeshActorProxy.

virtual void dtActors::DeltaObjectActorProxy::LoadFile ( const std::string &  fileName  )  [pure virtual]

This method is responsible for loading a mesh file and any other associated data.

This method is abstract to ensure that more specific classes are created from this one. A Delta3D object is very generic therefore, even if the subclass does something as simple as loading a mesh, at least it can be identified in a more concrete manor.

Parameters:
fileName The path to the file to load.
Note:
This method could be as simple as merely calling the dtCore::Object::LoadFile, or could be complicated. For an example of a more detailed LoadFile implementation see the StaticMeshActorProxy.
See also:
StaticMeshActorProxy

Implemented in dtActors::MeshTerrainActorProxy, and dtActors::StaticMeshActorProxy.

void dtActors::DeltaObjectActorProxy::CreateActor (  )  [protected, virtual]

Creates a Delta3D object actor.

Implements dtDAL::PhysicalActorProxy.

Reimplemented in dtActors::MeshTerrainActorProxy, and dtActors::StaticMeshActorProxy.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008