116 NodeData(
void) : addr(0) {}
123 void getFromIndex (
S32 idx);
127 void growParentBox ();
133 void drawNodes (
GLContext* gl,
bool onlyChildren);
140 void drawBox (
GLContext* gl,
const NodeData &node,
U32 abgr);
159 void setColorMapping ();
164 void prepareTreeData (
S32 node);
Class for the visualization.
CUdevice int ordinal char int CUdevice dev CUdevprop CUdevice dev CUcontext ctx CUcontext ctx CUcontext pctx CUmodule const void image CUmodule const void fatCubin CUfunction CUmodule const char name void p CUfunction unsigned int bytes CUtexref pTexRef CUtexref CUarray unsigned int Flags CUtexref int CUaddress_mode am CUtexref unsigned int Flags CUaddress_mode CUtexref int dim CUarray_format int CUtexref hTexRef CUfunction unsigned int numbytes CUfunction int float value CUfunction int CUtexref hTexRef CUfunction int int grid_height CUevent unsigned int Flags CUevent hEvent CUevent hEvent CUstream unsigned int Flags CUstream hStream GLuint bufferobj unsigned int CUdevice dev CUdeviceptr unsigned int CUmodule const char name CUdeviceptr unsigned int bytesize CUdeviceptr dptr void unsigned int bytesize void CUdeviceptr unsigned int ByteCount CUarray unsigned int CUdeviceptr unsigned int ByteCount CUarray unsigned int const void unsigned int ByteCount CUarray unsigned int CUarray unsigned int unsigned int ByteCount void CUarray unsigned int unsigned int CUstream hStream const CUDA_MEMCPY2D pCopy CUdeviceptr const void unsigned int CUstream hStream const CUDA_MEMCPY2D CUstream hStream CUdeviceptr unsigned char unsigned int N CUdeviceptr unsigned int unsigned int N CUdeviceptr unsigned int unsigned short unsigned int unsigned int Height CUarray const CUDA_ARRAY_DESCRIPTOR pAllocateArray CUarray const CUDA_ARRAY3D_DESCRIPTOR pAllocateArray unsigned int CUtexref CUdeviceptr unsigned int bytes CUcontext unsigned int CUdevice device GLenum texture GLenum GLuint buffer
void draw(GLContext *gl, CameraControls &camera)
The method used to draw the current state of visualization to the OpenGL context. ...
void moveDown()
Sets the node to be visualized to be the succesor of the currently visualized node on the set path...
void moveUp()
Sets the node to be visualized to be the predecesor of the currently visualized node on the set path...
void moveToRight()
Sets the node to be visualized to be the right child of the currently visualized node.
Visualisation framework abstract class above BVH/KDTree visualisations.
void moveToLeft()
Sets the node to be visualized to be the left child of the currently visualized node.
void moveToSibling()
Sets the node to be visualized to be the sibling of the currently visualized node.
Ray buffer class. Stores rays.
void moveToParent()
Sets the node to be visualized to be the parent of the currently visualized node. ...
VisualizationBVH(CudaBVH *bvh, Scene *scene, const Array< AABB > &emptyBoxes, const RayBuffer *rays=NULL, Buffer *visibility=NULL)
Constructor.
Class holding information about a split of a BVH node.
virtual bool handleEvent(const Window::Event &ev)
Handles visualization events - key commands influencing the output.
Class for the BVH visualization.
~VisualizationBVH(void)
Destructor.