VR-Engage  2.2
Loading...
Searching...
No Matches
DtFpsOrientationUpdaterAgent.hpp
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file DtFpsOrientationUpdaterAgent.hpp
7//! \brief Defines DtFpsOrientationUpdaterAgent for remote control of orientation updaters
8//! \ingroup vreHumanFrontend
9
10#pragma once
11
12#include "export.h"
13// *** Generated Code - Do Not Edit! ***
14// *** Created by dcgen ***
15
16
17#include <vrvCore/DtSceneObjectUpdaterAgent.hpp>
18
19namespace makVre
20{
21//! \brief Forward declaration of the orientation updater class
23
24//! \brief Agent class for remote control of DtFpsOrientationUpdater objects
25//!
26//! DtFpsOrientationUpdaterAgent provides a distributed interface for controlling
27//! DtFpsOrientationUpdater objects. It enables remote control of model orientation
28//! across distributed rendering systems. This agent forwards calls to the actual
29//! updater object, handling distribution when needed.
30class HUMAN_DLL DtFpsOrientationUpdaterAgent : public virtual makVrv::DtSceneObjectUpdaterAgent
31{
32public:
33 //! \brief Default constructor
35
36 //! \brief Static helper method to create an instance of this agent
37 //! \param sceneInterface Reference to the agent manager interface
38 //! \param bDistribute Flag indicating whether to distribute this agent
39 //! \return Pointer to a newly created agent instance
40 static DtFpsOrientationUpdaterAgent* create(makVrv::DtAgentManagerInterface& sceneInterface, bool bDistribute = true);
41
42 //! \brief Virtual destructor
44
45 //! \brief Finds the actual updater object this agent is controlling
46 //! \return Pointer to the controlled DtFpsOrientationUpdater object
47 //! \warning Any direct modifications to the actual object will NOT work when
48 //! using distributed rendering
50
51 //! \brief Finds the actual updater object this agent is controlling (const version)
52 //! \return Const pointer to the controlled DtFpsOrientationUpdater object
53 //! \warning Any direct modifications to the actual object will NOT work when
54 //! using distributed rendering
56
57 //! \brief Sets the heading of the model
58 //! \param heading Heading angle in degrees
59 //! \param useYaw Flag indicating whether to use yaw rotation or direct orientation
60 //!
61 //! Controls the heading rotation of the model. When useYaw is true, the heading is
62 //! applied as a yaw rotation. Otherwise, it's applied as a direct orientation change.
63 virtual void setModelHeading(double heading, bool useYaw) = 0;
64
65
66protected:
67 //! \brief Implementation method to find the controlled object as DtFpsOrientationUpdater
68 //! \return Pointer to the controlled DtFpsOrientationUpdater object
70};
71
72}
73
virtual ~DtFpsOrientationUpdaterAgent() override
Virtual destructor.
const DtFpsOrientationUpdater * findObject() const
Finds the actual updater object this agent is controlling (const version)
virtual void setModelHeading(double heading, bool useYaw)=0
Sets the heading of the model.
static DtFpsOrientationUpdaterAgent * create(makVrv::DtAgentManagerInterface &sceneInterface, bool bDistribute=true)
Static helper method to create an instance of this agent.
virtual DtFpsOrientationUpdater * findObjectAsDtFpsOrientationUpdater()=0
Implementation method to find the controlled object as DtFpsOrientationUpdater.
DtFpsOrientationUpdater * findObject()
Finds the actual updater object this agent is controlling.
DtFpsOrientationUpdaterAgent()
Default constructor.
Updater for controlling orientation in first-person shooter mode.
Definition DtFpsOrientationUpdater.h:45
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