Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkMeshVBO.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 #ifndef __mitkMeshVBO_h
00011 #define __mitkMeshVBO_h
00012 
00013 #include "mitkVisualization2Includes.h"
00014 
00015 class mitkMesh;
00016 class MITK_VISUALIZATION2_API mitkMeshVBO
00017 {
00018 public:
00019     unsigned m_VertVBO; 
00020     unsigned m_FaceVBO;
00021     unsigned m_EdgeVBO;
00022 
00023     unsigned m_VertexNum;
00024     unsigned m_FaceNum;
00025     unsigned m_EdgeNum;
00026 
00027     mitkMeshVBO();
00028     ~mitkMeshVBO();
00029 
00030     void BuildVBO(unsigned VertexNum, unsigned FaceNum, unsigned EdgeNum, float *Vertice, unsigned *Faces, unsigned *Edges);
00031     void BuildVBO(mitkMesh* mesh);
00032     void RenderVBO();
00033 };
00034 
00035 
00036 #endif 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3