145#include <vrvCore/DtAgentCreator.h>
146#include <vrvCore/DtAgentFactory.h>
174 virtual makVrv::DtAgent*
createAgent(makVrv::DtAgentManagerInterface& sceneInterface)
override;
180 virtual makVrv::DtAgentUpdateResolverInterface*
createResolver(makVrv::DtDe&
de, makVrv::DtUniqueID
id)
override;
Defines DtFpsFirstPersonUpdater for managing first-person model view in FPS mode.
Defines DtFpsFirstPersonUpdaterAgent for remote control of first-person model updaters.
Implementations of agent and factory classes for the DtSceneObjectMimicUpdater.
DtFpsFirstPersonUpdaterAgent()
Default constructor.
virtual DtFpsFirstPersonUpdater * findObjectAsDtFpsFirstPersonUpdater() override
Implementation of the abstract method to find the controlled object.
virtual void setModelPitch(float pitch) override
Sets the pitch of the first-person model.
virtual void setPitchAxis(char axis) override
Sets the axis used for pitch rotation.
virtual void setBaseRotation(DtVector yawPitchRoll) override
Sets the base rotation for the first-person model.
virtual void setModelHeading(float heading) override
Sets the heading of the first-person model.
virtual ~DtFpsFirstPersonUpdaterAgentImplementation() override
Virtual destructor.
virtual void setPivotJoint(std::string jointName) override
Sets the pivot joint for model rotation.
virtual DtSceneObjectMimicUpdater * findObjectAsDtSceneObjectMimicUpdater() override
Finds the controlled object as DtSceneObjectMimicUpdater.
DtFpsFirstPersonUpdaterAgentImplementation()
Default constructor.
Class definition for the DtFpsFirstPersonUpdater.
Definition DtFpsFirstPersonUpdaterClasses.hpp:102
DtFpsFirstPersonUpdaterClassDefinition(const std::string &className="DtFpsFirstPersonUpdater")
Constructor.
FunctionIds
Unique function IDs used to store the state functions in a message.
Definition DtFpsFirstPersonUpdaterClasses.hpp:118
@ function_setModelPitch
ID for the setModelPitch function.
Definition DtFpsFirstPersonUpdaterClasses.hpp:120
@ function_setPitchAxis
ID for the setPitchAxis function.
Definition DtFpsFirstPersonUpdaterClasses.hpp:126
@ end_FunctionIds
Marks the end of the function IDs for this class.
Definition DtFpsFirstPersonUpdaterClasses.hpp:135
@ function_setPivotJoint
ID for the setPivotJoint function.
Definition DtFpsFirstPersonUpdaterClasses.hpp:132
@ function_setModelHeading
ID for the setModelHeading function.
Definition DtFpsFirstPersonUpdaterClasses.hpp:123
@ function_setBaseRotation
ID for the setBaseRotation function.
Definition DtFpsFirstPersonUpdaterClasses.hpp:129
virtual ~DtFpsFirstPersonUpdaterClassDefinition() override
Virtual destructor.
static makVrv::DtAgentCreator * create()
Static factory method to create a new creator instance.
virtual makVrv::DtAgent * createAgent(makVrv::DtAgentManagerInterface &sceneInterface) override
Creates an agent object for the DtFpsFirstPersonUpdater class.
DtFpsFirstPersonUpdaterClassesCreator()
Default constructor.
virtual makVrv::DtAgentUpdateResolverInterface * createResolver(makVrv::DtDe &de, makVrv::DtUniqueID id) override
Creates an updater resolver for the DtFpsFirstPersonUpdater class.
static bool theRegisteredFlag
Static flag indicating if this creator is registered with the factory.
Definition DtFpsFirstPersonUpdaterClasses.hpp:187
DtFpsFirstPersonUpdaterClassDefinition * myDefinition
Pointer to the class definition for DtFpsFirstPersonUpdater.
Definition DtFpsFirstPersonUpdaterClasses.hpp:184
virtual ~DtFpsFirstPersonUpdaterClassesCreator() override
Virtual destructor.
static makVrv::DtAgentFactory::DtAutoUnregistrar theAutoUnregistrar
Static auto-unregistrar to handle cleanup when the module is unloaded.
Definition DtFpsFirstPersonUpdaterClasses.hpp:190
Updater for first-person model control in FPS mode.
Definition DtFpsFirstPersonUpdater.h:29
DtSceneObjectMimicUpdaterAgentImplementation()
Constructor for the DtSceneObjectMimicUpdaterAgentImplementation.
@ end_FunctionIds
Marker for the end of the function ID enumeration.
Definition DtSceneObjectMimicUpdaterClasses.hpp:109
Scene object updater that mimics the position and orientation of another scene object.
Definition DtSceneObjectMimicUpdater.h:52
Defines export macros for the Human Frontend library.
#define HUMAN_DLL
Definition export.h:19
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.