NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | Friends | List of all members
IVboGeom Class Referenceabstract

Search Toolkit Book for IVboGeom

#include <gui/opengl/ivbogeom.hpp>

+ Inheritance diagram for IVboGeom:

Public Types

enum  EVertexFormat { kVertexFormatNone = -1 , kVertexFormatVertex2D , kVertexFormatVertex3D }
 
enum  ESecondaryFormat {
  kSecondaryFormatNone = -1 , kSecondaryFormatColorFloat , kSecondaryFormatColorUChar , kSecondaryFormatTexture2D ,
  kSecondaryFormatTexture1D
}
 

Public Member Functions

virtual ~IVboGeom ()
 
virtual string GetName () const =0
 
virtual void Render (const float *modelView)=0
 Render data in buffers. More...
 
virtual GLenum GetDrawMode () const =0
 
virtual EVertexFormat GetVertexFormat () const =0
 
virtual ESecondaryFormat GetSecondaryFormat () const =0
 
virtual size_t GetVertexCount () const =0
 
virtual void SetVertexBuffer2D (const vector< CVect2< float > > &data)=0
 
virtual void GetVertexBuffer2D (vector< CVect2< float > > &data) const =0
 
virtual void SetVertexBuffer3D (const vector< CVect3< float > > &data)=0
 
virtual void GetVertexBuffer3D (vector< CVect3< float > > &data) const =0
 
virtual void SetColorBuffer (const vector< CRgbaColor > &data)=0
 
virtual void GetColorBuffer (vector< CRgbaColor > &data) const =0
 
virtual void SetColorBufferUC (const vector< CVect4< unsigned char > > &data)=0
 
virtual void GetColorBufferUC (vector< CVect4< unsigned char > > &data) const =0
 
virtual void SetTexCoordBuffer1D (const vector< float > &data)=0
 
virtual void GetTexCoordBuffer1D (vector< float > &data) const =0
 
virtual void SetTexCoordBuffer (const vector< CVect2< float > > &data)=0
 
virtual void GetTexCoordBuffer (vector< CVect2< float > > &data) const =0
 

Private Member Functions

virtual void x_SetDrawMode (GLenum drawMode)=0
 

Friends

class CRenderCommon
 

Detailed Description

Definition at line 53 of file ivbogeom.hpp.


The documentation for this class was generated from the following file:
Modified on Sun Jun 23 05:17:04 2024 by modify_doxy.py rev. 669887