VAPOR3 3.9.4
|
class that indicates location and direction of view More...
#include <Viewpoint.h>
Public Member Functions | |
Viewpoint (ParamsBase::StateSave *ssave) | |
Viewpoint (ParamsBase::StateSave *ssave, XmlNode *node) | |
virtual | ~Viewpoint () |
void | GetModelViewMatrix (double m[16]) const |
Return the current 4x4 model-view matrix. | |
void | SetModelViewMatrix (const double m[16]) |
void | GetProjectionMatrix (double m[16]) const |
void | SetProjectionMatrix (const double m[16]) |
bool | ReconstructCamera (const double m[16], double position[3], double upVec[3], double viewDir[3]) const |
void | SetRotationCenter (const std::vector< double > &v) |
std::vector< double > | GetRotationCenter () const |
![]() | |
ParamsBase (StateSave *ssave, const string &classname) | |
ParamsBase (StateSave *ssave, XmlNode *node) | |
ParamsBase (const ParamsBase &rhs) | |
Copy constructor. | |
ParamsBase & | operator= (const ParamsBase &rhs) |
ParamsBase (ParamsBase &&)=delete | |
ParamsBase & | operator= (ParamsBase &)=delete |
bool | operator== (const ParamsBase &rhs) const |
Equivalence operator. | |
bool | operator!= (const ParamsBase &rhs) const |
virtual | ~ParamsBase () |
void | SetParent (ParamsBase *parent) |
XmlNode * | GetNode () const |
void | BeginGroup (const string &description) |
void | EndGroup () |
void | IntermediateChange () |
virtual vector< long > | GetValueLongVec (const string tag) const |
virtual vector< long > | GetValueLongVec (const string tag, const vector< long > &defaultVal) const |
virtual long | GetValueLong (const string tag, long defaultVal) const |
virtual vector< double > | GetValueDoubleVec (const string tag) const |
virtual vector< double > | GetValueDoubleVec (const string tag, const vector< double > &defaultVal) const |
virtual double | GetValueDouble (const string tag, double defaultVal) const |
virtual vector< string > | GetValueStringVec (const string tag) const |
virtual vector< string > | GetValueStringVec (const string tag, const vector< string > &defaultVal) const |
virtual string | GetValueString (const string tag, string defaultVal) const |
virtual void | SetValueLongVec (const string &tag, string description, const vector< long > &values) |
virtual void | SetValueLong (const string &tag, string description, long value) |
virtual void | SetValueDoubleVec (const string &tag, string description, const vector< double > &values) |
virtual void | SetValueDouble (const string &tag, string description, double value) |
virtual void | SetValueStringVec (const string &tag, string description, const vector< string > &values) |
virtual void | SetValueString (const string &tag, string description, const string &value) |
string | GetName () const |
![]() | |
MyBase () | |
const string & | getClassName () const |
Static Public Member Functions | |
static string | GetClassType () |
![]() | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. | |
static int | GetErrCode () |
Retrieve the current error code. | |
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. | |
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 bool | GetEnableErrMsg () |
Additional Inherited Members | |
![]() | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
![]() | |
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 |
![]() | |
ParamsBase (StateSave *ssave) | |
void | Remove (const string &name) |
const map< string, string > & | GetAttributes () |
void | Clear () |
![]() | |
void | SetClassName (const string &name) |
![]() | |
StateSave * | _ssave |
XmlNode * | _node |
class that indicates location and direction of view
Definition at line 22 of file Viewpoint.h.
VAPoR::Viewpoint::Viewpoint | ( | ParamsBase::StateSave * | ssave | ) |
VAPoR::Viewpoint::Viewpoint | ( | ParamsBase::StateSave * | ssave, |
XmlNode * | node | ||
) |
|
virtual |
|
inlinestatic |
Definition at line 52 of file Viewpoint.h.
void VAPoR::Viewpoint::GetModelViewMatrix | ( | double | m[16] | ) | const |
Return the current 4x4 model-view matrix.
void VAPoR::Viewpoint::GetProjectionMatrix | ( | double | m[16] | ) | const |
|
inline |
Definition at line 46 of file Viewpoint.h.
bool VAPoR::Viewpoint::ReconstructCamera | ( | const double | m[16], |
double | position[3], | ||
double | upVec[3], | ||
double | viewDir[3] | ||
) | const |
void VAPoR::Viewpoint::SetModelViewMatrix | ( | const double | m[16] | ) |
void VAPoR::Viewpoint::SetProjectionMatrix | ( | const double | m[16] | ) |
|
inline |
Definition at line 40 of file Viewpoint.h.
References VAssert.