#include <Object.h>

Public Types | |
| enum | eFont { fixed13, fixed15, times10, times24, helvetica10, helvetica12, helvetica18 } |
Public Member Functions | |
| Object (const char *name="Unknown", bool usevbo=false) | |
| ~Object () | |
| void | Reset () |
| void | AddMeshNode (const fvmath::Vec3f &vertex) |
| void | AddIndexOfNode (const unsigned int idx, const int dest) |
| void | AddColorOfNode (const fvmath::Vec3f &col) |
| void | AddNormalToNode (const fvmath::Vec3f &norm) |
| void | AddEdge (const unsigned int Edge[]) |
| void | AddArrow (const Vec3D &p1, const Vec3D &p2, const float tipprop, const int nrpolygons) |
| void | AddArrowColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2, const float tipprop, const int nrpolygons) |
| void | AddPoint (const Vec3D &pt) |
| void | AddPointColored (const Vec3D &pt, const ColorRGB &col) |
| void | AddLine (const Vec3D &p1, const Vec3D &p2) |
| void | AddLineColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2) |
| void | AddTriangle (const Vec3D &p1, const Vec3D &p2, const Vec3D &p3) |
| void | AddTriangleColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2, const Vec3D &p3, const ColorRGB &col3) |
| void | AddTriangleNormalColored (const float nv[], const float p1[], const float p2[], const float p3[], const ColorRGB &col1, const ColorRGB &col2, const ColorRGB &col3) |
| void | AddQuad (const Vec3D &p1, const Vec3D &p2, const Vec3D &p3, const Vec3D &p4) |
| void | AddQuadColored (const Vec3D &p1, const ColorRGB &col1, const Vec3D &p2, const ColorRGB &col2, const Vec3D &p3, const ColorRGB &col3, const Vec3D &p4, const ColorRGB &col4) |
| void | AddText (const float x, const float y, const float z, eFont font, const std::string &stext) |
| Object *& | AddNewObject (const std::string &sName, int *pIdx=NULL) |
| Object * | ResetSubObject (const unsigned int idx_) |
| void | ClearSubObject (const unsigned int idx_) |
| void | SwitcObject (const int idx, const bool hide) |
| void | SetDrawColor (const ColorRGB &col) |
| void | SetPointSize (const float size) |
| void | SetLineWidth (const float size) |
| void | DeleteDisplayLists () |
| void | DumpCharacteristics (std::ostream &pOstream, const std::string &pIndentation, const Matrix< float > &pTransformation) |
| const BBox3D & | GetBBox3D () const |
| void | Render (RenderParams &pParams, bool hide=false) |
| const std::string & | GetName () const |
| VtxAccumulator & | GetCurrentVtxAccumulator () |
Friends | |
| class | ViewManager |
| FemViewer::Object::Object | ( | const char * | name = "Unknown", |
|
| bool | usevbo = false | |||
| ) | [explicit] |

| FemViewer::Object::~Object | ( | ) |

| void FemViewer::Object::AddArrow | ( | const Vec3D & | p1, | |
| const Vec3D & | p2, | |||
| const float | tipprop, | |||
| const int | nrpolygons | |||
| ) |

| void FemViewer::Object::AddArrowColored | ( | const Vec3D & | p1, | |
| const ColorRGB & | col1, | |||
| const Vec3D & | p2, | |||
| const ColorRGB & | col2, | |||
| const float | tipprop, | |||
| const int | nrpolygons | |||
| ) |


| void FemViewer::Object::AddColorOfNode | ( | const fvmath::Vec3f & | col | ) |

| void FemViewer::Object::AddEdge | ( | const unsigned int | Edge[] | ) |

| void FemViewer::Object::AddIndexOfNode | ( | const unsigned int | idx, | |
| const int | dest | |||
| ) |


| void FemViewer::Object::AddLineColored | ( | const Vec3D & | p1, | |
| const ColorRGB & | col1, | |||
| const Vec3D & | p2, | |||
| const ColorRGB & | col2 | |||
| ) |

| void FemViewer::Object::AddMeshNode | ( | const fvmath::Vec3f & | vertex | ) |


| void FemViewer::Object::AddNormalToNode | ( | const fvmath::Vec3f & | norm | ) |


| void FemViewer::Object::AddQuad | ( | const Vec3D & | p1, | |
| const Vec3D & | p2, | |||
| const Vec3D & | p3, | |||
| const Vec3D & | p4 | |||
| ) |

| void FemViewer::Object::AddQuadColored | ( | const Vec3D & | p1, | |
| const ColorRGB & | col1, | |||
| const Vec3D & | p2, | |||
| const ColorRGB & | col2, | |||
| const Vec3D & | p3, | |||
| const ColorRGB & | col3, | |||
| const Vec3D & | p4, | |||
| const ColorRGB & | col4 | |||
| ) |

| void FemViewer::Object::AddText | ( | const float | x, | |
| const float | y, | |||
| const float | z, | |||
| eFont | font, | |||
| const std::string & | stext | |||
| ) |


| void FemViewer::Object::AddTriangleColored | ( | const Vec3D & | p1, | |
| const ColorRGB & | col1, | |||
| const Vec3D & | p2, | |||
| const ColorRGB & | col2, | |||
| const Vec3D & | p3, | |||
| const ColorRGB & | col3 | |||
| ) |

| void FemViewer::Object::AddTriangleNormalColored | ( | const float | nv[], | |
| const float | p1[], | |||
| const float | p2[], | |||
| const float | p3[], | |||
| const ColorRGB & | col1, | |||
| const ColorRGB & | col2, | |||
| const ColorRGB & | col3 | |||
| ) |

| void FemViewer::Object::ClearSubObject | ( | const unsigned int | idx_ | ) |
| void FemViewer::Object::DeleteDisplayLists | ( | ) |


| void FemViewer::Object::DumpCharacteristics | ( | std::ostream & | pOstream, | |
| const std::string & | pIndentation, | |||
| const Matrix< float > & | pTransformation | |||
| ) |


| const BBox3D & FemViewer::Object::GetBBox3D | ( | ) | const |


| VtxAccumulator & FemViewer::Object::GetCurrentVtxAccumulator | ( | ) |

| const std::string& FemViewer::Object::GetName | ( | ) | const [inline] |
| void FemViewer::Object::Render | ( | RenderParams & | pParams, | |
| bool | hide = false | |||
| ) |



| Object * FemViewer::Object::ResetSubObject | ( | const unsigned int | idx_ | ) |



| void FemViewer::Object::SetLineWidth | ( | const float | size | ) |
| void FemViewer::Object::SetPointSize | ( | const float | size | ) |
| void FemViewer::Object::SwitcObject | ( | const int | idx, | |
| const bool | hide | |||
| ) |
friend class ViewManager [friend] |
1.6.1