#include <Render_Device.h>

Public Member Functions | |
| void | AddLine (UInt16 a, UInt16 b) |
| void | AddLine (const Vertex &a, const Vertex &b) |
| void | AddSolidColorBox (float x1, float y1, float z1, float x2, float y2, float z2, Color c) |
| void | AddTriangle (UInt16 a, UInt16 b, UInt16 c) |
| UInt16 | AddVertex (const Vertex &v) |
| UInt16 | AddVertex (const Vector3f &v, const Color &c, float u_=0, float v_=0) |
| UInt16 | AddVertex (float x, float y, float z, const Color &c, float u, float v) |
| UInt16 | AddVertex (float x, float y, float z, const Color &c, float u, float v, float nx, float ny, float nz) |
| UInt16 | AddVertex (float x, float y, float z, const Color &c, float u1, float v1, float u2, float v2, float nx, float ny, float nz) |
| void | ClearRenderer () |
| UInt16 | GetNextVertexIndex () const |
| PrimitiveType | GetPrimType () const |
| virtual NodeType | GetType () const |
| bool | IsVisible () const |
| Model (PrimitiveType t=Prim_Triangles) | |
| virtual void | Render (const Matrix4f <w, RenderDevice *ren) |
| void | SetVisible (bool visible) |
| ~Model () | |
Static Public Member Functions | |
| static Model * | CreateAxisFaceColorBox (float x1, float x2, Color xcolor, float y1, float y2, Color ycolor, float z1, float z2, Color zcolor) |
| static Model * | CreateBox (Color c, Vector3f origin, Vector3f size) |
| static Model * | CreateCone (Color c, Vector3f origin, float height, float radius, int sides=20) |
| static Model * | CreateCylinder (Color c, Vector3f origin, float height, float radius, int sides=20) |
| static Model * | CreateGrid (Vector3f origin, Vector3f stepx, Vector3f stepy, int halfx, int halfy, int nmajor=5, Color minor=Color(64, 64, 64, 192), Color major=Color(128, 128, 128, 192)) |
| static Model * | CreateSphere (Color c, Vector3f origin, float radius, int sides=20) |
Public Attributes | |
| Ptr< class Fill > | Fill |
| Ptr< Buffer > | IndexBuffer |
| Array< UInt16 > | Indices |
| bool | IsCollisionModel |
| PrimitiveType | Type |
| Ptr< Buffer > | VertexBuffer |
| Array< Vertex > | Vertices |
| bool | Visible |
Definition at line 434 of file Render_Device.h.
| OVR::Render::Model::Model | ( | PrimitiveType | t = Prim_Triangles | ) | [inline] |
Definition at line 449 of file Render_Device.h.
| OVR::Render::Model::~Model | ( | ) | [inline] |
Definition at line 450 of file Render_Device.h.
| void OVR::Render::Model::AddLine | ( | UInt16 | a, |
| UInt16 | b | ||
| ) | [inline] |
Definition at line 489 of file Render_Device.h.
| void OVR::Render::Model::AddLine | ( | const Vertex & | a, |
| const Vertex & | b | ||
| ) | [inline] |
Definition at line 507 of file Render_Device.h.
| void OVR::Render::Model::AddSolidColorBox | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | x2, | ||
| float | y2, | ||
| float | z2, | ||
| Color | c | ||
| ) |
Definition at line 176 of file Render_Device.cpp.
| void OVR::Render::Model::AddTriangle | ( | UInt16 | a, |
| UInt16 | b, | ||
| UInt16 | c | ||
| ) | [inline] |
Definition at line 512 of file Render_Device.h.
| UInt16 OVR::Render::Model::AddVertex | ( | const Vertex & | v | ) | [inline] |
Definition at line 473 of file Render_Device.h.
| UInt16 OVR::Render::Model::AddVertex | ( | const Vector3f & | v, |
| const Color & | c, | ||
| float | u_ = 0, |
||
| float | v_ = 0 |
||
| ) | [inline] |
Definition at line 480 of file Render_Device.h.
| UInt16 OVR::Render::Model::AddVertex | ( | float | x, |
| float | y, | ||
| float | z, | ||
| const Color & | c, | ||
| float | u, | ||
| float | v | ||
| ) | [inline] |
Definition at line 484 of file Render_Device.h.
| UInt16 OVR::Render::Model::AddVertex | ( | float | x, |
| float | y, | ||
| float | z, | ||
| const Color & | c, | ||
| float | u, | ||
| float | v, | ||
| float | nx, | ||
| float | ny, | ||
| float | nz | ||
| ) | [inline] |
Definition at line 495 of file Render_Device.h.
| UInt16 OVR::Render::Model::AddVertex | ( | float | x, |
| float | y, | ||
| float | z, | ||
| const Color & | c, | ||
| float | u1, | ||
| float | v1, | ||
| float | u2, | ||
| float | v2, | ||
| float | nx, | ||
| float | ny, | ||
| float | nz | ||
| ) | [inline] |
Definition at line 501 of file Render_Device.h.
| void OVR::Render::Model::ClearRenderer | ( | ) | [inline, virtual] |
Reimplemented from OVR::Render::Node.
Definition at line 461 of file Render_Device.h.
| Model * OVR::Render::Model::CreateAxisFaceColorBox | ( | float | x1, |
| float | x2, | ||
| Color | xcolor, | ||
| float | y1, | ||
| float | y2, | ||
| Color | ycolor, | ||
| float | z1, | ||
| float | z2, | ||
| Color | zcolor | ||
| ) | [static] |
Definition at line 98 of file Render_Device.cpp.
| Model * OVR::Render::Model::CreateBox | ( | Color | c, |
| Vector3f | origin, | ||
| Vector3f | size | ||
| ) | [static] |
Definition at line 260 of file Render_Device.cpp.
| Model * OVR::Render::Model::CreateCone | ( | Color | c, |
| Vector3f | origin, | ||
| float | height, | ||
| float | radius, | ||
| int | sides = 20 |
||
| ) | [static] |
Definition at line 345 of file Render_Device.cpp.
| Model * OVR::Render::Model::CreateCylinder | ( | Color | c, |
| Vector3f | origin, | ||
| float | height, | ||
| float | radius, | ||
| int | sides = 20 |
||
| ) | [static] |
Definition at line 312 of file Render_Device.cpp.
| Model * OVR::Render::Model::CreateGrid | ( | Vector3f | origin, |
| Vector3f | stepx, | ||
| Vector3f | stepy, | ||
| int | halfx, | ||
| int | halfy, | ||
| int | nmajor = 5, |
||
| Color | minor = Color(64,64,64,192), |
||
| Color | major = Color(128,128,128,192) |
||
| ) | [static] |
Definition at line 433 of file Render_Device.cpp.
| Model * OVR::Render::Model::CreateSphere | ( | Color | c, |
| Vector3f | origin, | ||
| float | radius, | ||
| int | sides = 20 |
||
| ) | [static] |
Definition at line 380 of file Render_Device.cpp.
| UInt16 OVR::Render::Model::GetNextVertexIndex | ( | ) | const [inline] |
Definition at line 468 of file Render_Device.h.
| PrimitiveType OVR::Render::Model::GetPrimType | ( | ) | const [inline] |
Definition at line 456 of file Render_Device.h.
| virtual NodeType OVR::Render::Model::GetType | ( | ) | const [inline, virtual] |
Reimplemented from OVR::Render::Node.
Definition at line 452 of file Render_Device.h.
| bool OVR::Render::Model::IsVisible | ( | ) | const [inline] |
Definition at line 459 of file Render_Device.h.
| void OVR::Render::Model::Render | ( | const Matrix4f & | ltw, |
| RenderDevice * | ren | ||
| ) | [virtual] |
Reimplemented from OVR::Render::Node.
Definition at line 31 of file Render_Device.cpp.
| void OVR::Render::Model::SetVisible | ( | bool | visible | ) | [inline] |
Definition at line 458 of file Render_Device.h.
| Ptr<class Fill> OVR::Render::Model::Fill |
Definition at line 440 of file Render_Device.h.
Definition at line 447 of file Render_Device.h.
Definition at line 438 of file Render_Device.h.
Definition at line 442 of file Render_Device.h.
Definition at line 439 of file Render_Device.h.
Definition at line 446 of file Render_Device.h.
Definition at line 437 of file Render_Device.h.
Definition at line 441 of file Render_Device.h.