OpenTracker

An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot Namespace Reference
[Common ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCommon ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesCore ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesDevice Input ClassesCore ClassesNetwork ClassesNetwork Classes]

The Button Filter allows the user to filter and re-map the individual buttons of an event. More...


Classes

class  ButtonFilterNode
class  ButtonHoldFilterModule
 Module for filters that filters out drops in a ButtonSource between updates. More...
class  ButtonHoldFilterNode
class  ButtonOpNode
class  CallbackModule
 The module and factory to drive the callback nodes. More...
class  CallbackNode
 This class implements a simple node that stores a function pointer and calls it every time an event it received. More...
class  CommonNodeFactory
class  ConfidenceFilterNode
class  ConfidenceSelectNode
class  ConsoleModule
class  ConsoleSink
class  ConsoleSource
class  DynamicTransformation
class  ElasticFilterNode
class  EllipsoidTransformNode
class  EventQueueNode
class  EventUtilityNode
 The EventUtilityNode provides the possibility to rename, discard, or add attributes to every event passed to this node. More...
class  File
class  FileModule
 This class manages the files and FileSink and FileSource objects. More...
class  FileSink
class  FileSource
class  FilterNode
class  GKTransformNode
class  GroupGateGroup
class  GroupGateModule
 The module and factory to drive the test source nodes. More...
class  GroupGateNode
 A GroupGateNode is an EventGenerator node that . More...
class  Override
class  ActiveGateNode
 An ActiveGateNode is an EventGenerator node that . More...
class  InterpolatorModule
 Module for filters that interpolate tracking data between updates and therefore need a module to drive the updates. More...
class  InvertTransformation
class  LogModule
 A simple module that modifies the ACE_LOG framework to provide some different logging options. More...
class  MatrixTransformation
class  MergeNode
class  PositionFilterNode
 The PositionFilterNode implements a filter that allows only events the position value of which is within a given range. More...
class  RangeFilterNode
class  SelectionNode
class  StaticTransformation
class  ThresholdFilterNode
class  TimeGateNode
class  TimeModule
class  Transformation
class  VirtualTransformation
class  ConfigNode
class  OpenTrackerResolver
class  ConfigurationParser
 parses the XML configuration file. More...
class  Context
 This class represents one context. More...
class  Event
 The Event, which is passing through the configuration tree and is holding all multi-modal attributes. More...
class  EventAttribute
 The EventAttribute class, which realizes one single attribute belonging to exactly one event. More...
class  EventAttributeBase
 The base class of the EventAttribute class. More...
struct  SameOrAfter
 simple functor to compare events with a fixed time More...
class  EventQueueImplementation
 Helper class that implements the EventQueue interface using a STL deque container. More...
class  MathStuff
class  MathUtils
class  Module
class  Node
 The basic superclass for all nodes. More...
class  NodeFactory
class  NodeFactoryContainer
 An implementation of NodeFactory that contains several NodeFactories and acts like the one providing all node types of the different factories together. More...
class  NodePort
class  OSUtils
class  RefNode
class  StringTable
class  KeyIterator
 This is a little helper class that iterates through the keys in a StringTable. More...
class  TestModule
 The module and factory to drive the test source nodes. More...
class  TestSource
class  ThreadModule
class  Translator
 The Translator class translates compiler dependent type names provided by the RunTime Type Information (RTTI) system to generic type names. More...
class  VideoUser
class  ARTDataTrackerChomp
class  ARTDataTrackerModule
 The module and factory to drive the ARTDataTrackersource nodes. More...
class  ARTDataTrackerSource
struct  MemoryBufferHandle
class  ARToolKitModule
class  ARToolKitMultiMarkerSource
 An ARToolKitSource represents a single marker that is tracked by the artoolkit library. More...
class  ARToolKitPlusModule
 The module and factory to drive the test source nodes. More...
class  ARToolKitSource
 An ARToolKitSource represents a single marker that is tracked by the artoolkit library. More...
class  CyberMouseModule
class  CyberMouseSource
 This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers. More...
class  DGPSIP_Handler
class  DGPSMirror_Handler
class  DGPSMirror_Acceptor
struct  Target
 this structure stores the attributes of a DynaSightSource More...
class  DynaSightModule
 The module and factory to drive the reception of DynaSight event updates. More...
class  DynaSightSource
struct  tmpStationEvent
 this struct just stores a event, and if the event was changed More...
class  FastTrakModule
 developer level information and implementation specifics here More...
class  FastTrakSource
class  Bird
 This class is a datatype helper class for the FOBModule class. More...
class  FOBModule
 developer level information and implementation specifics here More...
class  FOBSource
class  GPS_Handler
class  GPSDirectionSource
class  GPSListener
 This is an abstract interface for the clients of the GPSDriver class. More...
class  GPSDriver
 The GPSDriver class encapsulates the whole GPS and ACE framework code for reading data from the GPS receiver and also supplying it with correction data from a DGPSIP host. More...
class  GPSGarminAltitude
 A very simple EventGenerator node for outputing GPS direction and velocity data. More...
class  GPSGarminCompass
 A very simple EventGenerator node for outputing GPS direction and velocity data. More...
class  GPSInfoSource
 A very simple EventGenerator node for outputing GPS position data. More...
class  GPSModule
 This module supports a GPS receiver with optional DGPS correction data from an DGPSIP server. More...
class  GPResult
class  GPGGA
class  GPVTG
class  HCHDG
class  PGRMZ
class  GPSParser
 This is a GPS helper class for parsing the different output strings returned by the GPS receiver module. More...
class  GPSSource
struct  ISTracker
class  InterSenseModule
 The module and factory to drive the InterSenseSource nodes. More...
class  InterSenseSource
class  JoystickModule
 The module and factory to drive the JoystickSource nodes. More...
class  LinmouseModule
class  LinmouseSource
 This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers. More...
class  MagicY
 this structure stores the attributes of an MagicY More...
struct  MagicPoint
struct  Screen
class  MagicYModule
 The module and factory to drive the reception of MagicY event updates. More...
class  MagicYSource
class  MulticastInputModule
 The module and factory to drive the ARTDataTrackersource nodes. More...
class  MulticastInputSource
 This class implements a simple source that inputs the data from the ART Data Tracker and updates any EventObservers. More...
class  VideoSinkSubscriber
class  OpenVideoModule
class  P5GloveModule
class  P5GloveSource
 This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers. More...
class  ParButtonModule
 Implements a set of buttons triggered via the parallel port. More...
class  ParButtonSource
 This class implements a simple EventGenerator. More...
class  SpaceMouseModule
class  SpaceMouseSource
 This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers. More...
class  SpeechCoreBase
class  CSpeechCore
struct  SSpeechCommand
class  SpeechModule
 The module and factory to drive the speech source nodes. More...
class  SpeechSetBase
class  CSpeechSet
class  SpeechSource
class  SpeechVoiceBase
class  CSpeechVoice
class  SpeechVoiceModule
class  TargusModule
class  TargusSource
 This class implements a simple source that sets its valid flag in regular intervals and updates any EventObservers. More...
class  UbisenseModule
 A Ubisense tracking source module using the Ubisense API to track Ubisense tags. More...
class  UbisenseSource
 A UbisenseSource represents a single Ubisense object that is tracked by the Ubisense library. More...
class  MyNameClient
struct  Station
 this structure stores the attributes of an UltratrakSource More...
struct  UltraTrakStationData
 structure of an UltraTrakStationData section More...
struct  UltraTrakFrameData
 structure of a whole UltraTrak frame More...
class  UltraTrakModule
 The module and factory to drive the reception of UltraTrak event updates. More...
class  UltraTrakSource
class  WacomGraphireModule
class  WacomGraphireSource
class  XSensModule
 This module simply supports the XSensSource. More...
class  XSensSource
 The XSensSource reads and propagates data from an XSens MT9-B sensor. More...
class  XKeys
class  XMLWriter
 This class writes out the contents of the Context as a valid XML file. More...
class  CORBAModule
 The module and factory to drive the test source nodes. More...
class  CORBASink
class  CORBASource
class  CORBAUtils
class  DwarfModule
 The module and factory to drive the test source nodes. More...
class  DwarfSink
 This class implements a simple source that is fired by its module in regular intervals and updates any EventObservers. More...
class  DwarfSource
 This class implements a simple source that is fired by its module in regular intervals and updates any EventObservers. More...
class  NetworkSink
 This class implements a simple node that stores a copy of the last event it received and passed on for output to the console. More...
struct  NetworkSender
 a simple struct to relate the address of a multicast group, a network data buffer and a socket that is used to build the packets send to the group, depending on the network interface to use. More...
struct  UdpSender
struct  MulticastSender
struct  UnicastSender
struct  FindMulticastSender
 simple functor to find the right multicast sender. More...
struct  FindUnicastSender
 simple functor to find the right unicast sender. More...
class  NetworkSinkModule
 The module and factory to drive the transmission of tracker events via the network. More...
class  NetworkSource
 This class implements a simple node that inserts new events from the network into the tracker tree. More...
struct  NetworkReceiver
struct  UdpReceiver
struct  MulticastReceiver
struct  UnicastReceiver
struct  FindMulticastReceiver
 simple functor to find the right multicast receiver. More...
struct  FindUnicastReceiver
 simple functor to find the right unicast receiver. More...
class  NetworkSourceModule
 The module and factory to drive the reception of network event updates. More...
class  TCPModule
 TCPModule implements a multithreaded module to serve a list of clients with a stream of data captured by TCPSink nodes via TCP. More...
class  TCPSink
 This class is a simple sink that stores a copy of all data passing through it and marks itself as changed for the TCPModule to process the new data. More...
class  VRPNModule
 The module and factory to drive the VRPN nodes. More...
class  VRPNSink
 The node representing a VRPN server device. More...
class  VRPNSource
 VRPN client interface node. More...
class  OTQt
 OTQt main class More...
class  OTQtConfigFileEditor
 Simple line-based file editor. More...
class  OTQtMath
 Mathematical toolbox. More...
class  OTQtMEMCalibProc
 Calibration procedure implementation. More...
class  QtAppScreen
 Updates of application screen location and mouse cursor coordinates. More...
class  QtAppScreenPosSink
 Destination sink of the ASPD. More...
class  QtMouseButtonSink
 Destination sink of the MBD. More...
class  QtMouseEventCalibModule
 Module (MECM) employed in calibration mode More...
class  QtMouseEventModule
 Module (MEM) employed in the operation mode More...
class  QtMouseEventModuleBase
 Mouse Event Modules (MEMs) base class. More...
class  QtMouseEventSinkBase
 Base class of MEMs sink nodes. More...
class  QtMousePosSink
 Destination sink of the MPD. More...
class  QtMouseWheelSink
 Destination sink of the MWD. More...

Typedefs

typedef std::vector< Node * > NodeVector
typedef std::map< std::string,
Node * > 
NodeMap
typedef void CallbackFunction (CallbackNode &, Event &, void *)
typedef std::map< double,
Event * > 
EventMap
typedef std::vector< std::string > StringVec
typedef std::map< std::string,
Node * > 
NodeMap
typedef std::map< std::string,
GroupGateGroup * > 
GroupMap
typedef std::vector< std::string > NeighborsVector
typedef std::vector< Node * > NeighborPtrsVector
typedef std::vector< Node * > NodeVector
typedef std::map< std::string,
Node * > 
NodeMap
typedef std::map< std::string,
Module * > 
ModuleMap
typedef std::map< std::string,
EventAttributeBase * > 
AttributeMap
typedef EventAttributeBase *(*) CreateFunction (void)
typedef std::map< std::string,
CreateFunction
CreatorMap
typedef std::deque< EventEventQueue
typedef MathStuff< double > MD
typedef MathStuff< float > MF
typedef std::vector< Node * > NodeVector
typedef std::vector< NodeFactory * > NodeFactoryVector
typedef std::vector< Node * > NodeVector
typedef std::map< std::string,
std::string > 
TranslationMap
typedef std::vector< VideoUser * > VideoUserVector
typedef std::vector< Node * > NodeVector
typedef std::vector< Node * > NodeVector
typedef std::map< int, Node * > MarkerIdMap
typedef ACE_Connector< DGPSIP_Handler,
ACE_SOCK_CONNECTOR > 
DGPSIP_Connector
typedef std::vector< Target * > TargetVector
typedef std::vector< Node * > NodeVector
typedef ACE_Connector< GPS_Handler,
ACE_DEV_CONNECTOR > 
GPS_Connector
typedef std::vector< ISTracker * > ISTrackerVector
typedef std::vector< Node * > NodeVector
typedef std::vector< MagicY * > MagicYVector
typedef std::vector< Screen * > ScreenVector
typedef std::vector< MagicPointPointVector
typedef std::vector< Node * > NodeVector
typedef std::vector< std::string > StringArray
typedef std::queue< std::string > StringQueue
typedef std::string CSpeechException
typedef std::vector< Node * > NodeVector
typedef std::vector< Station * > StationVector
typedef std::vector< CORBASink * > CORBASinkVector
typedef std::map< CORBASource *,
OT_CORBA::OTSource_var > 
SourceNodeMap
typedef std::vector< MulticastSender * > MulticastSenderVector
typedef std::vector< UnicastSender * > UnicastSenderVector
typedef std::vector< NetworkSink * > SinkVector
typedef std::vector< Station * > StationVector
typedef std::vector< MulticastReceiver * > MulticastReceiverVector
typedef std::vector< UnicastReceiver * > UnicastReceiverVector
typedef std::vector< VRPNSource * > VRPNSourceVector
typedef std::vector< VRPNSink * > VRPNSinkVector
typedef std::vector< Node * > NodeVector

Enumerations

enum  PIXEL_FORMAT {
  FORMAT_R8G8B8 = 0, FORMAT_B8G8R8 = 1, FORMAT_R8G8B8X8 = 2, FORMAT_B8G8R8X8 = 3,
  FORMAT_R5G6B5 = 4, FORMAT_L8 = 5, FORMAT_UNKNOWN = 6, FORMAT_X8B8G8R8 = 7
}
enum  TargetStatus { SEARCH = 0, COAST = 1, CAUTION = 2, TRACK = 3 }
enum  OPENTRACKER_VERSION { VERSION_MAJOR = OPENTRACKER_VERSION_MAJOR, VERSION_MINOR = OPENTRACKER_VERSION_MINOR }

Functions

TiXmlElement * findElementRecursive (TiXmlElement *element, const std::string &id)
std::istream & operator>> (std::istream &in, ot::Event &event)
std::ostream & operator<< (std::ostream &out, const ot::Event &event)
template<typename T>
static T * copyV2A (const std::vector< T > &vector, T *array)
template<typename T>
static std::vector< T > & copyA2V (const T *array, const int arraySize, std::vector< T > &vector)
template<typename T>
static const std::vector< T > copyA2V (const T *array, const int arraySize)
std::istream & operator>> (std::istream &in, ot::EventAttributeBase &att)
std::ostream & operator<< (std::ostream &out, ot::EventAttributeBase &att)
template<typename T>
std::ostream & operator<< (std::ostream &os, const std::vector< T > &object)
template<typename T>
std::ostream & operator<< (std::ostream &os, const std::list< T > &object)
template<typename T>
std::istream & operator>> (std::istream &is, std::vector< T > &object)
template<typename T>
std::istream & operator>> (std::istream &is, std::list< T > &object)
const std::string empty ("")
bool convertPixelFormat_OpenTracker_to_ARToolKitPlus (ot::PIXEL_FORMAT nSrcFormat, ARToolKitPlus::PIXEL_FORMAT &nDstFormat)
bool convertPixelFormat_ARToolKitPlus_to_OpenTracker (ARToolKitPlus::PIXEL_FORMAT nSrcFormat, ot::PIXEL_FORMAT &nDstFormat)
bool newVideoFrame (const unsigned char *image, int width, int height, PIXEL_FORMAT format)
typedef ULONG (FAR PASCAL *PFNGet_FREED_Info)(FREED_info *Info)
long FAR PASCAL WndProc (HWND hWndCyber, UINT uMsg, WPARAM wParam, LPARAM lParam)
short int getBinary (const char *buffer)
double getASC (const char *buffer)
void buildPositionFT (char *buffer, std::vector< float > &position)
void buildPositionIT (char *buffer, std::vector< float > &position)
void buildQuaternionFT (char *buffer, std::vector< float > &quaternion)
void buildQuaternionIT (char *buffer, std::vector< float > &quaternion)
void P5Motion_InvertMouse (int xaxis, int yaxis, int zaxis)
LONG WINAPI HandlerExceptionFilter (EXCEPTION_POINTERS *pExPtrs)
LRESULT FAR PASCAL WndSpaceMouseProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
LRESULT FAR PASCAL RuleAppWndProc (HWND hWndWacom, UINT wMsg, WPARAM wParam, LPARAM lParam)
void OPENTRACKER_API initializeContext (Context &context)
void writeNode (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *toWrite, XERCES_CPP_NAMESPACE_QUALIFIER XMLFormatTarget *target)

Variables

const XMLCh ud_node [] = { chLatin_n, chLatin_o, chLatin_d, chLatin_e, chNull }
const XMLCh ud_node [] = { chLatin_n, chLatin_o, chLatin_d, chLatin_e, chNull }
static const float DEG_TO_RAD = (float)(3.14159/180.0)
PFNGet_FREED_Info lpfnGet_FREED_Info
typedef HWND
PFNOpenFREED lpfnOpenFREED
PFNCloseFREED lpfnCloseFREED
PFNGet_FREED_Info lpfnGet_FREED_Info
PFNOpenFREED lpfnOpenFREED
PFNCloseFREED lpfnCloseFREED
FREED_info FREED_Info
WORD FREED_Opened
HANDLE hLibrary
HWND hWndCyber
const int DYNASIGHT_MAX_TARGETS = 8
const int DYNASIGHT_PACKET_MAX_LENGTH = 8
const int DYNASIGHT_COMM_BUFFER_SIZE = 4096
const float SCALE_TO_METER = 20000.0
const int FASTTRAK = 1
const int ISOTRAK = 2
const int tsStart = 0
const int tsStationNumber = 1
const int tsSpace = 2
const int tsSyncBit = 3
const int tsGetRec = 4
ACE_Reactor gps_reactor
const int magicYMaxUnits = 1000
static const float DEG_TO_RAD = (float)(3.14159/180.0)
int nXPos = 0
int nYPos = 0
int nZPos = 0
float fXMickey = 0.0f
float fYMickey = 0.0f
float fZMickey = 0.0f
float fAbsYawPos
float fAbsPitchPos
float fAbsRollPos
float fRelYawPos
float fRelPitchPos
float fRelRollPos
int nxclipstart = 0
int nxclipend = 1024
int nyclipstart = 0
int nyclipend = 768
int nzclipstart = 0
int nzclipend = 1024
int nxinvert = 0
int nyinvert = 0
int nzinvert = 0
float fXPos [P5MOTION_XYZFILTERSIZE]
float fYPos [P5MOTION_XYZFILTERSIZE]
float fZPos [P5MOTION_XYZFILTERSIZE]
float fYaw [P5MOTION_YPRFILTERSIZE]
float fPitch [P5MOTION_YPRFILTERSIZE]
float fRoll [P5MOTION_YPRFILTERSIZE]
float fFilterYaw
float fFilterPitch
float fFilterRoll
static BOOL bPrivException = FALSE
SiHdl devHdl
SiOpenData oData
const int ultraTrakMaxUnits = 16
HANDLE hInst
PACKET pkt
HCTX hTab
POINT ptNew
UINT prsNew
UINT curNew
UINT butNew
HWND hWndWacom
const int positionQuaternion = 1
const int positionAngles = 2
const int positionMatrix = 3
const int magicNum = 0xbeef
const int revNum = 0x0200
const int positionQuaternion = 1
const int positionAngles = 2
const int positionMatrix = 3
const int magicNum = 0xbeef
const int revNum = 0x0200

Detailed Description

The Button Filter allows the user to filter and re-map the individual buttons of an event.

Author:
Flo Ledermann flo@subnet.at

Thomas Psik tomp@ims.tuwien.ac.at

ButtonFilter description WATCH OUT !! Button bits are leastsignificant first invert (10000000) with buttonin(00000000) will result in (00000001) !! sequence : validtrans, radiobuttons, invertstr, buttonmask, buttonmap

validtrans (8bit) specify valid transmission bit for radio pen (-----2-1) means radio pen 1 has VT on bit 0, radio pen 2 has VT on bit 2 radiobuttons (8bit) specify bits for radio pen (ref to validtrans) (---22-1-) means bit 1 is for radiopen 1, bit 3&4 is for radiopen 2 (has two buttons) buttonmask (8bit) set bit to 0 if you want to disable the button (00000010) will enable only button 1 buttonmap (8bit) rearrange buttons (01234567) is identity mapping (02134567) will change order of button 2 and 1 invertstr (8bit) invert single button (00000010) button 1 is pressed if value reads 0


Typedef Documentation

typedef std::vector<Node*> ot::NodeVector

Definition at line 68 of file ButtonHoldFilterModule.h.

typedef std::map<std::string, Node*> ot::NodeMap

Definition at line 67 of file CallbackModule.h.

typedef void ot::CallbackFunction(CallbackNode &, Event &, void *)

Definition at line 73 of file CallbackNode.h.

typedef std::map<double, Event*> ot::EventMap

Definition at line 85 of file FileSource.h.

typedef std::vector<std::string> ot::StringVec

Definition at line 72 of file GroupGateModule.h.

typedef std::map<std::string, Node *> ot::NodeMap

Definition at line 75 of file GroupGateModule.h.

typedef std::map<std::string, GroupGateGroup *> ot::GroupMap

Definition at line 98 of file GroupGateModule.h.

typedef std::vector<std::string> ot::NeighborsVector

Definition at line 113 of file GroupGateNode.h.

typedef std::vector<Node *> ot::NeighborPtrsVector

Definition at line 114 of file GroupGateNode.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 73 of file InterpolatorModule.h.

typedef std::map<std::string, Node *> ot::NodeMap

used to map a string to a node

Definition at line 57 of file ConfigurationParser.h.

typedef std::map<std::string, Module *> ot::ModuleMap

a string map to store modules in

Definition at line 58 of file Context.h.

typedef std::map<std::string, EventAttributeBase*> ot::AttributeMap

A map matching attribute names to according EventAttributeBase pointers.

The only place where the names of attributes are stored.

Definition at line 63 of file Event.h.

A function pointer matching the declaration of creator functions.

Definition at line 63 of file EventAttributeBase.h.

typedef std::map<std::string, CreateFunction> ot::CreatorMap

A map matching generic type names to according creator functions.

Definition at line 67 of file EventAttributeBase.h.

typedef std::deque<Event> ot::EventQueue

A front and back insert Vector like container, for simple and fast queueing of timestamped events.

Definition at line 57 of file EventQueueImplementation.h.

typedef MathStuff<double> ot::MD

Definition at line 76 of file MathUtils.cxx.

typedef MathStuff<float> ot::MF

Definition at line 77 of file MathUtils.cxx.

typedef std::vector<Node *> ot::NodeVector

a Vector of Node pointers.

Very useful to implement a simple container of Nodes such as a parent node, or to keep pointers to several nodes around.

Definition at line 80 of file Node.h.

typedef std::vector<NodeFactory*> ot::NodeFactoryVector

used to keep a list of NodeFactories.

Definition at line 56 of file NodeFactoryContainer.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 69 of file TestModule.h.

typedef std::map<std::string, std::string> ot::TranslationMap

A map matching compiler dependent type names provided by the RunTime Type Information (RTTI) system to generic type names.

Definition at line 58 of file Translator.h.

typedef std::vector<VideoUser*> ot::VideoUserVector

Definition at line 82 of file VideoUser.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 85 of file ARTDataTrackerModule.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 98 of file ARToolKitPlusModule.h.

typedef std::map<int,Node*> ot::MarkerIdMap

Definition at line 100 of file ARToolKitPlusModule.h.

typedef ACE_Connector<DGPSIP_Handler, ACE_SOCK_CONNECTOR> ot::DGPSIP_Connector

Definition at line 91 of file DGPSIP_Handler.h.

typedef std::vector<Target *> ot::TargetVector

Definition at line 108 of file DynaSightModule.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 83 of file FastTrakModule.h.

typedef ACE_Connector<GPS_Handler, ACE_DEV_CONNECTOR> ot::GPS_Connector

Definition at line 105 of file GPS_Handler.h.

typedef std::vector<ISTracker *> ot::ISTrackerVector

Definition at line 81 of file InterSenseModule.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 77 of file JoystickModule.h.

typedef std::vector<MagicY *> ot::MagicYVector

Definition at line 139 of file MagicYModule.h.

typedef std::vector<Screen *> ot::ScreenVector

Definition at line 140 of file MagicYModule.h.

typedef std::vector<MagicPoint> ot::PointVector

Definition at line 141 of file MagicYModule.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 84 of file MulticastInputModule.h.

typedef std::vector<std::string> ot::StringArray

String array with std components.

Definition at line 66 of file SpeechDef.h.

typedef std::queue<std::string> ot::StringQueue

String queue with std components.

Definition at line 69 of file SpeechDef.h.

typedef std::string ot::CSpeechException

Speech Exception.

Definition at line 72 of file SpeechDef.h.

typedef std::vector<Node*> ot::NodeVector

Definition at line 99 of file SpeechModule.h.

typedef std::vector<Station *> ot::StationVector

Definition at line 99 of file UltraTrakModule.h.

typedef std::vector<CORBASink*> ot::CORBASinkVector

Definition at line 61 of file CORBAModule.h.

typedef std::map<CORBASource*, OT_CORBA::OTSource_var> ot::SourceNodeMap

Definition at line 63 of file CORBAModule.h.

a list of MulticastSender records

Definition at line 72 of file NetworkSinkModule.h.

typedef std::vector<UnicastSender *> ot::UnicastSenderVector

a list of UnicastSender records

Definition at line 77 of file NetworkSinkModule.h.

typedef std::vector<NetworkSink *> ot::SinkVector

a list of NetworkSink nodes

Definition at line 80 of file NetworkSinkModule.h.

typedef std::vector<Station *> ot::StationVector

Definition at line 87 of file NetworkSourceModule.cxx.

Definition at line 71 of file NetworkSourceModule.h.

Definition at line 74 of file NetworkSourceModule.h.

typedef std::vector<VRPNSource *> ot::VRPNSourceVector

Definition at line 77 of file VRPNModule.h.

typedef std::vector<VRPNSink *> ot::VRPNSinkVector

Definition at line 80 of file VRPNModule.h.

typedef std::vector<Node *> ot::NodeVector

a Vector of Node pointers.

Very useful to implement a simple container of Nodes such as a parent node, or to keep pointers to several nodes around.

Definition at line 129 of file OpenTracker.h.


Enumeration Type Documentation

Chosen to be compatible to OpenVideo's pixel formats!

Enumerator:
FORMAT_R8G8B8 
FORMAT_B8G8R8 
FORMAT_R8G8B8X8 
FORMAT_B8G8R8X8 
FORMAT_R5G6B5 
FORMAT_L8 
FORMAT_UNKNOWN 
FORMAT_X8B8G8R8 

Definition at line 57 of file VideoUser.h.

status values for the tracker data

Enumerator:
SEARCH 
COAST 
CAUTION 
TRACK 

Definition at line 91 of file DynaSightModule.h.

Enumerator:
VERSION_MAJOR 
VERSION_MINOR 

Definition at line 119 of file OpenTracker.h.


Function Documentation

TiXmlElement* ot::findElementRecursive ( TiXmlElement *  element,
const std::string &  id 
)

Definition at line 342 of file Context.cxx.

Referenced by ot::Context::findNode().

OPENTRACKER_API std::istream & ot::operator>> ( std::istream &  in,
ot::Event event 
)

Input streaming operator.

Streams the data provided by the input stream into the event.

Parameters:
in the input stream
event the event
Returns:
the input stream

Definition at line 435 of file Event.cxx.

References ot::Event::deserialize().

OPENTRACKER_API std::ostream & ot::operator<< ( std::ostream &  out,
const ot::Event event 
)

Output streaming operator.

Streams the event into the output stream.

Parameters:
out the output stream
event the event
Returns:
the output stream

Definition at line 442 of file Event.cxx.

References ot::Event::serialize().

template<typename T>
static T* ot::copyV2A ( const std::vector< T > &  vector,
T *  array 
) [static]

Copies the values of a vector into an array.

Convenience function for switching between arrays used in old OT11 code and vectors in newer code.

Parameters:
vector the vector that is copied
array the array that the values are copied to (must have the same size as vector!)
Returns:
pointer to the array

Definition at line 73 of file Event.h.

Referenced by ot::MathUtils::angle(), ot::MathUtils::axisAngleToQuaternion(), ot::QtAppScreen::convert(), ot::OTQtMath::distance(), ot::MathUtils::dot(), ot::MathUtils::invertQuaternion(), ot::MathUtils::multiplyQuaternion(), ot::MathUtils::normalizeQuaternion(), ot::MathUtils::rotateVector(), ot::MathUtils::slerp(), and ot::QtAppScreen::updateMPD().

template<typename T>
static std::vector<T>& ot::copyA2V ( const T *  array,
const int  arraySize,
std::vector< T > &  vector 
) [static]

Copies the values of an array into a vector.

Convenience function for switching between arrays used in old OT11 code and vectors in newer code.

Parameters:
array the array that is copied
arraySize how many values should be copied
vector the vector that the values are copied to
Returns:
reference to the vector

Definition at line 89 of file Event.h.

Referenced by ot::MathUtils::axisAngleToQuaternion(), ot::MathUtils::eulerToQuaternion(), ot::StringTable::get(), ot::MathUtils::invertQuaternion(), ot::MathUtils::matrixToQuaternion(), ot::MathUtils::multiplyQuaternion(), ot::GPSGarminCompass::newData(), ot::GPSDirectionSource::newData(), ot::MathUtils::normalizeQuaternion(), ot::MathUtils::rotateVector(), ot::UltraTrakModule::run(), ot::Event::setOrientation(), ot::Event::setPosition(), ot::MathUtils::slerp(), ot::VirtualTransformation::transformEvent(), and ot::StaticTransformation::transformEvent().

template<typename T>
static const std::vector<T> ot::copyA2V ( const T *  array,
const int  arraySize 
) [static]

Copies the values of an array into a vector.

Convenience function for switching between arrays used in old OT11 code and vectors in newer code.

Parameters:
array the array that is copied
arraySize how many values should be copied
Returns:
reference to the vector

Definition at line 105 of file Event.h.

std::istream & ot::operator>> ( std::istream &  in,
ot::EventAttributeBase att 
)

Input streaming operator.

Streams the data provided by the input stream into the attribute.

Parameters:
in the input stream
att the attribute
Returns:
the input stream

Definition at line 86 of file EventAttributeBase.cxx.

References ot::EventAttributeBase::deserialize().

std::ostream & ot::operator<< ( std::ostream &  out,
ot::EventAttributeBase att 
)

Output streaming operator.

Streams the attribute into the output stream.

Parameters:
out the output stream
att the attribute
Returns:
the output stream

Definition at line 93 of file EventAttributeBase.cxx.

References ot::EventAttributeBase::serialize().

template<typename T>
std::ostream& ot::operator<< ( std::ostream &  os,
const std::vector< T > &  object 
)

Output streaming operator.

Streams the vector into the output stream.

Parameters:
os the output stream
object the vector
Returns:
the output stream

Definition at line 61 of file iostream_ext.h.

template<typename T>
std::ostream& ot::operator<< ( std::ostream &  os,
const std::list< T > &  object 
)

Output streaming operator.

Streams the list into the output stream.

Parameters:
os the output stream
object the list
Returns:
the output stream

Definition at line 82 of file iostream_ext.h.

template<typename T>
std::istream& ot::operator>> ( std::istream &  is,
std::vector< T > &  object 
)

Input streaming operator.

Streams the data provided by the input stream into the vector.

Parameters:
is the input stream
object the vector
Returns:
the input stream

Definition at line 103 of file iostream_ext.h.

template<typename T>
std::istream& ot::operator>> ( std::istream &  is,
std::list< T > &  object 
)

Input streaming operator.

Streams the data provided by the input stream into the list.

Parameters:
is the input stream
object the list
Returns:
the input stream

Definition at line 159 of file iostream_ext.h.

const std::string ot::empty ( ""   ) 

bool ot::convertPixelFormat_OpenTracker_to_ARToolKitPlus ( ot::PIXEL_FORMAT  nSrcFormat,
ARToolKitPlus::PIXEL_FORMAT nDstFormat 
)

bool ot::convertPixelFormat_ARToolKitPlus_to_OpenTracker ( ARToolKitPlus::PIXEL_FORMAT  nSrcFormat,
ot::PIXEL_FORMAT nDstFormat 
)

bool ot::newVideoFrame ( const unsigned char *  image,
int  width,
int  height,
PIXEL_FORMAT  format 
)

typedef ot::ULONG ( FAR PASCAL *  PFNGet_FREED_Info  ) 

long FAR PASCAL ot::WndProc ( HWND  hWndCyber,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 90 of file CyberMouseModule.cxx.

Referenced by ot::CyberMouseModule::start().

short int ot::getBinary ( const char *  buffer  ) 

Definition at line 537 of file FastTrakModule.cxx.

Referenced by buildPositionFT(), and buildQuaternionFT().

double ot::getASC ( const char *  buffer  ) 

Definition at line 547 of file FastTrakModule.cxx.

Referenced by buildPositionIT(), and buildQuaternionIT().

void ot::buildPositionFT ( char *  buffer,
std::vector< float > &  position 
)

Definition at line 569 of file FastTrakModule.cxx.

References getBinary().

Referenced by ot::FastTrakModule::convert().

void ot::buildPositionIT ( char *  buffer,
std::vector< float > &  position 
)

Definition at line 578 of file FastTrakModule.cxx.

References getASC().

Referenced by ot::FastTrakModule::convert().

void ot::buildQuaternionFT ( char *  buffer,
std::vector< float > &  quaternion 
)

Definition at line 598 of file FastTrakModule.cxx.

References getBinary().

Referenced by ot::FastTrakModule::convert().

void ot::buildQuaternionIT ( char *  buffer,
std::vector< float > &  quaternion 
)

Definition at line 607 of file FastTrakModule.cxx.

References getASC().

Referenced by ot::FastTrakModule::convert().

void ot::P5Motion_InvertMouse ( int  xaxis,
int  yaxis,
int  zaxis 
)

Definition at line 241 of file P5GloveModule.cxx.

References nxinvert, nyinvert, and nzinvert.

LONG WINAPI ot::HandlerExceptionFilter ( EXCEPTION_POINTERS *  pExPtrs  ) 

Definition at line 111 of file ParButtonModule.cxx.

References bPrivException.

Referenced by ot::ParButtonModule::createNode().

LRESULT FAR PASCAL ot::WndSpaceMouseProc ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 78 of file SpaceMouseModule.cxx.

Referenced by ot::SpaceMouseModule::run().

LRESULT FAR PASCAL ot::RuleAppWndProc ( HWND  hWndWacom,
UINT  wMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 109 of file WacomGraphireModule.cxx.

Referenced by ot::WacomGraphireModule::start().

OPENTRACKER_API void ot::initializeContext ( Context &  context  ) 

initializes a context by instantiating the available modules and factories and registering them with the given context.

So for each passed context there is a new set of objects instantiated. This leaves the programmer with the responsibility of deleting these objects again ! Any compile time definitions go in here, to define which modules are compiled in and can be instantiated. Also the modules configuration element names are defined here.

Parameters:
context reference of the context to be initialized.

Definition at line 141 of file OpenTracker.cxx.

References ot::Context::addFactory(), ot::Context::addModule(), ot::Event::registerAllKnownTypes(), and ot::Context::registerVideoUser().

Referenced by ot::Context::Context(), and ot::OTQt::init().

void ot::writeNode ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  toWrite,
XERCES_CPP_NAMESPACE_QUALIFIER XMLFormatTarget *  target 
)

internal method that writes out the graph recursively.

This may change and therefore is not part of the interface.

Parameters:
toWrite the current XML element to write out
target the output stream to write to

Definition at line 102 of file XMLWriter.cxx.

References LOG_ACE_ERROR().

Referenced by ot::XMLWriter::write().


Variable Documentation

const XMLCh ot::ud_node[] = { chLatin_n, chLatin_o, chLatin_d, chLatin_e, chNull }

Definition at line 85 of file Node.cxx.

const float ot::DEG_TO_RAD = (float)(3.14159/180.0) [static]

Definition at line 68 of file ARTDataTrackerModule.cxx.

PFNGet_FREED_Info ot::lpfnGet_FREED_Info

typedef ot::HWND

Definition at line 74 of file CyberMouseModule.cxx.

PFNOpenFREED ot::lpfnOpenFREED

Definition at line 81 of file CyberMouseModule.cxx.

Referenced by ot::CyberMouseModule::start().

PFNCloseFREED ot::lpfnCloseFREED

PFNGet_FREED_Info ot::lpfnGet_FREED_Info

PFNOpenFREED ot::lpfnOpenFREED

Definition at line 81 of file CyberMouseModule.cxx.

Referenced by ot::CyberMouseModule::start().

PFNCloseFREED ot::lpfnCloseFREED

Definition at line 87 of file CyberMouseModule.cxx.

Referenced by ot::CyberMouseModule::start().

maximum number of targets that can be processed

Definition at line 81 of file DynaSightModule.h.

Referenced by ot::DynaSightModule::createNode().

maximum length of conversion packet buffer

Definition at line 83 of file DynaSightModule.h.

Referenced by ot::DynaSightModule::run().

maximum size of serial i/o buffer

Definition at line 85 of file DynaSightModule.h.

Referenced by ot::DynaSightModule::run().

const float ot::SCALE_TO_METER = 20000.0

constant for conversion of target values to meter

Definition at line 87 of file DynaSightModule.h.

Referenced by ot::DynaSightModule::run().

const int ot::tsStart = 0

const int ot::tsSpace = 2

const int ot::tsSyncBit = 3

Definition at line 383 of file FastTrakModule.cxx.

Referenced by ot::FastTrakModule::parseRecordFT().

ACE_Reactor ot::gps_reactor

Definition at line 72 of file GPSModule.cxx.

Referenced by ot::GPSModule::run().

const int ot::magicYMaxUnits = 1000

maximum number of stations that can be processed

Definition at line 144 of file MagicYModule.h.

const float ot::DEG_TO_RAD = (float)(3.14159/180.0) [static]

Definition at line 68 of file MulticastInputModule.cxx.

int ot::nXPos = 0

Definition at line 67 of file P5GloveModule.cxx.

int ot::nYPos = 0

Definition at line 67 of file P5GloveModule.cxx.

int ot::nZPos = 0

Definition at line 67 of file P5GloveModule.cxx.

float ot::fXMickey = 0.0f

Definition at line 70 of file P5GloveModule.cxx.

float ot::fYMickey = 0.0f

Definition at line 70 of file P5GloveModule.cxx.

float ot::fZMickey = 0.0f

Definition at line 70 of file P5GloveModule.cxx.

Definition at line 73 of file P5GloveModule.cxx.

Definition at line 73 of file P5GloveModule.cxx.

Definition at line 73 of file P5GloveModule.cxx.

Definition at line 74 of file P5GloveModule.cxx.

Definition at line 74 of file P5GloveModule.cxx.

Definition at line 74 of file P5GloveModule.cxx.

int ot::nxinvert = 0

Definition at line 239 of file P5GloveModule.cxx.

Referenced by P5Motion_InvertMouse(), and ot::P5GloveModule::P5Motion_Process().

int ot::nyinvert = 0

Definition at line 239 of file P5GloveModule.cxx.

Referenced by P5Motion_InvertMouse(), and ot::P5GloveModule::P5Motion_Process().

int ot::nzinvert = 0

Definition at line 239 of file P5GloveModule.cxx.

Referenced by P5Motion_InvertMouse(), and ot::P5GloveModule::P5Motion_Process().

float ot::fXPos[P5MOTION_XYZFILTERSIZE]

Definition at line 253 of file P5GloveModule.cxx.

Referenced by ot::P5GloveModule::P5Motion_FilterXYZ().

float ot::fYPos[P5MOTION_XYZFILTERSIZE]

Definition at line 253 of file P5GloveModule.cxx.

Referenced by ot::P5GloveModule::P5Motion_FilterXYZ().

float ot::fZPos[P5MOTION_XYZFILTERSIZE]

Definition at line 253 of file P5GloveModule.cxx.

Referenced by ot::P5GloveModule::P5Motion_FilterXYZ().

float ot::fYaw[P5MOTION_YPRFILTERSIZE]

Definition at line 358 of file P5GloveModule.cxx.

Referenced by ot::P5GloveModule::P5Motion_FilterYPR().

float ot::fPitch[P5MOTION_YPRFILTERSIZE]

Definition at line 358 of file P5GloveModule.cxx.

Referenced by ot::P5GloveModule::P5Motion_FilterYPR().

float ot::fRoll[P5MOTION_YPRFILTERSIZE]

Definition at line 358 of file P5GloveModule.cxx.

Referenced by ot::P5GloveModule::P5Motion_FilterYPR().

BOOL ot::bPrivException = FALSE [static]

Definition at line 109 of file ParButtonModule.cxx.

Referenced by ot::ParButtonModule::createNode(), and HandlerExceptionFilter().

SiOpenData ot::oData

Definition at line 75 of file SpaceMouseModule.cxx.

Referenced by ot::SpaceMouseModule::run().

const int ot::ultraTrakMaxUnits = 16

maximum number of stations that can be processed

Definition at line 102 of file UltraTrakModule.h.

Referenced by ot::UltraTrakModule::run().

HANDLE ot::hInst

Definition at line 77 of file WacomGraphireModule.cxx.

PACKET ot::pkt

Definition at line 78 of file WacomGraphireModule.cxx.

Referenced by ot::WacomGraphireModule::pushEvent().

POINT ot::ptNew

Definition at line 80 of file WacomGraphireModule.cxx.

Referenced by ot::WacomGraphireModule::pushEvent().

UINT ot::prsNew

Definition at line 81 of file WacomGraphireModule.cxx.

Referenced by ot::WacomGraphireModule::pushEvent().

UINT ot::curNew

Definition at line 82 of file WacomGraphireModule.cxx.

Referenced by ot::WacomGraphireModule::pushEvent().

UINT ot::butNew

Definition at line 83 of file WacomGraphireModule.cxx.

Referenced by ot::WacomGraphireModule::pushEvent().

const int ot::positionQuaternion = 1

Definition at line 75 of file NetworkSinkModule.cxx.

const int ot::positionAngles = 2

Definition at line 76 of file NetworkSinkModule.cxx.

const int ot::positionMatrix = 3

Definition at line 77 of file NetworkSinkModule.cxx.

const int ot::revNum = 0x0200

const int ot::positionQuaternion = 1

Definition at line 90 of file NetworkSourceModule.cxx.

const int ot::positionAngles = 2

Definition at line 91 of file NetworkSourceModule.cxx.

const int ot::positionMatrix = 3

Definition at line 92 of file NetworkSourceModule.cxx.

const int ot::magicNum = 0xbeef

Definition at line 94 of file NetworkSourceModule.cxx.

const int ot::revNum = 0x0200

Definition at line 95 of file NetworkSourceModule.cxx.

copyright (c) 2006 Graz University of Technology