VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGeometrySpecification.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
12 
15 
16 #include <vector>
17 #include <iostream>
18 
19 namespace makVrv
20 {
26  {
27  public:
30  };
31 
39 
54  {
55  public:
57  DtGeometrySpecification(int indexOffset, int indexCount, int firstVertex,
58  int state, const AxisAlignedBoundingBox_32& box);
59 
62  int indicesOffset() const;
63 
65  int indicesCount() const;
66 
69  int firstVertex() const;
70 
72  int state() const;
73  public:
76 
79  private:
82  };
83 
85  typedef std::vector<DtGeometrySpecification> DtGeometrySpecVector;
86 
88  DT_DLL_VRVINDIRECTRENDERING std::ostream& operator <<(std::ostream& outPutStream, const DtGeometrySpecification& spec);
89 }
90 
91 
Structure that is packed for consumption by GPU for indirect rendering.
Definition: DtGeometrySpecification.h:53
Structure that stores the AABB for direct consumption by GPU for indirect rendering Its based on Vect...
Definition: DtGeometrySpecification.h:25
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(DtMessage &msg, const makVrf::DtNetworkMessageAgentInterface &)
Dll export defines.
DtGpuAxisAlignedBoundingBox myBox
The AABB in a structure that can be consumed directly by the GPU.
Definition: DtGeometrySpecification.h:78
4 dimensional vector
#define DT_DLL_VRVINDIRECTRENDERING
Definition: vrvIndirectRendering.h:19
Template for 32/64 bit Axis Aligned bounding boxesnot virtual because its stored as is on the GPU...
Definition: DtAxisAlignedBoundingBox.h:27
Axis Aligned Bounding Box class.
Vector4_32 myVectorMin
Definition: DtGeometrySpecification.h:28
std::vector< DtGeometrySpecification > DtGeometrySpecVector
Each model type can have a number of geometries.
Definition: DtGeometrySpecification.h:85
Vector4_int myIndicesInfo
The vertex/index information for this spec.
Definition: DtGeometrySpecification.h:75
Vector4_32 myVectorMax
Definition: DtGeometrySpecification.h:29

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)