Developer Documentation
Loading...
Searching...
No Matches
ACG::GLLineBox Class Reference
Inheritance diagram for ACG::GLLineBox:
ACG::GLPrimitive

Public Member Functions

int getNumTriangles () override
 
int getNumLines () override
 
- Public Member Functions inherited from ACG::GLPrimitive
void draw_primitive ()
 
void draw_primitive (GLSL::Program *_program)
 
void addToRenderer_primitive (class IRenderer *_renderer, struct RenderObject *_ro)
 
unsigned int getVBO ()
 
const VertexDeclarationgetVertexDecl () const
 

Private Member Functions

void updateVBO () override
 

Additional Inherited Members

- Public Types inherited from ACG::GLPrimitive
enum  NormalOrientation { OUTSIDE , INSIDE }
 
- Protected Member Functions inherited from ACG::GLPrimitive
void addTriangleToVBO (const ACG::Vec3f *_p, const ACG::Vec3f *_n, const ACG::Vec2f *_tex)
 
void addLineToVBO (const ACG::Vec3f *_p, const ACG::Vec3f *_n, const ACG::Vec2f *_tex)
 
void bindVBO ()
 
bool checkVBO ()
 
void unBindVBO ()
 
- Protected Attributes inherited from ACG::GLPrimitive
bool vboDataInvalid_
 
NormalOrientation normalOrientation_
 

Detailed Description

Definition at line 276 of file GLPrimitives.hh.

Constructor & Destructor Documentation

◆ GLLineBox()

ACG::GLLineBox::GLLineBox ( )

Definition at line 984 of file GLPrimitives.cc.

◆ ~GLLineBox()

ACG::GLLineBox::~GLLineBox ( )

Definition at line 989 of file GLPrimitives.cc.

Member Function Documentation

◆ getNumLines()

int ACG::GLLineBox::getNumLines ( )
overridevirtual

Reimplemented from ACG::GLPrimitive.

Definition at line 1000 of file GLPrimitives.cc.

◆ getNumTriangles()

int ACG::GLLineBox::getNumTriangles ( )
overridevirtual

Implements ACG::GLPrimitive.

Definition at line 995 of file GLPrimitives.cc.

◆ updateVBO()

void ACG::GLLineBox::updateVBO ( )
overrideprivatevirtual

Implements ACG::GLPrimitive.

Definition at line 1007 of file GLPrimitives.cc.


The documentation for this class was generated from the following files: