Poster of Linux kernelThe best gift for a Linux geek
tlp::GlSphere

tlp::GlSphere

Section: Tulip Open GL Library (3) Updated: 19 Jul 2010
Local index Up
 

NAME

tlp::GlSphere -  

SYNOPSIS


#include <GlSphere.h>

Inherits tlp::GlSimpleEntity.  

Public Member Functions


GlSphere ()

GlSphere (const Coord &position, float radius, const Color &color=Color(0, 0, 0, 255), float rotX=0, float rotY=0, float rotZ=0)

GlSphere (const Coord &position, float radius, const std::string &textureFile, int alpha=255, float rotX=0, float rotY=0, float rotZ=0)

virtual void draw (float lod, Camera *camera)

virtual void translate (const Coord &mouvement)

virtual void getXML (xmlNodePtr rootNode)

virtual void setWithXML (xmlNodePtr rootNode)
 

Constructor & Destructor Documentation

 

tlp::GlSphere::GlSphere () [inline]

 

tlp::GlSphere::GlSphere (const Coord & position, float radius, const Color & color = Color(0, 0, 0, 255), float rotX = 0, float rotY = 0, float rotZ = 0)Create a sphere with a position, a radius a fill color and multiple rotation (if you want)

 

tlp::GlSphere::GlSphere (const Coord & position, float radius, const std::string & textureFile, int alpha = 255, float rotX = 0, float rotY = 0, float rotZ = 0)Create a sphere with a position, a radius, a texture, an alphe and multiple rotation (if you want)

 

Member Function Documentation

 

virtual void tlp::GlSphere::draw (float lod, Camera * camera) [virtual]Draw the sphere

Implements tlp::GlSimpleEntity.  

virtual void tlp::GlSphere::getXML (xmlNodePtr rootNode) [virtual]Function to export data in XML

Implements tlp::GlSimpleEntity.  

virtual void tlp::GlSphere::setWithXML (xmlNodePtr rootNode) [virtual]Function to set data with XML

Implements tlp::GlSimpleEntity.  

virtual void tlp::GlSphere::translate (const Coord & mouvement) [virtual]Translate entity

Reimplemented from tlp::GlSimpleEntity.

 

Author

Generated automatically by Doxygen for Tulip Open GL Library from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Constructor & Destructor Documentation
tlp::GlSphere::GlSphere () [inline]
tlp::GlSphere::GlSphere (const Coord & position, float radius, const Color & color = Color(0, 0, 0, 255), float rotX = 0, float rotY = 0, float rotZ = 0)Create a sphere with a position, a radius a fill color and multiple rotation (if you want)
tlp::GlSphere::GlSphere (const Coord & position, float radius, const std::string & textureFile, int alpha = 255, float rotX = 0, float rotY = 0, float rotZ = 0)Create a sphere with a position, a radius, a texture, an alphe and multiple rotation (if you want)
Member Function Documentation
virtual void tlp::GlSphere::draw (float lod, Camera * camera) [virtual]Draw the sphere
virtual void tlp::GlSphere::getXML (xmlNodePtr rootNode) [virtual]Function to export data in XML
virtual void tlp::GlSphere::setWithXML (xmlNodePtr rootNode) [virtual]Function to set data with XML
virtual void tlp::GlSphere::translate (const Coord & mouvement) [virtual]Translate entity
Author

This document was created by man2html, using the manual pages.
Time: 22:28:16 GMT, April 16, 2011