CTriMeshView Class Reference

#include <mdsTriMeshView.h>

Inheritance diagram for CTriMeshView:

Inheritance graph
[legend]
List of all members.

Detailed Description

Module visualizes an input mesh (and image) using GLUT and OpenGL.


Public Member Functions

 CTriMeshView (const std::string &sDescription)
 Default constructor.
mds::seg::CTriMesh * getMesh ()
 Returns pointer to the input mesh.
mds::img::CSlice * getSlice ()
 Returns pointer to the input slice.
 MDS_SHAREDPTR (CTriMeshView)
 Smart pointer type.
virtual ~CTriMeshView ()
 Virtual destructor.

Static Public Member Functions

static CTriMeshViewgetViewPtr ()
 Returns pointer to the current view.

Protected Member Functions

virtual bool main ()
 Virtual method called by the processing thread.
virtual void shutdown ()
 Called on console shutdown.
virtual bool startup ()
 Virtual method called on startup.
virtual void writeExtendedUsage (std::ostream &Stream)
 Called on writing a usage statement.

Protected Attributes

mds::seg::CTriMeshPtr m_spMesh
 Input triangular mesh.
mds::img::CSlicePtr m_spSlice
 Input slice.

Static Protected Attributes

static CTriMeshViewm_pView = NULL
 Static pointer to the created view.


Constructor & Destructor Documentation

CTriMeshView::CTriMeshView const std::string &  sDescription  ) 
 

Default constructor.

CTriMeshView::~CTriMeshView  )  [virtual]
 

Virtual destructor.


Member Function Documentation

mds::seg::CTriMesh* CTriMeshView::getMesh  )  [inline]
 

Returns pointer to the input mesh.

mds::img::CSlice* CTriMeshView::getSlice  )  [inline]
 

Returns pointer to the input slice.

static CTriMeshView* CTriMeshView::getViewPtr  )  [inline, static]
 

Returns pointer to the current view.

bool CTriMeshView::main  )  [protected, virtual]
 

Virtual method called by the processing thread.

CTriMeshView::MDS_SHAREDPTR CTriMeshView   ) 
 

Smart pointer type.

  • Declares type tSmartPtr.

void CTriMeshView::shutdown  )  [protected, virtual]
 

Called on console shutdown.

bool CTriMeshView::startup  )  [protected, virtual]
 

Virtual method called on startup.

void CTriMeshView::writeExtendedUsage std::ostream &  Stream  )  [protected, virtual]
 

Called on writing a usage statement.


Member Data Documentation

CTriMeshView * CTriMeshView::m_pView = NULL [static, protected]
 

Static pointer to the created view.

mds::seg::CTriMeshPtr CTriMeshView::m_spMesh [protected]
 

Input triangular mesh.

mds::img::CSlicePtr CTriMeshView::m_spSlice [protected]
 

Input slice.


The documentation for this class was generated from the following files:
Generated on Thu Mar 11 10:38:49 2010 for MDSTk Extension Modules by  doxygen 1.4.6-NO