7 #ifndef __surface_FlatTree_h__ 8 #define __surface_FlatTree_h__ 27 virtual void setRefinement(U32 a_refinement) {}
29 virtual void populate(
34 const Color* a_pColorArray,
35 const I32* a_pTriangleIndexArray,
36 const I32* a_pPointIndexArray,
37 const I32* a_pPrimitiveIndexArray,
38 const I32* a_pPartitionIndexArray,
39 U32 a_primitives,U32 a_vertices,
42 Real a_maxDistance,BWORD a_anyHit,U32 a_hitLimit,
48 Real a_maxDistance,BWORD a_anyHit,U32 a_hitLimit,
65 void nearestAccumulate(I32 a_face,I32 a_triangleIndex,
66 I32 a_primitiveIndex,I32 a_partitionIndex,
70 const I32* a_pPointIndex,
74 static void addHit(U32 a_hitLimit,
79 I32 a_face,I32 a_triangleIndex,
80 I32 a_primitiveIndex,I32 a_partitionIndex,
85 const Color& a_rColor,
87 const I32* a_pPointIndex,
96 return (rspHit1->distance() < rspHit2->distance());
100 void cacheSpheres(
void);
106 const Color* m_pColorArray;
107 const I32* m_pTriangleIndexArray;
108 const I32* m_pPointIndexArray;
109 const I32* m_pPrimitiveIndexArray;
110 const I32* m_pPartitionIndexArray;
kernel
Definition: namespace.dox:3
Special vector for color (RGBA)
Definition: Color.h:21
Triangular storage using a simple array.
Definition: SpatialTreeBase.h:20
Wrapper for std::vector.
Definition: Array.h:21
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Triangular storage using a simple array.
Definition: FlatTree.h:20