vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vrecko Namespace Reference

Second level of space paritioning queries - detailed searching inside object. More...

Classes

class  BufferedFile
 
class  BufferedFileWrite
 
class  Ability
 
class  AbilityDispatcher
 used for managing abilities in an EnvironmentObject and for distributing received messages to a relevant abilities More...
 
class  Attribute
 
class  AttributesDescription
 
class  IOPinBase
 Base class that defines the very basic method that every IO pin will have. More...
 
class  InputPinBase
 
class  OutputPinBase
 
class  IORequestPinBase
 
class  RequestInputPinBase
 
class  RequestOutputPinBase
 
class  BaseClass
 
class  BenchmarkWriter
 Class to write any timings and other benchmark data into file. More...
 
class  Device
 
class  DeviceManager
 
class  DynamicAttribute
 
class  Enumeration
 
class  EnvironmentObject
 
class  EventDispatcher
 
class  Interval
 
class  InputPin
 
class  OutputPin
 
class  RequestInputPin
 
class  RequestOutputPin
 
class  Logger
 
class  VreckoMessage
 
class  MessageVoid
 
class  MessageSensorTransformation
 
class  MTLock
 Base class for multi-thread access to a single variable. More...
 
class  MTAutoLock
 
class  MTReadWriteLock
 
class  MTReadWriteLockEx
 
class  MTTwoPrioLimitedLock
 
class  OctTree
 
class  PersistentCache
 Caching that persists multiple application sessions. More...
 
class  PluginManager
 Simple class to load and manage the plugins. More...
 
class  PyAbility
 Python ability. More...
 
class  Range
 
class  RWErrorHandler
 
class  ReaderWriter
 
class  XercesStr
 
struct  ScenePSThreadInfo
 
class  Scene
 
class  Scheduler
 
class  CollisionPointInfo
 
class  CollisionInfo
 
class  CollisionParams__ver1
 Parameters for the SP_SceneInterface::getCollisions() method. More...
 
class  SP_Object_DataInterface
 
class  SP_ObjectInterface
 
class  SP_SceneInterface
 
class  StaticAttribute
 
class  Timer
 
class  ViewerBase
 Abstract VRECKO viewer class. More...
 
class  Viewer
 Child class for classic one screen viewer - used for QUAD_STEREO. More...
 
class  CompositeViewer
 Child class for more than one screen viewer. More...
 
class  vThread
 
class  World
 
struct  CABUTTONEVENT
 
class  MessageCAButtonEvent
 
struct  CAINFO__VER1
 
struct  CAINFO__VER2
 
class  ControllableAbility
 
class  logger_streambuf
 
class  MaterialDesc
 

Typedefs

typedef Enumeration< int > IntEnumeration
 used with integers More...
 
typedef Enumeration< long > LongEnumeration
 used with longs More...
 
typedef Enumeration< float > FloatEnumeration
 used with floats More...
 
typedef Enumeration< double > DoubleEnumeration
 used with doubles More...
 
typedef Enumeration< string,
const string & > 
StringEnumeration
 used with strings More...
 
typedef Interval< int > IntInterval
 
typedef Interval< long > LongInterval
 used with integers and strings More...
 
typedef Interval< float > FloatInterval
 used with longs More...
 
typedef Interval< double > DoubleInterval
 used with floats More...
 
typedef MTLock MTLockSingleProcess
 
typedef pthread_mutex * VRECKOMutex
 
typedef std::vector
< CollisionPointInfo
COLLISION_POINTS_VECTOR
 
typedef DynamicArray
< CollisionInfo
COLLISIONS_INFO_VECTOR
 
typedef CollisionParams__ver1 CollisionParams
 
typedef StaticAttribute
< Attribute::TYPE_BOOL, bool > 
BoolAttribute
 
typedef StaticAttribute
< Attribute::TYPE_INT, int > 
IntAttribute
 booleans More...
 
typedef StaticAttribute
< Attribute::TYPE_LONG, long > 
LongAttribute
 integers More...
 
typedef StaticAttribute
< Attribute::TYPE_FLOAT, float > 
FloatAttribute
 longs More...
 
typedef StaticAttribute
< Attribute::TYPE_DOUBLE,
double > 
DoubleAttribute
 floats More...
 
typedef StaticAttribute
< Attribute::TYPE_STRING,
string, const string & > 
StringAttribute
 doubles More...
 
typedef StaticAttribute
< Attribute::TYPE_VEC2, Vec2,
const Vec2 & > 
Vec2Attribute
 strings More...
 
typedef StaticAttribute
< Attribute::TYPE_VEC3, Vec3,
const Vec3 & > 
Vec3Attribute
 2D vectors More...
 
typedef StaticAttribute
< Attribute::TYPE_VEC4, Vec4,
const Vec4 & > 
Vec4Attribute
 3D vectors More...
 
typedef StaticAttribute
< Attribute::TYPE_MATRIX,
Matrix, const Matrix & > 
MatrixAttribute
 4D vectors More...
 
typedef StaticAttribute
< Attribute::TYPE_QUAT, Quat,
const Quat & > 
QuatAttribute
 matrices More...
 
typedef CAINFO__VER2 CAINFO
 

Enumerations

enum  EventType { NORMAL_EVENT, PRIORITY_EVENT, EXPRESS_EVENT }
 Type of the event. More...
 

Functions

bool FileExists (const _TCHAR *pFileName)
 
virtual bool setValueFromString (const char *valueAsString)
 
VRECKO_END_MESSAGE MessageString (const std::string &_data)
 
 MessageString (const char *_data)
 
virtual bool isEqualTo (VreckoMessage *otherMsg)
 
VRECKO_END_MESSAGE MessageVec2 (const osg::Vec2 &_data)
 
VRECKO_END_MESSAGE MessageVec3 (const osg::Vec3 &_data)
 
VRECKO_END_MESSAGE MessageVec4 (const osg::Vec4 &_data)
 
VRECKO_END_MESSAGE MessageQuat (const osg::Quat &_data)
 
VRECKO_END_MESSAGE MessageMatrix (const osg::Matrix &_data)
 
VRECKO_END_MESSAGE MessageNodeList (const std::vector< osg::Node * > &_data)
 
VRECKO_END_MESSAGE MessageNode (osg::Node *newNode)
 
 MessageXMLNode (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *newNode)
 
DWORD WINAPI ScenePSThreadProc (ScenePSThreadInfo *lpParameter)
 
VRECKO_EXPORT bool initXML ()
 
VRECKO_EXPORT bool doneXML ()
 
VRECKO_EXPORT const std::string & getSafeSceneFile (const std::string &sceneFile)
 
VRECKO_EXPORT unsigned long getNumSceneFiles ()
 Returns the number of stored scene files. More...
 
VRECKO_EXPORT const std::string & getSafeSceneFile (unsigned long index)
 Return an appropriate scene file ([index] can be from 0 to getNumSceneFiles()-1) More...
 
VRECKO_EXPORT const std::string & getSafeDefaultSceneFile ()
 
VRECKO_EXPORT void setDefaultSceneFile (const std::string &newDefaultSceneFile)
 
bool Wait (int nObjects, HANDLE *pObjects, DWORD Timeout=INFINITE)
 
bool Wait1 (HANDLE hObj, DWORD Timeout=INFINITE)
 
bool Wait2 (HANDLE hObj1, HANDLE hObj2, DWORD Timeout=INFINITE)
 
bool Wait3 (HANDLE hObj1, HANDLE hObj2, HANDLE hObj3, DWORD Timeout=INFINITE)
 
osg::Vec4 base1 (1.0, 0.0, 0.0, 0.0)
 
osg::Vec4 base2 (0.0, 0.0,-1.0, 0.0)
 
osg::Vec4 base3 (0.0, 1.0, 0.0, 0.0)
 
osg::Vec4 baseR1 (-1.0, 0.0, 0.0, 0.0)
 
osg::Vec4 baseR2 (0.0, 0.0, 1.0, 0.0)
 
osg::Vec4 baseR3 (0.0,-1.0, 0.0, 0.0)
 
osg::Vec4 origin (0.0, 0.0, 0.0, 1.0)
 
 METHOD_REQUEST_INPUT (ActivePointerID, MessageInt, MessageInt, ControllableAbility)
 
 METHOD_REQUEST_INPUT (GetInfo, MessageVoid, ControllableAbility::MessageCAINFO, ControllableAbility)
 

Variables

class VRECKO_EXPORT EnvironmentObject
 
class VRECKO_EXPORT World
 
class VRECKO_EXPORT AutoPtrV
 
class VRECKO_EXPORT BaseClass
 
class VRECKO_EXPORT Scene
 
template class VRECKO_EXPORT OutputPin< MessageBool >
 
template class VRECKO_EXPORT InputPin< MessageBool >
 
template class VRECKO_EXPORT OutputPin< MessageInt >
 
template class VRECKO_EXPORT InputPin< MessageInt >
 
template class VRECKO_EXPORT OutputPin< MessageUnsignedInt >
 
template class VRECKO_EXPORT InputPin< MessageUnsignedInt >
 
template class VRECKO_EXPORT OutputPin< MessageFloat >
 
template class VRECKO_EXPORT InputPin< MessageFloat >
 
template class VRECKO_EXPORT OutputPin< MessageObjectID >
 
template class VRECKO_EXPORT InputPin< MessageObjectID >
 
template class VRECKO_EXPORT OutputPin< MessageString >
 
template class VRECKO_EXPORT InputPin< MessageString >
 
template class VRECKO_EXPORT OutputPin< MessageVec2 >
 
template class VRECKO_EXPORT InputPin< MessageVec2 >
 
template class VRECKO_EXPORT OutputPin< MessageVec3 >
 
template class VRECKO_EXPORT InputPin< MessageVec3 >
 
template class VRECKO_EXPORT OutputPin< MessageVec4 >
 
template class VRECKO_EXPORT InputPin< MessageVec4 >
 
template class VRECKO_EXPORT OutputPin< MessageQuat >
 
template class VRECKO_EXPORT InputPin< MessageQuat >
 
template class VRECKO_EXPORT OutputPin< MessageMatrix >
 
template class VRECKO_EXPORT InputPin< MessageMatrix >
 
VRECKO_EXPORT Logger logger
 
VRECKO_END_MESSAGE class
XERCES_CPP_NAMESPACE_QUALIFIER 
DOMNode
 
class VRECKO_EXPORT DeviceManager
 
class VRECKO_EXPORT EventDispatcher
 
VRECKO_EXPORT Worldworld = NULL
 
char trash [256]
 

Detailed Description

Second level of space paritioning queries - detailed searching inside object.

First level of space paritioning queries - searching for object related to task.

Interval.h

Author: Martin [yanas] Janik yanas.nosp@m.@yan.nosp@m.as.cz ICQ: 125931550

Version: 02/02/2006

Range.h

Author: Martin [yanas] Janik yanas.nosp@m.@yan.nosp@m.as.cz ICQ: 125931550

Version: 02/02/2006

vreckoViewer

This adaptor class was created for better working with osg viewer classes. If you need method which is not listed here, feel free to add it.

Author
: Martin Bezdeka
Date
: 6. 12. 2010

Typedef Documentation

Definitions of basic attribute types.

used with doubles

used with floats

used with floats

used with longs

used with integers

Definitions of basic enumeration types.

Definitions of interval types.

used with longs

used with integers and strings

4D vectors

matrices

doubles

Definitions of object attribute types.

typedef Enumeration<string, const string&> vrecko::StringEnumeration

used with strings

Definitions of obejct enumeration types.

strings

2D vectors

3D vectors

typedef pthread_mutex* vrecko::VRECKOMutex

Enumeration Type Documentation

Type of the event.

Enumerator
NORMAL_EVENT 
PRIORITY_EVENT 
EXPRESS_EVENT 

Function Documentation

osg::Vec4 vrecko::base1 ( 1.  0,
0.  0,
0.  0,
0.  0 
)
osg::Vec4 vrecko::base2 ( 0.  0,
0.  0,
-1.  0,
0.  0 
)
osg::Vec4 vrecko::base3 ( 0.  0,
1.  0,
0.  0,
0.  0 
)
osg::Vec4 vrecko::baseR1 ( -1.  0,
0.  0,
0.  0,
0.  0 
)
osg::Vec4 vrecko::baseR2 ( 0.  0,
0.  0,
1.  0,
0.  0 
)
osg::Vec4 vrecko::baseR3 ( 0.  0,
-1.  0,
0.  0,
0.  0 
)
bool vrecko::doneXML ( )
bool vrecko::FileExists ( const _TCHAR *  pFileName)
unsigned long vrecko::getNumSceneFiles ( )

Returns the number of stored scene files.

const std::string & vrecko::getSafeDefaultSceneFile ( )

Returns a default scene file, where all newly created objects/abilities/connections will be stored. Might be an empty string, which means "do not save to a file".

const std::string & vrecko::getSafeSceneFile ( const std::string &  sceneFile)

Returns a pointer to the shared pool of scene file names. This pointer will be valid throughout the existence of the application. An empty string may be specified as a parameter, which means "no file".

const std::string & vrecko::getSafeSceneFile ( unsigned long  index)

Return an appropriate scene file ([index] can be from 0 to getNumSceneFiles()-1)

bool vrecko::initXML ( )
bool vrecko::isEqualTo ( VreckoMessage *  otherMsg)
virtual
VRECKO_END_MESSAGE vrecko::MessageMatrix ( const osg::Matrix &  _data)
VRECKO_END_MESSAGE vrecko::MessageNode ( osg::Node *  newNode)
VRECKO_END_MESSAGE vrecko::MessageNodeList ( const std::vector< osg::Node * > &  _data)
VRECKO_END_MESSAGE vrecko::MessageQuat ( const osg::Quat &  _data)
VRECKO_END_MESSAGE vrecko::MessageString ( const std::string &  _data)
vrecko::MessageString ( const char *  _data)
VRECKO_END_MESSAGE vrecko::MessageVec2 ( const osg::Vec2 &  _data)
VRECKO_END_MESSAGE vrecko::MessageVec3 ( const osg::Vec3 &  _data)
VRECKO_END_MESSAGE vrecko::MessageVec4 ( const osg::Vec4 &  _data)
vrecko::MessageXMLNode ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  newNode)
vrecko::METHOD_REQUEST_INPUT ( ActivePointerID  ,
MessageInt  ,
MessageInt  ,
ControllableAbility   
)
vrecko::METHOD_REQUEST_INPUT ( GetInfo  ,
MessageVoid  ,
ControllableAbility::MessageCAINFO  ,
ControllableAbility   
)
osg::Vec4 vrecko::origin ( 0.  0,
0.  0,
0.  0,
1.  0 
)
DWORD WINAPI vrecko::ScenePSThreadProc ( ScenePSThreadInfo lpParameter)
void vrecko::setDefaultSceneFile ( const std::string &  newDefaultSceneFile)

Sets a new default scene file (will be automatically safe to use for anybody). Might be an empty string meaning "do not save to a file".

bool vrecko::setValueFromString ( const char *  valueAsString)
virtual
The lines below are equivalent to the commented code:

class MessageBool : public VreckoMessage { public: virtual const char* getMessageId() { return "MessageBool"; }

MessageBool() {}; MessageBool(bool newData) { data = newData; }; virtual bool setValueFromString(const char *valueAsString) { data = (atoi(valueAsString) > 0); return true; };

bool data; };

bool vrecko::Wait ( int  nObjects,
HANDLE *  pObjects,
DWORD  Timeout = INFINITE 
)
inline
bool vrecko::Wait1 ( HANDLE  hObj,
DWORD  Timeout = INFINITE 
)
inline
bool vrecko::Wait2 ( HANDLE  hObj1,
HANDLE  hObj2,
DWORD  Timeout = INFINITE 
)
inline
bool vrecko::Wait3 ( HANDLE  hObj1,
HANDLE  hObj2,
HANDLE  hObj3,
DWORD  Timeout = INFINITE 
)
inline

Variable Documentation

class VRECKO_EXPORT vrecko::AutoPtrV
class VRECKO_EXPORT vrecko::BaseClass
class VRECKO_EXPORT vrecko::DeviceManager
VRECKO_END_MESSAGE class XERCES_CPP_NAMESPACE_QUALIFIER vrecko::DOMNode
class VRECKO_EXPORT vrecko::EnvironmentObject
class VRECKO_EXPORT vrecko::EventDispatcher
template class VRECKO_EXPORT vrecko::InputPin< MessageBool >
template class VRECKO_EXPORT vrecko::InputPin< MessageFloat >
template class VRECKO_EXPORT vrecko::InputPin< MessageInt >
template class VRECKO_EXPORT vrecko::InputPin< MessageMatrix >
template class VRECKO_EXPORT vrecko::InputPin< MessageObjectID >
template class VRECKO_EXPORT vrecko::InputPin< MessageQuat >
template class VRECKO_EXPORT vrecko::InputPin< MessageString >
template class VRECKO_EXPORT vrecko::InputPin< MessageUnsignedInt >
template class VRECKO_EXPORT vrecko::InputPin< MessageVec2 >
template class VRECKO_EXPORT vrecko::InputPin< MessageVec3 >
template class VRECKO_EXPORT vrecko::InputPin< MessageVec4 >
Logger vrecko::logger
template class VRECKO_EXPORT vrecko::OutputPin< MessageBool >
template class VRECKO_EXPORT vrecko::OutputPin< MessageFloat >
template class VRECKO_EXPORT vrecko::OutputPin< MessageInt >
template class VRECKO_EXPORT vrecko::OutputPin< MessageMatrix >
template class VRECKO_EXPORT vrecko::OutputPin< MessageObjectID >
template class VRECKO_EXPORT vrecko::OutputPin< MessageQuat >
template class VRECKO_EXPORT vrecko::OutputPin< MessageString >
template class VRECKO_EXPORT vrecko::OutputPin< MessageUnsignedInt >
template class VRECKO_EXPORT vrecko::OutputPin< MessageVec2 >
template class VRECKO_EXPORT vrecko::OutputPin< MessageVec3 >
template class VRECKO_EXPORT vrecko::OutputPin< MessageVec4 >
class VRECKO_EXPORT vrecko::Scene
char vrecko::trash[256]
class VRECKO_EXPORT vrecko::World
World * vrecko::world = NULL

Global variable accessible from anywhere. Holds pointer to the world and through it to all of the structures.