Commit ba8a8da0 authored by ledig's avatar ledig
Browse files

[DOC]

parent 1af6ca83
......@@ -285,17 +285,39 @@ private:
*/
void initCullBox();
/**
* Wrapper class for userData to prevent cyclic destructor calls
*/
class userData: public osg::Referenced
{
public:
/**
* userData Constructur with shared pointer to module
* \param _parent pointer to the module
*/
explicit userData( boost::shared_ptr< WMFiberDisplay > _parent )
{
parent = _parent;
}
/**
* update wrapper Function
*/
void update();
/**
* updateRenderModes wrapper Function
*/
void updateRenderModes();
/**
* toggleColoring wrapper Function
*/
void toggleColoring();
private:
/**
* shared pointer to the module
*/
boost::shared_ptr< WMFiberDisplay > parent;
};
......
......@@ -342,31 +342,65 @@ private:
static const int m_maxNumberOfTextures = 8; //!< We support only 8 textures because some known hardware does not support more texture coordinates.
/**
* Current width of the axial widget
*/
int m_axialWidgetWidth;
/**
* Current height of the axial widget
*/
int m_axialWidgetHeight;
/**
* Current width of the sagittal widget
*/
int m_sagittalWidgetWidth;
/**
* Current height of the sagittal widget
*/
int m_sagittalWidgetHeight;
/**
* Current width of the coronal widget
*/
int m_coronalWidgetWidth;
/**
* Current height of the coronal widget
*/
int m_coronalWidgetHeight;
/**
* Wrapper class for userData to prevent cyclic destructor calls
*/
class userData: public osg::Referenced
{
friend class WMNavSlices;
public:
/**
* userData Constructur with shared pointer to module
* \param _parent pointer to the module
*/
explicit userData( boost::shared_ptr< WMNavSlices > _parent )
{
parent = _parent;
}
/**
* updateGeometry wrapper Function
*/
void updateGeometry();
/**
* updateTextures wrapper Function
*/
void updateTextures();
private:
/**
* shared pointer to the module
*/
boost::shared_ptr< WMNavSlices > parent;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment