VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
articulatedPartsLocalObjectFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
12 
13 class DtLocalObject;
14 
18 {
19 public:
21 
24 
25  bool isUsable() const;
26  bool hasArticulatedParts() const { return isUsable(); };
27 
28  makVrf::DtArticulatedPartStateRepository* addNextFramePart(DtArtPartType partType);
29  void removeNextFramePart(DtArtPartType partType);
30 
32  makVrf::DtArticulatedPartManager& nextFrameArticulatedPartsManager();
33  DtArticulatedPartCollection& nextFrameArtPartList();
34  const makVrf::DtArticulatedPartStateRepository* nextFramePart(DtArtPartType partType) const;
35  makVrf::DtArticulatedPartStateRepository* nextFramePart(DtArtPartType partType);
36 
37 protected:
38  virtual DtLocalObject* localObject() const = 0;
39  virtual void setupDecorator() {};
40 };
41 
The articulated part manager maintains a tree of articulated and attached parts for the state reposit...
Definition: articulatedPartManager.h:34
virtual void setupDecorator()
Definition: articulatedPartsLocalObjectFacade.h:39
DtLocalObjectFacade< DtArticulatedPartsSimObjectFacadeInterface, DtArticulatedPartsLocalObjectFacadeInterface > DtArticulatedPartsLocalObjectFacade
Definition: articulatedPartsLocalObjectFacade.h:42
bool hasArticulatedParts() const
Definition: articulatedPartsLocalObjectFacade.h:26
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
If inheriting from a base sim object proxy.
Definition: localObjectFacadeBase.h:32
This DtArticulatedPartsLocalObjectFacadeInterface class will provide API functionality for objects th...
Definition: articulatedPartsLocalObjectFacade.h:17
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.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)