FemViewer::Object Class Reference

#include <Object.h>

Collaboration diagram for FemViewer::Object:
Collaboration graph
[legend]

List of all members.

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)
ObjectResetSubObject (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 BBox3DGetBBox3D () const
void Render (RenderParams &pParams, bool hide=false)
const std::string & GetName () const
VtxAccumulatorGetCurrentVtxAccumulator ()

Friends

class ViewManager

Member Enumeration Documentation

Enumerator:
fixed13 
fixed15 
times10 
times24 
helvetica10 
helvetica12 
helvetica18 

Constructor & Destructor Documentation

FemViewer::Object::Object ( const char *  name = "Unknown",
bool  usevbo = false 
) [explicit]

Here is the caller graph for this function:

FemViewer::Object::~Object (  ) 

Here is the call graph for this function:


Member Function Documentation

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

void FemViewer::Object::AddLine ( const Vec3D p1,
const Vec3D p2 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Object *& FemViewer::Object::AddNewObject ( const std::string &  sName,
int *  pIdx = NULL 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

void FemViewer::Object::AddPoint ( const Vec3D pt  ) 

Here is the call graph for this function:

void FemViewer::Object::AddPointColored ( const Vec3D pt,
const ColorRGB col 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

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

Here is the caller graph for this function:

void FemViewer::Object::AddTriangle ( const Vec3D p1,
const Vec3D p2,
const Vec3D p3 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

VtxAccumulator & FemViewer::Object::GetCurrentVtxAccumulator (  ) 

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void FemViewer::Object::Reset ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::Object::SetDrawColor ( const ColorRGB col  ) 

Here is the caller graph for this function:

void FemViewer::Object::SetLineWidth ( const float  size  ) 
void FemViewer::Object::SetPointSize ( const float  size  ) 
void FemViewer::Object::SwitcObject ( const int  idx,
const bool  hide 
)

Friends And Related Function Documentation

friend class ViewManager [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1