Home | History | Annotate | Download | only in BVH

Lines Matching refs:Index

76   typedef int Index;
127 /** \returns the index of the root of the hierarchy */
128 inline Index getRootIndex() const { return (int)boxes.size() - 1; }
130 /** Given an \a index of a node, on exit, \a outVBegin and \a outVEnd range over the indices of the volume children of the node
132 EIGEN_STRONG_INLINE void getChildren(Index index, VolumeIterator &outVBegin, VolumeIterator &outVEnd,
135 if(index < 0) {
145 int idx = index * 2;
146 if(children[idx + 1] < numBoxes) { //second index is always bigger
163 /** \returns the bounding box of the node at \a index */
164 inline const Volume &getVolume(Index index) const
166 return boxes[index];
215 std::vector<int> children; //children of x are children[2x] and children[2x+1], indices bigger than boxes.size() index into objects.