VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtExampleProjectile Class Reference
Inheritance diagram for makVrv::DtExampleProjectile:
Inheritance graph
[legend]

Classes

struct  DetonationData
 
struct  SplashData
 

Public Member Functions

 DtExampleProjectile (makVrv::DtAgentManager &am)
 
virtual ~DtExampleProjectile ()
 
- Public Member Functions inherited from makVrv::DtDriver
 DtDriver (DtAgentManager &agentManager, const std::string &instanceName)
 
virtual ~DtDriver ()
 
virtual void realizeConfiguration (const DtConfiguration &configuration)
 
virtual DtConfiguration createConfiguration (bool saveAllParameters=false) const
 
DtAgentManageragentManager ()
 
virtual DtAgentManagerInterfacesceneInterface ()
 
bool started () const
 
virtual const std::string & instanceName () const
 
virtual bool autoStart () const
 
virtual void setAutoStart (bool autoStart)
 
virtual bool isWindowDependent () const
 
virtual void setIsWindowDependent (bool dep)
 
virtual void setIsUserControllable (bool)
 
virtual bool isUserControllable () const
 
virtual void setIsPersistent (bool per)
 
virtual bool isPersistent () const
 
virtual bool isOnDriverSelectionList () const
 
virtual void setOnDriverSelectionList (bool)
 
bool objectFromAgentManager (const DtUniqueID &id) const
 

Protected Types

typedef std::list< DetonationDataDetonationList
 
typedef std::list< SplashDataSplashList
 

Protected Member Functions

virtual void processIntersection (const DtIntersectorResult &isect, double speed)
 
virtual void createDetonation (const DtVector &position)
 
virtual void createSplash (const DtVector &position, double speed)
 
- Protected Member Functions inherited from makVrv::DtDriver
void applyChangesAndDelete (DtElementChanges *changes)
 
void reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type)
 
void reportElementAttribute (DtElementID id, DtElementAttribute *attribute)
 
void reportElementDestroyed (DtElementID id)
 
void start ()
 
void stop ()
 
bool tick ()
 
virtual void setInstanceName (const std::string &name)
 
virtual void installAccessories ()
 
virtual void uninstallAccessories ()
 

Protected Attributes

DtObserverShootermyObserverShooter
 
DetonationList myDetonationObjects
 
SplashList mySplashObjects
 
- Protected Attributes inherited from makVrv::DtDriver
DtAgentManagermyAgentManager
 
bool myStartedFlag
 
std::string myName
 
DtConfiguration myConfiguration
 
bool myPersistentFlag
 
bool myUserControllableFlag
 
bool myRequestStateDiffPendingFlag
 
DtElementChanges myChanges
 

Methods Inherited from makVrv::DtDriver

virtual const std::string & className () const
 
virtual bool onStart ()
 
virtual bool onStop ()
 
virtual bool onTick ()
 
virtual void slot_displayEngineAdded (const makVrv::DtDeRecord &igRecord)
 

Additional Inherited Members

- Static Protected Attributes inherited from makVrv::DtDriver
static const std::string theOnDriverSelectionList
 

Member Typedef Documentation

Detonation list type.

Detonation (water) list type.

Constructor & Destructor Documentation

makVrv::DtExampleProjectile::DtExampleProjectile ( makVrv::DtAgentManager am)

CTOR.

virtual makVrv::DtExampleProjectile::~DtExampleProjectile ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual const std::string& makVrv::DtExampleProjectile::className ( ) const
virtual

Returns the driver's class name.

See Also
makVrv::DtDriver::className() const

Implements makVrv::DtDriver.

virtual bool makVrv::DtExampleProjectile::onStart ( )
protectedvirtual

Performs startup logic for the driver.

See Also
makVrv::DtDriver::start()

Implements makVrv::DtDriver.

virtual bool makVrv::DtExampleProjectile::onStop ( )
protectedvirtual

Performs shutdown logic for the driver.

See Also
makVrv::DtDriver::stop()

Implements makVrv::DtDriver.

virtual bool makVrv::DtExampleProjectile::onTick ( )
protectedvirtual

Performs update logic for the driver.

See Also
makVrv::DtDriver::tick()

Implements makVrv::DtDriver.

virtual void makVrv::DtExampleProjectile::slot_displayEngineAdded ( const makVrv::DtDeRecord igRecord)
protectedvirtual

Ensures the driver is properly restarted when a de is connected (such as a remote display engine).

See Also
makVrv::DtDriver::slot_displayEngineAdded( const makVrv::DtDeRecord& )

Reimplemented from makVrv::DtDriver.

virtual void makVrv::DtExampleProjectile::processIntersection ( const DtIntersectorResult isect,
double  speed 
)
protectedvirtual

Process an intersection from a projectile.

virtual void makVrv::DtExampleProjectile::createDetonation ( const DtVector &  position)
protectedvirtual

Create the detonation (set position, model definition, add the detonation)

virtual void makVrv::DtExampleProjectile::createSplash ( const DtVector &  position,
double  speed 
)
protectedvirtual

Create a detonation over water (set position, model definition, add the detonation)

Member Data Documentation

DtObserverShooter* makVrv::DtExampleProjectile::myObserverShooter
protected

Shooter observer reference.

DetonationList makVrv::DtExampleProjectile::myDetonationObjects
protected

Detonation list.

SplashList makVrv::DtExampleProjectile::mySplashObjects
protected

Detonation (water) list.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)