FemViewer::Model Class Reference
#include <Model.h>
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 BBox3D & | GetModelBBox3D () const |
void | Update () |
void | Redraw (bool redrawAll=true) |
const BBox3D & | GetGlobalBBox3D () |
void | reset () |
void | clear () |
int | GetMeshNumber () const |
int | GetFieldNumber () const |
void | SetGoemetry (Object *pRootObject) |
BaseField * | GetCurrentField () |
Static Public Member Functions |
static void | Init (ViewManager &vmgr_) |
static void | Init () |
static void | Destroy () |
static void | Reset () |
static void | Refresh (GeometryType Type) |
static Legend & | GetLegend () |
static CutPlane & | GetPalne () |
static Solution & | GetSolution () |
static Model * | GetInstance () |
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] |
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] |
static Model* FemViewer::Model::GetInstance |
( |
void |
|
) |
[inline, static] |
static Legend& FemViewer::Model::GetLegend |
( |
|
) |
[inline, static] |
int FemViewer::Model::GetMeshNumber |
( |
|
) |
const [inline] |
const BBox3D& FemViewer::Model::GetModelBBox3D |
( |
|
) |
const [inline] |
static CutPlane& FemViewer::Model::GetPalne |
( |
|
) |
[inline, static] |
static Solution& FemViewer::Model::GetSolution |
( |
|
) |
[inline, static] |
static void FemViewer::Model::Init |
( |
|
) |
[inline, static] |
void FemViewer::Model::Redraw |
( |
bool |
redrawAll = true |
) |
|
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] |
void FemViewer::Model::SetGoemetry |
( |
Object * |
pRootObject |
) |
|
static void FemViewer::Model::SetViewManager |
( |
ViewManager * |
pVMgr |
) |
[inline, static] |
void FemViewer::Model::Update |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following file:
- mod_fem_viewer/FemViewer/inc/Model.h