VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanDecorator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
11 #include <vlpi/disEnums.h>
12 
15 {
16 public:
17 
19 
20  virtual ~DtHumanLocalObjectDecorator() override;
21 
22  virtual void updateBoundingVolumeBasedOnPosture();
23 
24 protected:
25 
27  virtual void tick() override;
28 
31  virtual DtLifeformState determinePostureForBoundingVolume() const;
32 
33 protected:
34 
37 
38 };
39 
40 
43 {
44 public:
45 
46  virtual DtSimObjectDecorator* createDecorator(const DtSimObject* o) const override
47  { throw makVrf::DtUnimplementedMethod("The DtHumanLocalObjectDecorator is not created for the DtSimObject."); };
49  { return new DtHumanLocalObjectDecorator(o); };
50 
51  virtual const char* DecoratorType() const override { return "DtHumanLocalObjectDecorator"; };
52 
53 };
Definition: stateDataTypes.h:23
virtual const char * DecoratorType() const override
Definition: humanDecorator.h:51
The DtAggregateDecoratorCreator will create the appropriate type of aggregate proxy logic...
Definition: humanDecorator.h:42
DtLifeformState myPostureUsedForBoundingVolume
Definition: humanDecorator.h:35
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Contains the DtHumanSimObjectFacadeInterface class declaration.
virtual void tick()
Override to perform a tick durning advance frame.
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
virtual DtLocalObjectDecorator * createDecorator(DtLocalObject *o) const override
Definition: humanDecorator.h:48
DtHumanSimObjectFacade myHumanSimObjectFacade
Definition: humanDecorator.h:36
Definition: decoratorBase.h:57
Definition: decoratorBase.h:30
virtual DtSimObjectDecorator * createDecorator(const DtSimObject *o) const override
Definition: humanDecorator.h:46
This class will contain logic to update the bounding volume based on posture when the logic ticks...
Definition: humanDecorator.h:14
Definition: decoratorBase.h:44
A locally simulated VRF object.
Definition: localObject.h:98

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)