|
| ViewpointParams (int winnum) |
|
virtual | ~ViewpointParams () |
| Destructor. More...
|
|
int | getNumLights () |
|
float | getExponent () |
|
float * | getCameraPosLocal () |
|
float * | getViewDir () |
|
float * | getUpVec () |
|
float * | getRotationCenterLocal () |
|
| Params (XmlNode *parent, const string &name, int winNum) |
|
| Params (int winNum, const string &name) |
| Deprecated constructor, needed for built-in classes that do not have associated XML node: More...
|
|
| Params (const Params &p) |
| Default copy constructor. More...
|
|
virtual | ~Params () |
|
virtual const std::string & | getShortName ()=0 |
|
virtual bool | isRenderParams () |
|
virtual Params * | deepCopy (ParamNode *nd=0) |
|
virtual void | restart ()=0 |
| Pure virtual method, sets a Params instance to its default state. More...
|
|
virtual int | getVizNum () |
|
virtual void | setLocal (bool lg) |
|
bool | isLocal () |
|
virtual void | setVizNum (int vnum) |
|
virtual void | SetVisualizerNum (int viznum) |
|
virtual int | GetVisualizerNum () |
|
virtual bool | reinit (bool) |
|
virtual Box * | GetBox () |
|
virtual int | getOrientation () |
|
virtual void | calcContainingStretchedBoxExtentsInCube (float extents[6], bool rotated=false) |
|
void | calcRotatedStretchedBoxExtentsInCube (float extents[6]) |
|
virtual bool | isDomainConstrained () |
|
| MyBase () |
|
const string & | getClassName () const |
|
| ParamsBase (XmlNode *parent, const string &name) |
|
| ParamsBase (const string &name) |
| Default constructor. More...
|
|
| ParamsBase (const ParamsBase &pbase) |
| Copy constructor. More...
|
|
virtual | ~ParamsBase () |
|
void | SetParent (XmlNode *parent) |
|
virtual bool | elementStartHandler (ExpatParseMgr *pm, int depth, string &tag, const char **attribs) |
|
virtual bool | elementEndHandler (ExpatParseMgr *pm, int depth, string &tag) |
|
ParamNode * | GetRootNode () |
|
virtual ParamNode * | buildNode () |
|
void | SetFlagDirty (const string &flag) |
|
const string & | GetName () |
|
ParamsBaseType | GetParamsBaseTypeId () |
|
virtual void | SetRootParamNode (ParamNode *pn) |
|
virtual | ~ParsedXml () |
|
virtual bool | elementStartHandler (ExpatParseMgr *, int, std::string &, const char **)=0 |
|
virtual bool | elementEndHandler (ExpatParseMgr *, int, std::string &)=0 |
|
virtual bool | charHandler (ExpatParseMgr *, const XML_Char *, int) |
|
|
static float | getMaxStretchedCubeSide () |
|
static float * | getMinStretchedCubeCoords () |
|
static bool | getStereoUserPref () |
|
static int | GetCurrentParamsInstanceIndex (int pType, int winnum) |
|
static int | GetCurrentParamsInstanceIndex (const std::string tag, int winnum) |
|
static void | SetCurrentParamsInstanceIndex (int pType, int winnum, int instance) |
|
static Params * | GetParamsInstance (int pType, int winnum=-1, int instance=-1) |
|
static Params * | GetParamsInstance (const std::string tag, int winnum=-1, int instance=-1) |
|
static Params * | GetCurrentParamsInstance (int pType, int winnum) |
|
static Params * | GetDefaultParams (ParamsBase::ParamsBaseType pType) |
|
static Params * | GetDefaultParams (const string &tag) |
|
static void | SetDefaultParams (int pType, Params *p) |
|
static void | SetDefaultParams (const string &tag, Params *p) |
|
static Params * | CreateDefaultParams (int pType) |
|
static int | GetNumParamsInstances (int pType, int winnum) |
|
static int | GetNumParamsInstances (const std::string tag, int winnum) |
|
static void | AppendParamsInstance (int pType, int winnum, Params *p) |
|
static void | AppendParamsInstance (const std::string tag, int winnum, Params *p) |
|
static void | RemoveParamsInstance (int pType, int winnum, int instance) |
|
static void | InsertParamsInstance (int pType, int winnum, int posn, Params *dp) |
|
static vector< Params * > & | GetAllParamsInstances (int pType, int winnum) |
|
static vector< Params * > & | GetAllParamsInstances (const std::string tag, int winnum) |
|
static map< int, vector< Params * > > * | cloneAllParamsInstances (int winnum) |
|
static vector< Params * > * | cloneAllDefaultParams () |
|
static bool | IsRenderingEnabled (int winnum) |
|
static void | SetErrMsg (const char *format,...) |
| Record a formatted error message. More...
|
|
static void | SetErrMsg (int errcode, const char *format,...) |
| Record a formatted error message and an error code. More...
|
|
static const char * | GetErrMsg () |
|
static void | SetErrCode (int err_code) |
| Record an error code. More...
|
|
static int | GetErrCode () |
| Retrieve the current error code. More...
|
|
static void | SetErrMsgCB (ErrMsgCB_T cb) |
|
static ErrMsgCB_T | GetErrMsgCB () |
|
static void | SetErrMsgFilePtr (FILE *fp) |
|
static const FILE * | SetErrMsgFilePtr () |
|
static void | SetDiagMsg (const char *format,...) |
| Record a formatted diagnostic message. More...
|
|
static const char * | GetDiagMsg () |
|
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
|
static DiagMsgCB_T | GetDiagMsgCB () |
|
static void | SetDiagMsgFilePtr (FILE *fp) |
|
static bool | EnableErrMsg (bool enable) |
|
static ParamsBaseType | GetTypeFromTag (const string &tag) |
|
static const string & | GetTagFromType (ParamsBaseType t) |
|
static ParamsBase * | CreateDefaultParamsBase (int pType) |
|
static ParamsBase * | CreateDefaultParamsBase (const string &tag) |
|
static int | RegisterParamsBaseClass (const string &tag, BaseCreateFcn fcn, bool isParams) |
|
static int | ReregisterParamsBaseClass (const string &tag, const string &newtag, bool isParams) |
|
static int | GetNumParamsClasses () |
|
static bool | IsParamsTag (const string &tag) |
|
A class for describing the viewpoint and lights.
- Author
- Alan Norton
- Version
- $Revision$
- Date
- $Date$ This class provides methods for determining the viewpoint and the direction of lights. If it is shared, all windows can use the same viewpoint and lights. Local viewpoints are just applicable to one window.
Definition at line 46 of file viewpointparams.h.