COVISE Core
Public Member Functions | Private Attributes | List of all members
grmsg::coGRObjGeometryMsg Class Reference

#include <coGRObjGeometryMsg.h>

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

Public Member Functions

 coGRObjGeometryMsg (const char *obj_name, float width, float height, float length)
 
 coGRObjGeometryMsg (const char *msg)
 
float getWidth ()
 
float getHeight ()
 
float getLength ()
 
- 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 () const
 access to private variables More...
 
const char * c_str () const
 
std::string getString () const
 

Private Attributes

float width_
 
float height_
 
float length_
 

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 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...
 
std::string getFirstToken ()
 read first token in the message More...
 
std::string extractFirstToken ()
 read and delete first token in the message More...
 
std::vector< std::stringgetAllTokens ()
 read all tokens at once 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

◆ coGRObjGeometryMsg() [1/2]

GRMSGEXPORT grmsg::coGRObjGeometryMsg::coGRObjGeometryMsg ( const char *  obj_name,
float  width,
float  height,
float  length 
)

◆ coGRObjGeometryMsg() [2/2]

GRMSGEXPORT grmsg::coGRObjGeometryMsg::coGRObjGeometryMsg ( const char *  msg)

Member Function Documentation

◆ getHeight()

float grmsg::coGRObjGeometryMsg::getHeight ( )
inline

◆ getLength()

float grmsg::coGRObjGeometryMsg::getLength ( )
inline

◆ getWidth()

float grmsg::coGRObjGeometryMsg::getWidth ( )
inline

Member Data Documentation

◆ height_

float grmsg::coGRObjGeometryMsg::height_
private

◆ length_

float grmsg::coGRObjGeometryMsg::length_
private

◆ width_

float grmsg::coGRObjGeometryMsg::width_
private

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