|
long | getCurrentTimestep () |
|
int | setCurrentTimestep (long ts) |
|
int | getStartTimestep () |
|
int | setStartTimestep (int ts) |
|
int | getEndTimestep () |
|
int | setEndTimestep (int val) |
|
int | getMinTimestep () |
|
int | setMinTimestep (int val) |
|
int | getMaxTimestep () |
|
int | setMaxTimestep (int val) |
|
int | getPlayDirection () |
|
int | setPlayDirection (int val) |
|
int | getFrameStepSize () |
|
int | setFrameStepSize (int val) |
|
double | getMaxFrameRate () |
|
int | setMaxFrameRate (double rate) |
|
bool | isRepeating () |
|
int | setRepeating (bool onOff) |
|
int | getMinTimeToRender () |
|
int | SetCaptureEnabled (bool val) |
|
bool | GetCaptureEnabled () |
|
int | SetCaptureFilepath (string path) |
|
string | GetCaptureFilepath () |
|
|
Internal methods not intended for general use
|
| AnimationParams (XmlNode *parent, int winnum) |
|
| ~AnimationParams () |
| Destructor. More...
|
|
| Params (const Params &p) |
| Default copy constructor. More...
|
|
virtual | ~Params () |
|
virtual const std::string | getShortName ()=0 |
|
virtual void | Validate (int type)=0 |
|
bool | isRenderParams () const |
|
bool | isBasicParams () const |
|
virtual void | restart ()=0 |
|
virtual int | GetVizNum () |
|
virtual int | SetLocal (bool lg) |
|
virtual bool | IsLocal () |
|
virtual Box * | GetBox () |
|
| 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...
|
|
virtual int | GetInstanceIndex () |
|
virtual void | SetVizNum (int vnum) |
|
| 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 () |
| destructor..destroys the xml tree based at the root node. More...
|
|
ParamNode * | GetRootNode () const |
|
const string | GetName () const |
|
virtual long | GetValueLong (const string &tag, const vector< long > &defaultVal=_emptyLongVec) |
|
virtual double | GetValueDouble (const string &tag, const vector< double > &defaultVal=_emptyDoubleVec) |
|
virtual const string | GetValueString (const string &tag, const string &defaultVal=_emptyString) |
|
virtual const vector< long > | GetValueLongVec (const string &tag, const vector< long > &defaultVal=_emptyLongVec) |
|
virtual const vector< double > | GetValueDoubleVec (const string &tag, const vector< double > &defaultVal=_emptyDoubleVec) |
|
virtual void | GetValueStringVec (const string &tag, vector< string > &vec, const vector< string > &defaultVal=_emptyStringVec) |
|
virtual int | SetValueLong (string tag, const char *description, long value, Params *p) |
|
virtual int | SetValueLong (string tag, const char *description, const vector< long > &value, Params *p) |
|
virtual int | SetValueDouble (string tag, const char *description, double value, Params *p) |
|
virtual int | SetValueDouble (string tag, const char *description, const vector< double > &value, Params *p) |
|
virtual int | SetValueString (string tag, const char *description, const string &value, Params *p) |
|
virtual int | SetValueStringVec (string tag, const char *description, const vector< string > &value, Params *p) |
|
ParamsBaseType | GetParamsBaseTypeId () |
|
virtual void | SetRootParamNode (ParamNode *pn) |
|
ParamsBase * | GetParamsBase (const vector< string > &path) const |
|
int | SetParamsBase (const vector< string > &path, ParamsBase *pbase) |
|
int | RemoveParamsBase (const vector< string > &path, ParamsBase *pbase) |
|
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) |
|
virtual ParamNode * | buildNode () |
|
ParamNode * | GetCurrentNode () |
|
ParamNode * | Push (string &tag, ParamsBase *pBase=0) |
|
ParamNode * | Pop () |
|
void | Remove (const string &name) |
|
const map< string, string > & | GetAttributes () |
|
void | Clear () |
|
|
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
|
typedef void(* | DiagMsgCB_T) (const char *msg) |
|
typedef int | ParamsBaseType |
|
static bool | IsRenderingEnabled (int winnum) |
|
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 vector< Params * > & | GetAllParamsInstances (int pType, int winnum) |
|
static int | GetAllParamsInstances (string tag, vector< Params * > &) |
|
static int | DeleteVisualizer (int viznum) |
|
static vector< Params * > & | GetAllParamsInstances (const std::string tag, int winnum) |
|
static map< int, vector< Params * > > * | cloneAllParamsInstances (int winnum) |
|
static vector< Params * > * | cloneAllDefaultParams () |
|
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 int | GetNumBasicParamsClasses () |
|
static bool | IsParamsTag (const string &tag) |
|
static char * | ErrMsg |
|
static int | ErrCode |
|
static int | ErrMsgSize |
|
static FILE * | ErrMsgFilePtr |
|
static ErrMsgCB_T | ErrMsgCB |
|
static char * | DiagMsg |
|
static int | DiagMsgSize |
|
static FILE * | DiagMsgFilePtr |
|
static DiagMsgCB_T | DiagMsgCB |
|
static bool | Enabled |
|
virtual int | SetValueLong (string tag, const char *description, long value) |
|
virtual int | SetValueLong (string tag, const char *description, const vector< long > &value) |
|
virtual int | SetValueDouble (string tag, const char *description, double value) |
|
virtual int | SetValueDouble (string tag, const char *description, const vector< double > &value) |
|
virtual int | SetValueString (string tag, const char *description, const string &value) |
|
virtual int | SetValueStringVec (string tag, const char *description, const vector< string > &value) |
|
void | SetClassName (const string &name) |
|
A class that specifies parameters used in animation.
- Author
- Alan Norton
- Version
- 3.0
- Date
- February 2014 When this class is local, it controls the time-steps in one visualizer. The global (shared) AnimationParams controls the animation in any number of visualizers.
Definition at line 46 of file animationparams.h.