FemViewer::Model Class Reference

#include <Model.h>

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

List of all members.

Classes

struct  _contener
struct  _struct_sol

Public Types

enum  GeometryType { NoneType = 0, MeshTypes = 1, FieldTypes = 2, AllTypes = 3 }
enum  RenderAttributes { wireframe = 0x01, flooded = 0x02, contoured = 0x04, cutted = 0x08 }
typedef struct
FemViewer::Model::_struct_sol 
Solution
typedef struct
FemViewer::Model::_struct_sol
SolutionPtr
typedef struct
FemViewer::Model::_contener 
contener
typedef struct
FemViewer::Model::_contener
contener_ptr

Public Member Functions

 ~Model ()
int AddMesh (Mesh *mesh_)
int AddField (BaseField *pFiled)
void ChangeCuttingPlane ()
void ChangeSolution ()
void RemoveMesh (const u_int idx)
void RemoveField (const u_int idx)
bool ActivateMeshObj (const u_int idx_, const bool flg_)
bool ActivateFieldObj (const u_int idx_, const bool flg_)
void DeleteDisplayLists ()
void DumpCharacteristics (std::ostream &os, const std::string &pIndentation, Matrix pTransformation)
const BBox3DGetModelBBox3D () const
void Update ()
void Redraw (bool redrawAll=true)
const BBox3DGetGlobalBBox3D ()
void reset ()
void clear ()
int GetMeshNumber () const
int GetFieldNumber () const
void SetGoemetry (Object *pRootObject)
BaseFieldGetCurrentField ()

Static Public Member Functions

static void Init (ViewManager &vmgr_)
static void Init ()
static void Destroy ()
static void Reset ()
static void Refresh (GeometryType Type)
static LegendGetLegend ()
static CutPlaneGetPalne ()
static SolutionGetSolution ()
static ModelGetInstance ()
static void SetViewManager (ViewManager *pVMgr)

Public Attributes

u_int RenderOptions
bool isMeshes
bool isFields
bool isWireframe
bool isFlooded
bool isContoured
bool isColorContoured
bool isIsoSurfaced
bool isCutted
bool isPlaneChange
bool isContourChange
bool isSolutionChange

Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
NoneType 
MeshTypes 
FieldTypes 
AllTypes 
Enumerator:
wireframe 
flooded 
contoured 
cutted 

Constructor & Destructor Documentation

FemViewer::Model::~Model (  ) 

Member Function Documentation

bool FemViewer::Model::ActivateFieldObj ( const u_int  idx_,
const bool  flg_ 
)
bool FemViewer::Model::ActivateMeshObj ( const u_int  idx_,
const bool  flg_ 
)
int FemViewer::Model::AddField ( BaseField pFiled  ) 
int FemViewer::Model::AddMesh ( Mesh mesh_  ) 
void FemViewer::Model::ChangeCuttingPlane (  ) 
void FemViewer::Model::ChangeSolution (  ) 
void FemViewer::Model::clear (  ) 
void FemViewer::Model::DeleteDisplayLists (  ) 
static void FemViewer::Model::Destroy (  )  [static]

Here is the caller graph for this function:

void FemViewer::Model::DumpCharacteristics ( std::ostream &  os,
const std::string &  pIndentation,
Matrix  pTransformation 
)
BaseField* FemViewer::Model::GetCurrentField (  ) 
int FemViewer::Model::GetFieldNumber (  )  const
const BBox3D& FemViewer::Model::GetGlobalBBox3D (  )  [inline]

Here is the call graph for this function:

static Model* FemViewer::Model::GetInstance ( void   )  [inline, static]

Here is the call graph for this function:

static Legend& FemViewer::Model::GetLegend (  )  [inline, static]
int FemViewer::Model::GetMeshNumber (  )  const [inline]
const BBox3D& FemViewer::Model::GetModelBBox3D (  )  const [inline]

Here is the call graph for this function:

static CutPlane& FemViewer::Model::GetPalne (  )  [inline, static]
static Solution& FemViewer::Model::GetSolution (  )  [inline, static]
static void FemViewer::Model::Init (  )  [inline, static]

Here is the caller graph for this function:

static void FemViewer::Model::Init ( ViewManager vmgr_  )  [static]
void FemViewer::Model::Redraw ( bool  redrawAll = true  ) 
static void FemViewer::Model::Refresh ( GeometryType  Type  )  [static]
void FemViewer::Model::RemoveField ( const u_int  idx  ) 
void FemViewer::Model::RemoveMesh ( const u_int  idx  ) 
void FemViewer::Model::reset (  ) 
static void FemViewer::Model::Reset ( void   )  [inline, static]

Here is the call graph for this function:

void FemViewer::Model::SetGoemetry ( Object pRootObject  ) 
static void FemViewer::Model::SetViewManager ( ViewManager pVMgr  )  [inline, static]

Here is the call graph for this function:

void FemViewer::Model::Update (  ) 

Member Data Documentation


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

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1