In file src/H_Object.h:

class OFFObject


Public Classes

[more]class Vertex
[more]class Polygon
[more]class Buffer

Public Fields

[more]static bool UseOptimizedDraw

Public Methods

[more] OFFObject()
[more] ~OFFObject()
[more]void readfile(const char* FileName)
[more]void writefile(const char* FileName)
[more]void debug_dump()
[more]void InitMyData()
[more]void draw(const Ref &Position = Ref())
[more]bool IsInit()
[more]REAL GetMaxDist()
[more]void InvertNormals()
[more]void Center()
[more]void Scale(const Point3D &scale)
[more]void Rotate(const Point3D &K)
[more]void Translate(const Point3D &K)
[more]void SetShading(bool AIsSmooth)
[more]bool GetShading()

Private Fields

[more]bool IsSmooth
[more]Texture* MyTexture
[more]int CompiledList
[more]int CompiledList_NoMaterial
[more]HVector<Vertex> MyOFFVertexes
[more]HVector<Polygon> MyOFFPolygons
[more]HVector<unsigned int> TriIndexes

Private Methods

[more]void Allocate(unsigned int NbVertex, unsigned int NbPolygons)
[more]void Release()
[more]void BuildCompiledLists()
[more]void GLdraw(bool UseMaterial = true)
[more]void GLdraw_NoOpt(bool UseMaterial = true)
[more]class Buffer friend istream& operator >> (istream &in, OFFObject::Vertex &AVertex)
[more]friend ostream& operator << (ostream &out, const OFFObject::Vertex &AVertex)
[more]friend istream& operator >> (istream &in, OFFObject::Polygon &APolygon)
[more]friend ostream& operator << (ostream &out, const OFFObject::Polygon &APolygon)


Documentation

o OFFObject()

o ~OFFObject()

ovoid readfile(const char* FileName)

ovoid writefile(const char* FileName)

ovoid debug_dump()

ovoid InitMyData()

ovoid draw(const Ref &Position = Ref())

obool IsInit()

oREAL GetMaxDist()

ovoid InvertNormals()

ovoid Center()

ovoid Scale(const Point3D &scale)

ovoid Rotate(const Point3D &K)

ovoid Translate(const Point3D &K)

ovoid SetShading(bool AIsSmooth)

obool GetShading()

ostatic bool UseOptimizedDraw

ovoid Allocate(unsigned int NbVertex, unsigned int NbPolygons)

ovoid Release()

ovoid BuildCompiledLists()

ovoid GLdraw(bool UseMaterial = true)

ovoid GLdraw_NoOpt(bool UseMaterial = true)

obool IsSmooth

oTexture* MyTexture

oint CompiledList

oint CompiledList_NoMaterial

oHVector<Vertex> MyOFFVertexes

oHVector<Polygon> MyOFFPolygons

oHVector<unsigned int> TriIndexes

oclass Buffer friend istream& operator >> (istream &in, OFFObject::Vertex &AVertex)

ofriend ostream& operator << (ostream &out, const OFFObject::Vertex &AVertex)

ofriend istream& operator >> (istream &in, OFFObject::Polygon &APolygon)

ofriend ostream& operator << (ostream &out, const OFFObject::Polygon &APolygon)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.