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

panda/src/chancfg/chancfg.cxx File Reference

#include "chancfg.h"
#include "notify.h"
#include "displayRegion.h"
#include "graphicsPipe.h"
#include "graphicsEngine.h"
#include "graphicsChannel.h"
#include "hardwareChannel.h"
#include "camera.h"
#include "frustum.h"
#include "perspectiveLens.h"
#include "dSearchPath.h"
#include "dconfig.h"
#include "filename.h"
#include "transformState.h"
#include "dcast.h"
#include "config_express.h"
#include "virtualFileSystem.h"
#include <algorithm>
#include <stdio.h>

Go to the source code of this file.

Functions

 Configure (chanconfig)
 ConfigureFn (chanconfig)
 NotifyCategoryDef (chancfg,"")
bool load_chancfg_database (const string &filename, const DSearchPath &path, const string &type_desc, void(*parser_func)(istream &))
void ReadChanConfigData (void)
bool LayoutDefined (std::string sym)
bool SetupDefined (std::string sym)
bool ConfigDefined (std::string sym)
bool ChanCheckLayouts (SetupSyms &S)
bool ChanCheckSetups (SetupSyms &S)
ChanViewport ChanScaleViewport (const ChanViewport &parent, const ChanViewport &child)
SetupFOV ChanResolveFOV (SetupFOV &fov, float sizeX, float sizeY)

Variables

bool have_read = false
const bool config_sanity_check
ChanCfgOverrides ChanOverrideNone


Detailed Description

Definition in file chancfg.cxx.


Function Documentation

bool ChanCheckLayouts SetupSyms S  ) 
 

Definition at line 161 of file chancfg.cxx.

bool ChanCheckSetups SetupSyms S  ) 
 

Definition at line 172 of file chancfg.cxx.

SetupFOV ChanResolveFOV SetupFOV fov,
float  sizeX,
float  sizeY
 

Definition at line 204 of file chancfg.cxx.

References SetupFOV::Both, SetupFOV::Default, deg_2_rad(), SetupFOV::getHoriz(), SetupFOV::getVert(), SetupFOV::Horizontal, and rad_2_deg().

Referenced by ChanConfig::chan_eval().

ChanViewport ChanScaleViewport const ChanViewport parent,
const ChanViewport child
[inline]
 

Definition at line 184 of file chancfg.cxx.

Referenced by ChanConfig::chan_eval().

bool ConfigDefined std::string  sym  )  [inline]
 

Definition at line 156 of file chancfg.cxx.

Configure chanconfig   ) 
 

ConfigureFn chanconfig   ) 
 

Definition at line 46 of file chancfg.cxx.

References have_read.

bool LayoutDefined std::string  sym  )  [inline]
 

Definition at line 146 of file chancfg.cxx.

bool load_chancfg_database const string &  filename,
const DSearchPath path,
const string &  type_desc,
void(*  parser_func)(istream &)
[static]
 

Definition at line 53 of file chancfg.cxx.

References VirtualFileSystem::get_global_ptr(), NULL, VirtualFileSystem::open_read_file(), path, and VirtualFileSystem::resolve_filename().

NotifyCategoryDef chancfg  ,
"" 
 

void ReadChanConfigData void   )  [static]
 

Definition at line 112 of file chancfg.cxx.

References path.

bool SetupDefined std::string  sym  )  [inline]
 

Definition at line 151 of file chancfg.cxx.


Variable Documentation

ChanCfgOverrides ChanOverrideNone
 

Definition at line 144 of file chancfg.cxx.

const bool config_sanity_check [static]
 

Initial value:

  chanconfig.GetBool("chan-config-sanity-check", false)

Definition at line 141 of file chancfg.cxx.

bool have_read = false [static]
 

Definition at line 49 of file chancfg.cxx.

Referenced by ConfigureFn().


Generated on Fri May 2 00:45:05 2003 for Panda by doxygen1.3