#include <vertex_array.hh>
|
| | 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) |
| |
| int | GetOutlineMode () const |
| |
| void | SetOutlineWidth (float f) |
| |
| float | GetOutlineWidth () const |
| |
| void | SetOutlineMaterial (const Material &m) |
| |
| void | SetOutlineExpandFactor (float f) |
| |
| float | GetOutlineExpandFactor () const |
| |
| void | SetOutlineExpandColor (const Color &c) |
| |
| Color | GetOutlineExpandColor () const |
| |
| void | SetSolid (bool f) |
| |
| bool | GetSolid () const |
| |
| void | SetSolidColor (const Color &c) |
| |
| Color | GetSolidcolor () const |
| |
| void | SetClipOffset (float f) |
| |
| float | GetClipOffset () const |
| |
| VertexID | Add (const geom::Vec3 &vert, const geom::Vec3 &norm, const Color &col, const geom::Vec2 &texc=geom::Vec2()) |
| |
| 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, bool cap=false) |
| |
| void | SetOpacity (float o) |
| |
| void | RenderGL () |
| |
| void | RenderPov (PovState &pov, const std::string &name) |
| |
| void | Export (Exporter *ex) const |
| |
| void | Clear () |
| |
| void | Reset () |
| |
| void | FlagRefresh () |
| |
| void | DrawNormals (bool f) |
| |
| void | CalcNormals (float smoothf) |
| |
| void | CalcFullNormals () |
| |
| void | SmoothNormals (float smoothf) |
| |
| void | NPatch () |
| |
| void | SmoothVertices (float smoothf) |
| |
| void | UseTex (bool b) |
| |
| uint & | TexID () |
| |
| const EntryList & | GetEntries () const |
| |
| const IndexList & | GetQuadIndices () const |
| |
| const IndexList & | GetTriIndices () const |
| |
| const IndexList & | GetLineIndices () const |
| |
| geom::AlignedCuboid | GetBoundingBox () const |
| |
| geom::Vec3 | GetVert (VertexID id) const |
| |
| void | SetVert (VertexID id, const geom::Vec3 &v) |
| |
| geom::Vec3 | GetNormal (VertexID id) const |
| |
| void | SetNormal (VertexID id, const geom::Vec3 &n) |
| |
| Color | GetColor (VertexID id) const |
| |
| void | SetColor (VertexID id, const Color &c) |
| |
| geom::Vec2 | GetTexCoord (VertexID id) const |
| |
| void | SetTexCoord (VertexID id, const geom::Vec2 &t) |
| |
Definition at line 50 of file vertex_array.hh.
| void AddCylinder |
( |
const CylinderPrim & |
prim, |
|
|
unsigned int |
detail, |
|
|
bool |
cap = false |
|
) |
| |
| void AddIcoSphere |
( |
const SpherePrim & |
prim, |
|
|
unsigned int |
detail |
|
) |
| |
| void AddSphere |
( |
const SpherePrim & |
prim, |
|
|
unsigned int |
detail |
|
) |
| |
| void CalcNormals |
( |
float |
smoothf | ) |
|
| void DrawNormals |
( |
bool |
f | ) |
|
| void DumpVertices |
( |
| ) |
const |
return min/max of vertex entries - this call is not cached!
| float GetClipOffset |
( |
| ) |
const |
|
inline |
| static unsigned int GetFormat |
( |
| ) |
|
|
static |
| Color GetOutlineExpandColor |
( |
| ) |
const |
|
inline |
| float GetOutlineExpandFactor |
( |
| ) |
const |
|
inline |
| int GetOutlineMode |
( |
| ) |
const |
|
inline |
| float GetOutlineWidth |
( |
| ) |
const |
|
inline |
| Color GetSolidcolor |
( |
| ) |
const |
|
inline |
| unsigned int GetVertexCount |
( |
| ) |
const |
| void RenderPov |
( |
PovState & |
pov, |
|
|
const std::string & |
name |
|
) |
| |
| void SetAALines |
( |
bool |
f | ) |
|
| void SetClipOffset |
( |
float |
f | ) |
|
|
inline |
| void SetColorMaterial |
( |
bool |
f | ) |
|
| void SetCullFace |
( |
bool |
f | ) |
|
| void SetLighting |
( |
bool |
f | ) |
|
| void SetLineHalo |
( |
float |
lh | ) |
|
| void SetLineWidth |
( |
float |
lw | ) |
|
| void SetOpacity |
( |
float |
o | ) |
|
| 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 SetSolidColor |
( |
const Color & |
c | ) |
|
|
inline |
| void SetTwoSided |
( |
bool |
f | ) |
|
| void SmoothNormals |
( |
float |
smoothf | ) |
|
| void SmoothVertices |
( |
float |
smoothf | ) |
|
The documentation for this class was generated from the following file: