OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
opencover::ChannelData Struct Reference

store data associated with one channel (output viewport) More...

#include <MultiChannelDrawer.h>

Collaboration diagram for opencover::ChannelData:
Collaboration graph
[legend]

Public Member Functions

 ChannelData (MultiChannelDrawer *drawer, int channel)
 
 ~ChannelData ()
 
void addView (std::shared_ptr< ViewData > vd)
 
void enableView (std::shared_ptr< ViewData > vd, bool enable)
 
void clearViews ()
 
void updateViews ()
 

Public Attributes

MultiChannelDrawerdrawer = nullptr
 
int channelNum = -1
 
ViewEye eye = Middle
 
bool second
 
int width
 
int height
 
osg::Matrix curProj
 
osg::Matrix curView
 
osg::Matrix curModel
 
osg::ref_ptr< osg::Camera > camera
 
osg::ref_ptr< osg::Group > scene
 
std::vector< std::shared_ptr
< ViewChannelData > > 
viewChan
 

Detailed Description

store data associated with one channel (output viewport)

Constructor & Destructor Documentation

opencover::ChannelData::ChannelData ( MultiChannelDrawer drawer,
int  channel 
)
inline
opencover::ChannelData::~ChannelData ( )

Member Function Documentation

void opencover::ChannelData::addView ( std::shared_ptr< ViewData vd)
void opencover::ChannelData::clearViews ( )
void opencover::ChannelData::enableView ( std::shared_ptr< ViewData vd,
bool  enable 
)
void opencover::ChannelData::updateViews ( )

Member Data Documentation

osg::ref_ptr<osg::Camera> opencover::ChannelData::camera
int opencover::ChannelData::channelNum = -1
osg::Matrix opencover::ChannelData::curModel
osg::Matrix opencover::ChannelData::curProj
osg::Matrix opencover::ChannelData::curView
MultiChannelDrawer* opencover::ChannelData::drawer = nullptr
ViewEye opencover::ChannelData::eye = Middle
int opencover::ChannelData::height
osg::ref_ptr<osg::Group> opencover::ChannelData::scene
bool opencover::ChannelData::second
std::vector<std::shared_ptr<ViewChannelData> > opencover::ChannelData::viewChan
int opencover::ChannelData::width

The documentation for this struct was generated from the following file: