COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
grmsg::coGRObjMovedMsg Class Reference

#include <coGRObjMovedMsg.h>

Inheritance diagram for grmsg::coGRObjMovedMsg:
Inheritance graph
[legend]
Collaboration diagram for grmsg::coGRObjMovedMsg:
Collaboration graph
[legend]

Public Member Functions

 coGRObjMovedMsg (const char *obj_name, float transX, float transY, float transZ, float rotX, float rotY, float rotZ, float rotAngle)
 
 coGRObjMovedMsg (const char *msg)
 
float getTransX ()
 
float getTransY ()
 
float getTransZ ()
 
float getRotX ()
 
float getRotY ()
 
float getRotZ ()
 
float getRotAngle ()
 
- Public Member Functions inherited from grmsg::coGRObjMsg
const char * getObjName ()
 
- Public Member Functions inherited from grmsg::coGRMsg
 coGRMsg (const char *msg)
 recreate class from a message string More...
 
virtual ~coGRMsg ()
 destructor More...
 
int isValid ()
 whether recreate was succesful More...
 
virtual void print_stdout ()
 output content to stdout More...
 
Mtype getType ()
 access to private variables More...
 
const char * c_str ()
 
string getString ()
 

Protected Member Functions

 coGRObjMovedMsg (coGRMsg::Mtype type, const char *obj_name, float transX, float transY, float transZ, float rotX, float rotY, float rotZ, float rotAngle)
 
- Protected Member Functions inherited from grmsg::coGRObjMsg
 coGRObjMsg (coGRMsg::Mtype type, const char *obj_name)
 
 coGRObjMsg (const char *msg)
 
virtual ~coGRObjMsg ()
 
- Protected Member Functions inherited from grmsg::coGRMsg
 coGRMsg (Mtype type)
 construct used by child class More...
 
void addToken (const char *token)
 add a token to the message More...
 
string getFirstToken ()
 read first token in the message More...
 
string extractFirstToken ()
 read and delete first token in the message More...
 
vector< stringgetAllTokens ()
 read all tokens at once More...
 

Private Member Functions

void initClass (float transX, float transY, float transZ, float rotX, float rotY, float rotZ, float rotAngle)
 

Private Attributes

float transX_
 
float transY_
 
float transZ_
 
float rotX_
 
float rotY_
 
float rotZ_
 
float rotAngle_
 

Additional Inherited Members

- Public Types inherited from grmsg::coGRMsg
enum  Mtype {
  NO_TYPE = 0, REGISTER, GEO_VISIBLE, INTERACTOR_VISIBLE,
  SMOKE_VISIBLE, MOVE_INTERACTOR, INTERACTOR_USED, CREATE_VIEWPOINT,
  CREATE_DEFAULT_VIEWPOINT, SHOW_VIEWPOINT, SHOW_PRESENTATIONPOINT, CHANGE_VIEWPOINT_ID,
  CHANGE_VIEWPOINT_NAME, DELETE_VIEWPOINT, FLYMODE_TOGGLE, SET_CASE,
  SET_NAME, MOVE_OBJECT, ADD_DOCUMENT, SET_DOCUMENT_PAGE,
  SET_DOCUMENT_SCALE, SET_DOCUMENT_POSITION, SET_DOCUMENT_PAGESIZE, SEND_DOCUMENT_NUMBERS,
  DOC_VISIBLE, BOUNDARIES_OBJECT, COLOR_OBJECT, SHADER_OBJECT,
  MATERIAL_OBJECT, SET_TRANSPARENCY, KEYWORD, TRANSFORM_OBJECT,
  TRANSFORM_CASE, RESTRICT_AXIS, GRAPHIC_RESSOURCE, SET_MOVE,
  SET_MOVE_SELECTED, SENSOR, SENSOR_EVENT, ATTACHED_CLIPPLANE,
  ANIMATION_ON, ANIMATION_SPEED, ANIMATION_TIMESTEP, ACTIVATED_VIEWPOINT,
  VPCLIPPLANEMODE_TOGGLE, SNAPSHOT, SEND_CURRENT_DOCUMENT, SET_TRACKING_PARAMS,
  CHANGE_VIEWPOINT, VIEWPOINT_CHANGED, OBJECT_TRANSFORMED, SET_CONNECTIONPOINT,
  GENERIC_PARAM_REGISTER, GENERIC_PARAM_CHANGED, TRANSFORM_SGITEM, SELECT_OBJECT,
  DELETE_OBJECT, GEOMETRY_OBJECT, ADD_CHILD_OBJECT, TURNTABLE_ANIMATION,
  SET_VARIANT, SET_APPEARANCE, KINEMATICS_STATE
}
 id to specify the type of the message More...
 
- Protected Attributes inherited from grmsg::coGRMsg
int is_valid_
 valid can be overwritten by children if their recreation was not succesful More...
 

Constructor & Destructor Documentation

GRMSGEXPORT grmsg::coGRObjMovedMsg::coGRObjMovedMsg ( const char *  obj_name,
float  transX,
float  transY,
float  transZ,
float  rotX,
float  rotY,
float  rotZ,
float  rotAngle 
)
GRMSGEXPORT grmsg::coGRObjMovedMsg::coGRObjMovedMsg ( const char *  msg)
grmsg::coGRObjMovedMsg::coGRObjMovedMsg ( coGRMsg::Mtype  type,
const char *  obj_name,
float  transX,
float  transY,
float  transZ,
float  rotX,
float  rotY,
float  rotZ,
float  rotAngle 
)
protected

Member Function Documentation

float grmsg::coGRObjMovedMsg::getRotAngle ( )
inline
float grmsg::coGRObjMovedMsg::getRotX ( )
inline
float grmsg::coGRObjMovedMsg::getRotY ( )
inline
float grmsg::coGRObjMovedMsg::getRotZ ( )
inline
float grmsg::coGRObjMovedMsg::getTransX ( )
inline
float grmsg::coGRObjMovedMsg::getTransY ( )
inline
float grmsg::coGRObjMovedMsg::getTransZ ( )
inline
GRMSGEXPORT void grmsg::coGRObjMovedMsg::initClass ( float  transX,
float  transY,
float  transZ,
float  rotX,
float  rotY,
float  rotZ,
float  rotAngle 
)
private

Member Data Documentation

float grmsg::coGRObjMovedMsg::rotAngle_
private
float grmsg::coGRObjMovedMsg::rotX_
private
float grmsg::coGRObjMovedMsg::rotY_
private
float grmsg::coGRObjMovedMsg::rotZ_
private
float grmsg::coGRObjMovedMsg::transX_
private
float grmsg::coGRObjMovedMsg::transY_
private
float grmsg::coGRObjMovedMsg::transZ_
private

The documentation for this class was generated from the following files: