VR-Forces 5.0.1 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();
21 
22  virtual void updateBoundingVolumeBasedOnPosture();
23 
24 protected:
25 
27  virtual void tick();
28 
29 protected:
30 
33 
34 };
35 
36 
39 {
40 public:
41 
42  virtual DtSimObjectDecorator* createDecorator(const DtSimObject* o) const { throw makVrf::DtUnimplementedMethod("The DtHumanLocalObjectDecorator is not created for the DtSimObject."); };
44 
45  virtual const char* DecoratorType() const { return "DtHumanLocalObjectDecorator"; };
46 
47 };
Definition: stateDataTypes.h:23
The DtAggregateDecoratorCreator will create the appropriate type of aggregate proxy logic...
Definition: humanDecorator.h:38
virtual const char * DecoratorType() const
Definition: humanDecorator.h:45
DtLifeformState myPostureUsedForBoundingVolume
Definition: humanDecorator.h:31
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtLocalObjectDecorator * createDecorator(DtLocalObject *o) const
Definition: humanDecorator.h:43
virtual DtSimObjectDecorator * createDecorator(const DtSimObject *o) const
Definition: humanDecorator.h:42
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:79
DtHumanSimObjectFacade myHumanSimObjectFacade
Definition: humanDecorator.h:32
Definition: decoratorBase.h:53
Definition: decoratorBase.h:30
This class will contain logic to update the bounding volume based on posture when the logic ticks...
Definition: humanDecorator.h:14
Definition: decoratorBase.h:40
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)