#include <vertex_array.hh>
Data Structures | |
| struct | Entry |
| struct | NormalizerTriEntry |
| struct | NormalizerVertexEntry |
Public Types | |
| typedef std::vector< Entry > | EntryList |
| typedef std::vector< VertexID > | IndexList |
| typedef std::vector < NormalizerVertexEntry > | NVEntryList |
| typedef std::vector < NormalizerTriEntry > | NTEntryList |
Public Member Functions | |
| IndexedVertexArray () | |
| ~IndexedVertexArray () | |
| IndexedVertexArray (const IndexedVertexArray &va) | |
| IndexedVertexArray & | operator= (const IndexedVertexArray &va) |
| void | Cleanup () |
| void | SetMode (int m) |
| int | GetMode () const |
| void | SetPolyMode (int m) |
| void | SetLighting (bool f) |
| void | SetTwoSided (bool f) |
| void | SetCullFace (bool f) |
| void | SetColorMaterial (bool f) |
| void | SetLineWidth (float lw) |
| void | SetAALines (bool f) |
| void | SetPointSize (float ps) |
| void | SetLineHalo (float lh) |
| void | SetOutlineMode (int m) |
| void | SetOutlineWidth (float f) |
| void | SetOutlineMaterial (const Material &m) |
| void | SetOutlineExpandFactor (float f) |
| void | SetOutlineExpandColor (const Color &c) |
| VertexID | Add (const geom::Vec3 &vert, const geom::Vec3 &norm, const Color &col) |
| unsigned int | GetVertexCount () const |
| void | DumpVertices () const |
| LineID | AddLine (VertexID id0, VertexID id1) |
| TriID | AddTri (VertexID id0, VertexID id1, VertexID id2) |
| TriID | AddTriN (VertexID id0, VertexID id1, VertexID id2) |
| QuadID | AddQuad (VertexID id0, VertexID id1, VertexID id2, VertexID id3) |
| void | AddSphere (const SpherePrim &prim, unsigned int detail) |
| void | AddIcoSphere (const SpherePrim &prim, unsigned int detail) |
| void | AddCylinder (const CylinderPrim &prim, unsigned int detail) |
| geom::Vec3 | GetVert (VertexID id) const |
| void | SetVert (VertexID id, const geom::Vec3 &vert) |
| geom::Vec3 | GetNormal (VertexID id) const |
| void | SetNormal (VertexID id, const geom::Vec3 &norm) |
| Color | GetColor (VertexID id) const |
| void | SetColor (VertexID id, const Color &col) |
| void | RenderGL () |
| void | RenderPov (PovState &pov, const std::string &name) |
| void | Clear () |
| void | FlagRefresh () |
| void | CalcNormals (float smoothf) |
| void | DrawNormals (bool f) |
| void | CalcFullNormals () |
| void | SmoothNormals (float smoothf) |
| void | NPatch () |
| void | SmoothVertices (float smoothf) |
| void | UseAmbient (bool f) |
| const EntryList & | GetEntries () const |
| const IndexList & | GetQuadIndices () const |
| const IndexList & | GetTriIndices () const |
| const IndexList & | GetLineIndices () const |
| Color | GetAmbientColor (VertexID id) const |
| void | SetAmbientColor (VertexID id, const Color &col) |
Static Public Member Functions | |
| static unsigned int | GetFormat () |
Definition at line 48 of file vertex_array.hh.
Definition at line 72 of file vertex_array.hh.
Definition at line 73 of file vertex_array.hh.
| typedef std::vector<NormalizerTriEntry> NTEntryList |
Definition at line 75 of file vertex_array.hh.
| typedef std::vector<NormalizerVertexEntry> NVEntryList |
Definition at line 74 of file vertex_array.hh.
| ~IndexedVertexArray | ( | ) |
| IndexedVertexArray | ( | const IndexedVertexArray & | va | ) |
| VertexID Add | ( | const geom::Vec3 & | vert, | |
| const geom::Vec3 & | norm, | |||
| const Color & | col | |||
| ) |
| void AddCylinder | ( | const CylinderPrim & | prim, | |
| unsigned int | detail | |||
| ) |
| void AddIcoSphere | ( | const SpherePrim & | prim, | |
| unsigned int | detail | |||
| ) |
| void AddSphere | ( | const SpherePrim & | prim, | |
| unsigned int | detail | |||
| ) |
| void CalcFullNormals | ( | ) |
| void CalcNormals | ( | float | smoothf | ) |
| void Cleanup | ( | ) |
| void Clear | ( | ) |
| void DrawNormals | ( | bool | f | ) |
| void DumpVertices | ( | ) | const |
| void FlagRefresh | ( | ) |
| const EntryList& GetEntries | ( | ) | const [inline] |
Definition at line 172 of file vertex_array.hh.
| static unsigned int GetFormat | ( | ) | [static] |
| const IndexList& GetLineIndices | ( | ) | const [inline] |
Definition at line 175 of file vertex_array.hh.
| int GetMode | ( | ) | const |
| geom::Vec3 GetNormal | ( | VertexID | id | ) | const |
| const IndexList& GetQuadIndices | ( | ) | const [inline] |
Definition at line 173 of file vertex_array.hh.
| const IndexList& GetTriIndices | ( | ) | const [inline] |
Definition at line 174 of file vertex_array.hh.
| geom::Vec3 GetVert | ( | VertexID | id | ) | const |
| unsigned int GetVertexCount | ( | ) | const |
| void NPatch | ( | ) |
| IndexedVertexArray& operator= | ( | const IndexedVertexArray & | va | ) |
| void RenderGL | ( | ) |
| void RenderPov | ( | PovState & | pov, | |
| const std::string & | name | |||
| ) |
| void SetAALines | ( | bool | f | ) |
| void SetColorMaterial | ( | bool | f | ) |
| void SetCullFace | ( | bool | f | ) |
| void SetLighting | ( | bool | f | ) |
| void SetLineHalo | ( | float | lh | ) |
| void SetLineWidth | ( | float | lw | ) |
| void SetMode | ( | int | m | ) |
| void SetNormal | ( | VertexID | id, | |
| const geom::Vec3 & | norm | |||
| ) |
| void SetOutlineExpandColor | ( | const Color & | c | ) |
| void SetOutlineExpandFactor | ( | float | f | ) |
| void SetOutlineMaterial | ( | const Material & | m | ) |
| void SetOutlineMode | ( | int | m | ) |
| void SetOutlineWidth | ( | float | f | ) |
| void SetPointSize | ( | float | ps | ) |
| void SetPolyMode | ( | int | m | ) |
| void SetTwoSided | ( | bool | f | ) |
| void SetVert | ( | VertexID | id, | |
| const geom::Vec3 & | vert | |||
| ) |
| void SmoothNormals | ( | float | smoothf | ) |
| void SmoothVertices | ( | float | smoothf | ) |
| void UseAmbient | ( | bool | f | ) |
1.5.8