ot Namespace Reference
[Core 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 ClassesCommon ClassesCommon 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 ClassesCore ClassesNetwork ClassesCore ClassesNetwork ClassesCore ClassesCore ClassesNetwork ClassesNetwork ClassesNetwork Classes]


Detailed Description

Source file for DESPFilter Node.

Author:
Daniel Wagner
Id
DESP.cpp 25 2006-08-05 21:54:47Z daniel
========================================================================


Classes

class  ButtonFilterNode
class  ButtonHoldFilterModule
class  ButtonHoldFilterNode
class  ButtonOpNode
class  CallbackModule
class  CallbackNode
class  CallforwardModule
class  CallforwardNode
class  CommonNodeFactory
class  ConfidenceFilterNode
class  ConfidenceSelectNode
class  ConsoleModule
class  ConsoleSink
class  ConsoleSource
class  DESP
 Double Exponential Smoothing Prediction for a scalar value. More...
class  PoseDESP
 Double Exponential Smoothing Prediction for a pose matrix. More...
class  DESPFilterNode
class  DifferenceNode
class  DynamicTransformation
class  ElasticFilterNode
class  EllipsoidTransformNode
class  EventQueueNode
class  EventUtilityNode
class  File
class  FileModule
class  FileSink
class  FileSource
class  FilterNode
class  GKTransformNode
class  GroupGateGroup
class  GroupGateModule
class  GroupGateNode
class  Override
class  ActiveGateNode
class  InterpolatorModule
class  InvertTransformation
class  LogModule
class  MatrixTransformation
class  MergeNode
class  PositionFilterNode
class  RangeFilterNode
class  SelectionNode
class  StaticTransformation
class  ThresholdFilterNode
class  TimeGateNode
class  TimeModule
class  TimestampGeneratorModule
class  TimestampGeneratorNode
class  Transformation
class  VirtualTransformation
class  ConfigNode
class  ConfigurationParser
class  ConfigurationThread
class  Configurator
class  Context
class  Event
class  EventAttribute
class  EventAttributeBase
class  EventQueueImplementation
class  LiveContext
class  MathUtils
class  Module
class  Node
class  NodeFactory
class  NodeFactoryContainer
class  NodePort
class  OSUtils
class  OtException
class  OtLogger
class  StringTable
class  KeyIterator
class  TestModule
class  TestSource
class  ThreadContext
class  ThreadModule
class  Translator
class  VideoUser
class  ARTDataTrackerChomp
class  ARTDataTrackerModule
class  ARTDataTrackerSource
class  Command
class  CommandFactory
class  CmdUpMovement
class  CmdUp
class  CmdMoveUp
class  CmdDownMovement
class  CmdDown
class  CmdMoveDown
class  CmdRightMovement
class  CmdRight
class  CmdMoveRight
class  CmdLeftMovement
class  CmdLeft
class  CmdMoveLeft
class  CmdForwardMovement
class  CmdForward
class  CmdMoveForward
class  CmdBackwardMovement
class  CmdBackward
class  CmdMoveBackward
class  CmdAxial
class  CmdSagittal
class  CmdCoronal
class  CmdReset
class  CmdRotation
class  CmdRightRotation
class  CmdRotateRight
class  CmdRotateRightFast
class  CmdLeftRotation
class  CmdRotateLeft
class  CmdRotateLeftFast
class  CmdClockwiseRolling
class  CmdRollClockwise
class  CmdRollClockwiseFast
class  CmdCounterClockwiseRolling
class  CmdRollCounterClockwise
class  CmdRollCounterClockwiseFast
class  CmdTildingUp
class  CmdTildUp
class  CmdTildUpFast
class  CmdTildingDown
class  CmdTildDown
class  CmdTildDownFast
class  CmdSaveEvent
class  CmdSaveOne
class  CmdSaveTwo
class  CmdSaveThree
class  CmdSaveFour
class  CmdSaveFive
class  CmdRestoreEvent
class  CmdRestoreOne
class  CmdRestoreTwo
class  CmdRestoreThree
class  CmdRestoreFour
class  CmdRestoreFive
class  CmdScaleUp
class  CmdScaleDown
class  CmdGoOn
class  CmdStop
class  CmdAgain
class  CmdQuit
class  CmdUndo
class  CmdRedo
class  CommandStack
class  CustomTransformation
class  DGPSIP_Handler
class  DGPSMirror_Handler
class  DGPSMirror_Acceptor
struct  Target
 this structure stores the attributes of a DynaSightSource More...
class  DynaSightModule
class  DynaSightSource
class  ECGModule
class  ECGSource
class  EndoScoutModule
class  EndoScoutSource
struct  tmpStationEvent
 this struct just stores a event, and if the event was changed More...
class  FastTrakModule
class  FastTrakSource
class  FlashpointModule
struct  track_data
class  FlashpointSource
class  FOBModule
class  FOBSource
class  GENavModule
class  GENavSource
class  GPS_Handler
class  GPSDirectionSource
class  GPSListener
class  GPSDriver
class  GPSGarminAltitude
class  GPSGarminCompass
class  GPSInfoSource
class  GPSModule
class  GPResult
class  GPGGA
class  GPVTG
class  HCHDG
class  PGRMZ
class  GPSParser
class  GPSSource
class  ICubeXModule
class  ICubeXSensor
class  ICubeXSink
class  ICubeXSource
class  InterSenseModule
class  InterSenseSource
class  LinmouseModule
class  MagicY
 this structure stores the attributes of an MagicY More...
struct  MagicPoint
struct  Screen
class  MagicYModule
class  MagicYSource
class  MedScanModule
class  MedScanSink
class  MedScanSource
class  MidiSink
class  MidiSource
class  MulticastInputModule
class  MulticastInputSource
class  TransformData
class  NDICommands
class  NDIModule
class  NDISource
struct  TargetOri
 this structure stores the attributes of a OrientationSource More...
class  OrientationModule
class  OrientationSource
class  ParButtonModule
class  ParButtonSource
struct  COMPLEX
struct  INIT_MSG
struct  RDS_PREPPED_PKT
class  RDSModule
class  RDSParallelRecon
class  RDSRecon
class  RDSSink
class  RDSSource
class  SerButtonModule
class  SerButtonSource
class  SpeechControlModule
class  SpeechControlSource
class  SpeechCoreBase
struct  SSpeechCommand
class  SpeechModule
class  SpeechSetBase
class  SpeechSource
class  SpeechTransformation
class  SpeechVoiceBase
class  SpeechVoiceModule
class  TerasonModule
class  TerasonSink
class  TerasonSource
class  TtsString
struct  UltraTrakStationData
 structure of an UltraTrakStationData section More...
struct  UltraTrakFrameData
 structure of a whole UltraTrak frame More...
class  UltraTrakModule
class  UltraTrakSource
class  XSensModule
class  XSensSource
class  ZTrackerTransform
class  FileConfigurationThread
class  SPLCommonNodeFactory
class  XKeys
class  XMLWriter
class  CORBASink
class  CORBASource
class  CORBATransform
class  CORBAUtils
class  NetworkSink
class  NetworkSinkModule
class  NetworkSource
class  NetworkSourceModule
class  OldOTNetworkSource
class  OldOTNetworkSourceModule
class  PhantomMiddlewareSink
class  PhantomMiddlewareSource
class  PushCons
class  Supplier_i
class  PushSupp
class  SharedEngineNode
class  TCPModule
class  TCPSink
class  SyncQueue
class  Image

Typedefs

typedef MathStuff< double > MD
typedef MathStuff< float > MF
typedef std::vector< Station * > StationVector
typedef std::vector< Station * > StationVector
typedef std::vector< Node::PtrNodeVector
typedef std::map< std::string,
Node * > 
NodeMap
typedef std::map< std::string,
std::pair< OTCallbackFunction *,
void * > > 
fctmap_type
typedef std::map< std::string,
Node * > 
NodeMap
typedef ACE_Mutex mutex_type
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::PtrNodeVector
typedef std::vector< Node::PtrNodeVector
typedef std::map< std::string,
Node * > 
NodeMap
 used to map a string to a node
typedef std::map< std::string,
Module * > 
ModuleMap
 a string map to store modules in
typedef std::map< std::string,
EventAttributeBase * > 
AttributeMap
typedef EventAttributeBase *(* CreateFunction )(void)
typedef std::map< std::string,
CreateFunction
CreatorMap
typedef std::deque< EventEventQueue
typedef std::pair< Node *,
Node * > 
Edge
typedef std::vector< EdgeEdgeVector
typedef std::map< std::string,
Node * > 
NodeMap
typedef std::vector< NodeFactory * > NodeFactoryVector
typedef std::vector< Node::PtrNodeVector
typedef std::map< std::string,
std::string > 
TranslationMap
typedef std::vector< VideoUser * > VideoUserVector
typedef std::vector< Node::PtrNodeVector
typedef ACE_Connector< DGPSIP_Handler,
ACE_SOCK_CONNECTOR > 
DGPSIP_Connector
typedef std::vector< Target * > TargetVector
typedef std::vector< Node::PtrNodeVector
typedef ACE_Connector< GPS_Handler,
ACE_DEV_CONNECTOR > 
GPS_Connector
typedef std::vector< ISTracker * > ISTrackerVector
typedef std::vector< MagicY * > MagicYVector
typedef std::vector< Screen * > ScreenVector
typedef std::vector< MagicPointPointVector
typedef std::vector< Node::PtrNodeVector
typedef std::vector< TargetOri * > TargetOriVector
typedef std::vector< std::string > StringArray
 String array with std components.
typedef std::queue< std::string > StringQueue
 String queue with std components.
typedef std::string CSpeechException
 Speech Exception.
typedef std::vector< Node::PtrNodeVector
typedef std::vector< Station * > StationVector
typedef std::vector< MulticastSender * > MulticastSenderVector
typedef std::vector< UnicastSender * > UnicastSenderVector
typedef std::vector< NetworkSink * > SinkVector
typedef std::vector< MulticastReceiver * > MulticastReceiverVector
typedef std::vector< UnicastReceiver * > UnicastReceiverVector
typedef std::vector< MulticastReceiver * > ReceiverVector
typedef std::vector< Node::PtrNodeVector

Enumerations

enum  ContextType { NORMAL = 0, THREAD = 1 }
enum  LOG_MODE { MODE_OFF = 0, MODE_FILE = 1, MODE_CONSOLE = 2, MODE_CALLBACK = 3 }
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
}
 Chosen to be compatible to OpenVideo's pixel formats! More...
enum  TargetStatus { SEARCH = 0, COAST = 1, CAUTION = 2, TRACK = 3 }
 status values for the tracker data More...
enum  TrackerType { Aurora, Polaris }
enum  OPENTRACKER_VERSION { VERSION_MAJOR = OPENTRACKER_VERSION_MAJOR, VERSION_MINOR = OPENTRACKER_VERSION_MINOR }

Functions

 OT_MODULE_REGISTER_FUNC (ButtonHoldFilterModule)
 OT_MODULE_REGISTER_FUNC (CallbackModule)
 OT_MODULE_REGISTER_FUNC (CallforwardModule)
 OT_MODULE_REGISTER_FUNC (ConsoleModule)
 OT_MODULE_REGISTER_FUNC (FileModule)
 OT_MODULE_REGISTER_FUNC (GroupGateModule)
 OT_MODULE_REGISTER_FUNC (InterpolatorModule)
 OT_MODULE_REGISTER_FUNC (TimeModule)
 OT_MODULE_REGISTER_FUNC (TimestampGeneratorModule)
std::istream & operator>> (std::istream &in, ot::Event &event)
std::ostream & operator<< (std::ostream &out, const ot::Event &event)
std::istream & operator>> (std::istream &in, ot::EventAttributeBase &att)
std::ostream & operator<< (std::ostream &out, ot::EventAttributeBase &att)
const std::string empty ("")
 IMPLEMENT_IREFCOUNTED (Node)
void logPrint (const char *message,...)
void logPrintD (const char *debugMessage,...)
void logPrintS (const char *setupMessage,...)
void logPrintI (const char *infoMessage,...)
void logPrintW (const char *warningMessage,...)
void logPrintE (const char *errorMessage,...)
void logPrintEAbort (const char *errorMessage,...)
 OT_MODULE_REGISTER_FUNC (TestModule)
 OT_MODULE_REGISTER_FUNC (ARTDataTrackerModule)
 OT_MODULE_REGISTER_FUNC (DynaSightModule)
 OT_MODULE_REGISTER_FUNC (EndoScoutModule)
 OT_MODULE_REGISTER_FUNC (FastTrakModule)
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)
 OT_MODULE_REGISTER_FUNC (FlashpointModule)
 OT_MODULE_REGISTER_FUNC (FOBModule)
 OT_MODULE_REGISTER_FUNC (GPSModule)
 OT_MODULE_REGISTER_FUNC (MagicYModule)
 OT_MODULE_REGISTER_FUNC (MedScanModule)
 OT_MODULE_REGISTER_FUNC (MulticastInputModule)
 OT_MODULE_REGISTER_FUNC (NDIModule)
 OT_MODULE_REGISTER_FUNC (OrientationModule)
 OT_MODULE_REGISTER_FUNC (RDSModule)
 OT_MODULE_REGISTER_FUNC (SerButtonModule)
 OT_MODULE_REGISTER_FUNC (SpeechModule)
 OT_MODULE_REGISTER_FUNC (TerasonModule)
 OT_MODULE_REGISTER_FUNC (UltraTrakModule)
 OT_MODULE_REGISTER_FUNC (XSensModule)
 OT_MODULE_REGISTER_FUNC (OpenTracker)
void OPENTRACKER_API initializeOpenTracker ()
void OPENTRACKER_API initializeContext (Context *context, void *)
 OT_MODULE_REGISTER_FUNC (NaviTrack)
OPENTRACKER_API int addSPLModules ()
 OT_MODULE_REGISTER_FUNC (NetworkSinkModule)
 OT_MODULE_REGISTER_FUNC (NetworkSourceModule)
 OT_MODULE_REGISTER_FUNC (OldOTNetworkSourceModule)
 OT_MODULE_REGISTER_FUNC (TCPModule)
std::ostream & operator<< (std::ostream &os, const Image &object)
std::istream & operator>> (std::istream &is, Image &object)
 OT_MODULE (ButtonHoldFilterModule)
 OT_MODULE (CallbackModule)
 OT_MODULE (CallforwardModule)
 OT_MODULE (ConsoleModule)
 OT_MODULE (FileModule)
 OT_MODULE (GroupGateModule)
 OT_MODULE (InterpolatorModule)
 OT_MODULE (TimeModule)
 OT_MODULE (TimestampGeneratorModule)
ConfigurationParsergetConfigurationParser (Context &context_)
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)
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)
 OT_MODULE (TestModule)
 OT_MODULE (ARTDataTrackerModule)
 OT_MODULE (DynaSightModule)
 OT_MODULE (ECGModule)
 OT_MODULE (EndoScoutModule)
 OT_MODULE (FastTrakModule)
 OT_MODULE (FlashpointModule)
 OT_MODULE (FOBModule)
 OT_MODULE (GENavModule)
 OT_MODULE (GPSModule)
 OT_MODULE (ICubeXModule)
 OT_MODULE (InterSenseModule)
 OT_MODULE (LinmouseModule)
 OT_MODULE (MagicYModule)
 OT_MODULE (MedScanModule)
 OT_MODULE (MulticastInputModule)
 OT_MODULE (NDIModule)
 OT_MODULE (OrientationModule)
 OT_MODULE (ParButtonModule)
 OT_MODULE (RDSModule)
 OT_MODULE (SerButtonModule)
 OT_MODULE (SpeechControlModule)
 OT_MODULE (SpeechModule)
int OPENTRACKER_API addSPLCommonNodeFactory (Context *context)
 OT_MODULE (TerasonModule)
 OT_MODULE (UltraTrakModule)
 OT_MODULE (XSensModule)
 OT_MODULE (NetworkSinkModule)
 OT_MODULE (NetworkSourceModule)
 OT_MODULE (OldOTNetworkSourceModule)
 OT_MODULE (TCPModule)

Variables

static const float DEG_TO_RAD = (float)(3.14159/180.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
static const float DEG_TO_RAD = (float)(3.14159/180.0)
static const std::string tracking_service = "tracking"
static const std::string image_service = "image"
static const std::string command_service = "command"
static const float DEG_TO_RAD = (float)(3.14159/180.0)
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
const int positionQuaternion = 1
const int magicNum = 0xbeef
const int revNum = 0x0200
const std::string voiceCmds []
const int DYNASIGHT_MAX_TARGETS = 8
 maximum number of targets that can be processed
const int DYNASIGHT_PACKET_MAX_LENGTH = 8
 maximum length of conversion packet buffer
const int DYNASIGHT_COMM_BUFFER_SIZE = 4096
 maximum size of serial i/o buffer
const float SCALE_TO_METER = 20000.0
 constant for conversion of target values to meter
const int magicYMaxUnits = 1000
 maximum number of stations that can be processed
const int ORIENTATION_MAX_TARGETS = 8
 maximum number of targets that can be processed
const int ORIENTATION_PACKET_MAX_LENGTH = 8
 maximum length of conversion packet buffer
const int ORIENTATION_COMM_BUFFER_SIZE = 4096
 maximum size of serial i/o buffer
const int ultraTrakMaxUnits = 16
 maximum number of stations that can be processed


Typedef Documentation

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.

typedef EventAttributeBase*(* ot::CreateFunction)(void)
 

A function pointer matching the declaration of creator functions.

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

A map matching generic type names to according creator functions.

typedef std::string ot::CSpeechException
 

Speech Exception.

typedef ACE_Connector<DGPSIP_Handler, ACE_SOCK_CONNECTOR> ot::DGPSIP_Connector
 

typedef std::pair<Node *, Node *> ot::Edge
 

typedef std::vector<Edge> ot::EdgeVector
 

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

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

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

typedef std::map<std::string, std::pair<OTCallbackFunction*, void*> > ot::fctmap_type
 

typedef ACE_Connector<GPS_Handler, ACE_DEV_CONNECTOR> ot::GPS_Connector
 

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

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

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

typedef MathStuff<double> ot::MD
 

typedef MathStuff<float> ot::MF
 

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

a string map to store modules in

typedef std::vector<MulticastReceiver *> ot::MulticastReceiverVector
 

typedef std::vector<MulticastSender *> ot::MulticastSenderVector
 

a list of MulticastSender records

typedef ACE_Mutex ot::mutex_type
 

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

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

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

used to keep a list of NodeFactories.

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

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

used to map a string to a node

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

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

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

typedef std::vector<Node::Ptr> 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.

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

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

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

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

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

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

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

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

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

typedef std::vector<MulticastReceiver *> ot::ReceiverVector
 

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

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

a list of NetworkSink nodes

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

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

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

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

String array with std components.

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

String queue with std components.

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

typedef std::vector<TargetOri *> ot::TargetOriVector
 

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

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.

typedef std::vector<UnicastReceiver *> ot::UnicastReceiverVector
 

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

a list of UnicastSender records

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


Enumeration Type Documentation

enum ot::ContextType
 

Enumerator:
NORMAL 
THREAD 

enum ot::LOG_MODE
 

Enumerator:
MODE_OFF 
MODE_FILE 
MODE_CONSOLE 
MODE_CALLBACK 

enum ot::OPENTRACKER_VERSION
 

Enumerator:
VERSION_MAJOR 
VERSION_MINOR 

enum ot::PIXEL_FORMAT
 

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 

enum ot::TargetStatus
 

status values for the tracker data

Enumerator:
SEARCH 
COAST 
CAUTION 
TRACK 

enum ot::TrackerType
 

Enumerator:
Aurora 
Polaris 


Function Documentation

int OPENTRACKER_API ot::addSPLCommonNodeFactory Context *  context  ) 
 

int OPENTRACKER_API ot::addSPLModules  ) 
 

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

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

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

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

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

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

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

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

double ot::getASC const char *  buffer  ) 
 

short int ot::getBinary const char *  buffer  ) 
 

ConfigurationParser* ot::getConfigurationParser Context &  context_  ) 
 

ot::IMPLEMENT_IREFCOUNTED Node   ) 
 

OPENTRACKER_API void ot::initializeContext Context *  context,
void * 
 

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.

OPENTRACKER_API void ot::initializeOpenTracker  ) 
 

Registers all module initialization methods with the Configurator. The Configurator requires a module initialization method of the form void function(Context & , void *) for each module that requires to be loaded. This method can also be a static function. The Configurator calls this function once upon initialization, to register all known modules and their initialization functions.

void OPENTRACKER_API ot::logPrint const char *  message,
  ...
 

void OPENTRACKER_API ot::logPrintD const char *  debugMessage,
  ...
 

void OPENTRACKER_API ot::logPrintE const char *  errorMessage,
  ...
 

void OPENTRACKER_API ot::logPrintEAbort const char *  errorMessage,
  ...
 

void OPENTRACKER_API ot::logPrintI const char *  infoMessage,
  ...
 

void OPENTRACKER_API ot::logPrintS const char *  setupMessage,
  ...
 

void OPENTRACKER_API ot::logPrintW const char *  warningMessage,
  ...
 

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

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

OPENTRACKER_API std::ostream & ot::operator<< std::ostream &  os,
const Image &  object
 

todo need to serialize the xdim, ydim and pixel size as well

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

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

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

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

OPENTRACKER_API std::istream & ot::operator>> std::istream &  is,
Image &  object
 

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

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

ot::OT_MODULE TCPModule   ) 
 

ot::OT_MODULE OldOTNetworkSourceModule   ) 
 

ot::OT_MODULE NetworkSourceModule   ) 
 

ot::OT_MODULE NetworkSinkModule   ) 
 

ot::OT_MODULE XSensModule   ) 
 

ot::OT_MODULE UltraTrakModule   ) 
 

ot::OT_MODULE TerasonModule   ) 
 

ot::OT_MODULE SpeechModule   ) 
 

ot::OT_MODULE SpeechControlModule   ) 
 

ot::OT_MODULE SerButtonModule   ) 
 

ot::OT_MODULE RDSModule   ) 
 

ot::OT_MODULE ParButtonModule   ) 
 

ot::OT_MODULE OrientationModule   ) 
 

ot::OT_MODULE NDIModule   ) 
 

ot::OT_MODULE MulticastInputModule   ) 
 

ot::OT_MODULE MedScanModule   ) 
 

ot::OT_MODULE MagicYModule   ) 
 

ot::OT_MODULE LinmouseModule   ) 
 

ot::OT_MODULE InterSenseModule   ) 
 

ot::OT_MODULE ICubeXModule   ) 
 

ot::OT_MODULE GPSModule   ) 
 

ot::OT_MODULE GENavModule   ) 
 

ot::OT_MODULE FOBModule   ) 
 

ot::OT_MODULE FlashpointModule   ) 
 

ot::OT_MODULE FastTrakModule   ) 
 

ot::OT_MODULE EndoScoutModule   ) 
 

ot::OT_MODULE ECGModule   ) 
 

ot::OT_MODULE DynaSightModule   ) 
 

ot::OT_MODULE ARTDataTrackerModule   ) 
 

ot::OT_MODULE TestModule   ) 
 

ot::OT_MODULE TimestampGeneratorModule   ) 
 

ot::OT_MODULE TimeModule   ) 
 

ot::OT_MODULE InterpolatorModule   ) 
 

ot::OT_MODULE GroupGateModule   ) 
 

ot::OT_MODULE FileModule   ) 
 

ot::OT_MODULE ConsoleModule   ) 
 

ot::OT_MODULE CallforwardModule   ) 
 

ot::OT_MODULE CallbackModule   ) 
 

ot::OT_MODULE ButtonHoldFilterModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC TCPModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC OldOTNetworkSourceModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC NetworkSourceModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC NetworkSinkModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC NaviTrack   ) 
 

ot::OT_MODULE_REGISTER_FUNC OpenTracker   ) 
 

ot::OT_MODULE_REGISTER_FUNC XSensModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC UltraTrakModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC TerasonModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC SpeechModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC SerButtonModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC RDSModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC OrientationModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC NDIModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC MulticastInputModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC MedScanModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC MagicYModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC GPSModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC FOBModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC FlashpointModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC FastTrakModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC EndoScoutModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC DynaSightModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC ARTDataTrackerModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC TestModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC TimestampGeneratorModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC TimeModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC InterpolatorModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC GroupGateModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC FileModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC ConsoleModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC CallforwardModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC CallbackModule   ) 
 

ot::OT_MODULE_REGISTER_FUNC ButtonHoldFilterModule   ) 
 


Variable Documentation

const std::string ot::command_service = "command" [static]
 

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

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

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

const int ot::DYNASIGHT_COMM_BUFFER_SIZE = 4096
 

maximum size of serial i/o buffer

const int ot::DYNASIGHT_MAX_TARGETS = 8
 

maximum number of targets that can be processed

const int ot::DYNASIGHT_PACKET_MAX_LENGTH = 8
 

maximum length of conversion packet buffer

const int ot::FASTTRAK = 1
 

const std::string ot::image_service = "image" [static]
 

const int ot::ISOTRAK = 2
 

const int ot::magicNum = 0xbeef
 

const int ot::magicNum = 0xbeef
 

const int ot::magicNum = 0xbeef
 

const int ot::magicYMaxUnits = 1000
 

maximum number of stations that can be processed

const int ot::ORIENTATION_COMM_BUFFER_SIZE = 4096
 

maximum size of serial i/o buffer

const int ot::ORIENTATION_MAX_TARGETS = 8
 

maximum number of targets that can be processed

const int ot::ORIENTATION_PACKET_MAX_LENGTH = 8
 

maximum length of conversion packet buffer

const int ot::positionAngles = 2
 

const int ot::positionAngles = 2
 

const int ot::positionMatrix = 3
 

const int ot::positionMatrix = 3
 

const int ot::positionQuaternion = 1
 

const int ot::positionQuaternion = 1
 

const int ot::positionQuaternion = 1
 

const int ot::revNum = 0x0200
 

const int ot::revNum = 0x0200
 

const int ot::revNum = 0x0200
 

const float ot::SCALE_TO_METER = 20000.0
 

constant for conversion of target values to meter

const std::string ot::tracking_service = "tracking" [static]
 

const int ot::tsGetRec = 4
 

const int ot::tsSpace = 2
 

const int ot::tsStart = 0
 

const int ot::tsStationNumber = 1
 

const int ot::tsSyncBit = 3
 

const int ot::ultraTrakMaxUnits = 16
 

maximum number of stations that can be processed

const std::string ot::voiceCmds[]
 

Initial value:

{
        "listen", "quit", "exit", "stop", "again", "go on", "undo", "redo", "reset", 
        "up", "move up", "continuously up", "continuously move up", 
        "down", "move down", "continuously down", "continuously move down", 
        "right", "move right", "continuously right", "continuously move right", 
        "left", "move left", "continuously left", "continuously move left", 
        "forward", "move forward", "continuously forward", "continuously move forward", 
        "backward", "move backward", "continuously backward", "continuously move backward", 
        "axial", "sagittal", "coronal", 
        "rotate right", "rotate right fast", "continuously rotate right", "continuously rotate right fast", 
        "rotate left", "rotate left fast", "continuously rotate left", "continuously rotate left fast", 
        "roll clockwise", "roll clockwise fast", "continuously roll clockwise", "continuously roll clockwise fast", 
        "roll counterclockwise", "roll counterclockwise fast", "continuously roll counterclockwise", "continuously roll counterclockwise fast", 
        "tilt up", "tilt up fast", "continuously tilt up", "continuously tilt up fast", 
        "tilt down", "tilt down fast", "continuously tilt down", "continuously tilt down fast", 
        "save one", "save two", "save three", "save four", "save five", 
        "restore one", "restore two", "restore three", "restore four", "restore five", 
        "scale up", "scale down"
}


Generated on Wed Feb 28 15:27:40 2007 for NaviTrack by  doxygen 1.4.6