7 #ifndef __surface_MapTree_h__ 8 #define __surface_MapTree_h__ 34 virtual void setRefinement(U32 a_refinement) { m_refinement=a_refinement; }
36 virtual void populate(
41 const Color* a_pColorArray,
42 const I32* a_pTriangleIndexArray,
43 const I32* a_pPointIndexArray,
44 const I32* a_pPrimitiveIndexArray,
45 const I32* a_pPartitionIndexArray,
46 U32 a_primitives,U32 a_vertices,
49 Real a_maxDistance,BWORD a_anyHit,U32 a_hitLimit,
55 Real a_maxDistance,BWORD a_anyHit,U32 a_hitLimit,
64 U32 a_hitLimit)
const;
66 std::vector< sp<SpatialTreeI> > m_treeArray;
67 std::vector< std::vector<Vector3i> > m_elementArrays;
71 void populateSubTree(I32 a_treeIndex);
77 const Color* m_pColorArray;
78 const I32* m_pTriangleIndexArray;
79 const I32* m_pPointIndexArray;
80 const I32* m_pPrimitiveIndexArray;
81 const I32* m_pPartitionIndexArray;
87 class Populator:
public Thread::Functor
92 m_spJobQueue(a_spJobQueue),
98 { m_spMapTree=spMapTree; }
kernel
Definition: namespace.dox:3
Special vector for color (RGBA)
Definition: Color.h:21
Triangular storage using a simple array.
Definition: SpatialTreeBase.h:20
Automatically reference-counted string container.
Definition: String.h:128
Map of named subtrees.
Definition: MapTree.h:27
Wrapper for std::vector.
Definition: Array.h:21
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53