VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
16 
17 namespace makVrv
18 {
29  {
30  public:
32  DtInstance_64();
33 
35  DtInstance_64(int modelId, const Matrix4_64& xform);
36  public:
38  int myModelId;
39 
42  };
43 
60  {
61  public:
63  DtInstance();
64 
66  DtInstance(int modelId, int instanceId, const Matrix4_32& xform);
67 
69  int id() const;
71  void setId(int instanceId);
72 
74  int modelId() const;
75 
77  int visible(void) const;
79  void setVisible(int vis);
80 
82  int data(void) const;
84  void setData(int i);
85 
87  void setXForm(const Matrix4_32& xform);
88  protected:
89  Vector4_int myIds; // instance id, model id, visible, other stuff
91  };
92 
93  typedef std::vector<DtInstance> Instances;
94 }
95 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)