Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ChanConfig Class Reference

#include <chancfg.h>

List of all members.

Public Member Functions

 ChanConfig (GraphicsEngine *engine, GraphicsPipe *pipe, std::string cfg, const NodePath &render, ChanCfgOverrides &=ChanOverrideNone)
PandaNodeget_group_node (const int node_index) const
int get_group_membership (const int dr_index) const
int get_num_groups (void) const
int get_num_drs (void) const
 PT (DisplayRegion) get_dr(const int dr_index) const
 PT (GraphicsWindow) get_win(void) const

Private Member Functions

 PT (GraphicsWindow) _graphics_window
void chan_eval (GraphicsWindow *win, WindowItem &W, LayoutItem &L, SVec &S, ChanViewport &V, int hw_offset, int xsize, int ysize, const NodePath &render, bool want_cameras)

Private Attributes

std::vector< PT(PandaNode_group_node )
std::vector< PT(DisplayRegion_display_region )
std::vector< int > _group_membership


Constructor & Destructor Documentation

ChanConfig::ChanConfig GraphicsEngine engine,
GraphicsPipe pipe,
std::string  cfg,
const NodePath render,
ChanCfgOverrides = ChanOverrideNone
 

Definition at line 353 of file chancfg.cxx.


Member Function Documentation

void ChanConfig::chan_eval GraphicsWindow win,
WindowItem W,
LayoutItem L,
SVec S,
ChanViewport V,
int  hw_offset,
int  xsize,
int  ysize,
const NodePath render,
bool  want_cameras
[private]
 

Definition at line 237 of file chancfg.cxx.

References _display_region, _group_node, ChanViewport::bottom(), ChanResolveFOV(), ChanScaleViewport(), CPT, GraphicsWindow::get_channel(), WindowItem::getCameraGroup(), SetupFOV::getHoriz(), WindowItem::getHWChans(), WindowItem::getNumCameraGroups(), LayoutItem::GetNumRegions(), SetupFOV::getVert(), int(), SetupItem::Left, ChanViewport::left(), TransformState::make_mat(), NULL, PT(), render, SetupItem::Right, ChanViewport::right(), ChanViewport::top(), and win.

int ChanConfig::get_group_membership const int  dr_index  )  const [inline]
 

Definition at line 25 of file chancfg.I.

References _group_node, and INLINE.

PandaNode * ChanConfig::get_group_node const int  node_index  )  const [inline]
 

Definition at line 22 of file chancfg.I.

References _group_membership, and INLINE.

int ChanConfig::get_num_drs void   )  const [inline]
 

Definition at line 31 of file chancfg.I.

References _display_region, and INLINE.

int ChanConfig::get_num_groups void   )  const [inline]
 

Definition at line 28 of file chancfg.I.

References _display_region, and INLINE.

ChanConfig::PT GraphicsWindow   )  const [inline]
 

ChanConfig::PT DisplayRegion   )  const [inline]
 

ChanConfig::PT GraphicsWindow   )  [private]
 

Referenced by chan_eval().


Member Data Documentation

std::vector< PT(DisplayRegion) ChanConfig::_display_region) [private]
 

Definition at line 115 of file chancfg.h.

Referenced by chan_eval(), get_num_drs(), and get_num_groups().

std::vector<int> ChanConfig::_group_membership [private]
 

Definition at line 116 of file chancfg.h.

Referenced by get_group_node().

std::vector< PT(PandaNode) ChanConfig::_group_node) [private]
 

Definition at line 114 of file chancfg.h.

Referenced by chan_eval(), and get_group_membership().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:48:10 2003 for Panda by doxygen1.3