|
std::string | Command (const char *format,...) |
|
virtual int | GetBaudRate () |
|
virtual bool | GetCheckDSR () |
|
virtual const char * | GetClassName () |
|
virtual int | GetHardwareDataAveragingDepth () |
|
virtual int | GetMeasurementVolumeNumber () |
|
virtual int | GetNetworkPort () |
|
virtual std::string | GetSdkVersion () |
|
virtual int | GetSerialPort () |
|
virtual int | GetTrackingFrequencyNumber () |
|
PlusStatus | InternalUpdate () |
|
virtual int | IsA (const char *type) |
|
virtual bool | IsTracker () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
PlusStatus | Probe () |
|
virtual PlusStatus | ReadConfiguration (vtkXMLDataElement *config) |
|
virtual void | SetBaudRate (int) |
|
virtual void | SetCheckDSR (bool) |
|
virtual void | SetHardwareDataAveragingDepth (int) |
|
virtual void | SetMeasurementVolumeNumber (int) |
|
virtual void | SetNetworkPort (int) |
|
virtual void | SetSerialPort (int) |
|
PlusStatus | SetToolLED (const char *portName, int led, LedState state) |
|
virtual void | SetTrackingFrequencyNumber (int) |
|
| vtkGetStdStringMacro (NetworkHostname) |
|
| vtkSetStdStringMacro (NetworkHostname) |
|
virtual PlusStatus | WriteConfiguration (vtkXMLDataElement *config) |
|
PlusStatus | AddFieldDataSource (vtkPlusDataSource *aSource) |
|
PlusStatus | AddInputChannel (vtkPlusChannel *aChannel) |
|
PlusStatus | AddOutputChannel (vtkPlusChannel *aChannel) |
|
PlusStatus | AddTool (vtkPlusDataSource *tool, bool requireUniquePortName=true) |
|
PlusStatus | AddVideoSource (vtkPlusDataSource *anImage) |
|
void | ClearAllBuffers () |
|
virtual PlusStatus | Connect () |
|
virtual PlusStatus | CreateDefaultOutputChannel (const char *channelId=NULL, bool addSource=true) |
|
void | DeepCopy (const vtkPlusDevice &device) |
|
virtual PlusStatus | Disconnect () |
|
virtual PlusStatus | ForceUpdate () |
|
virtual double | GetAcquisitionRate () const |
|
virtual PlusStatus | GetBufferSize (vtkPlusChannel &aChannel, int &outVal, const std::string &aSourceId=std::string("")) |
|
virtual int | GetConnected () const |
|
virtual bool | GetCorrectlyConfigured () const |
|
PlusStatus | GetDataSource (const char *aSourceId, vtkPlusDataSource *&aSource) |
|
PlusStatus | GetDataSource (const std::string &aSourceId, vtkPlusDataSource *&aSource) |
|
virtual double | GetDesiredTimestamp () |
|
virtual std::string | GetDeviceId () const |
|
PlusStatus | GetFieldDataSource (const char *aSourceId, vtkPlusDataSource *&aSource) const |
|
PlusStatus | GetFieldDataSource (const std::string &aSourceId, vtkPlusDataSource *&aSource) const |
|
DataSourceContainerConstIterator | GetFieldDataSourcessIteratorBegin () const |
|
DataSourceContainerConstIterator | GetFieldDataSourcessIteratorEnd () const |
|
PlusStatus | GetFirstActiveOutputVideoSource (vtkPlusDataSource *&aVideoSource) |
|
PlusStatus | GetFirstActiveTool (vtkPlusDataSource *&aTool) const |
|
PlusStatus | GetFirstOutputChannel (vtkPlusChannel *&aChannel) |
|
PlusStatus | GetFirstVideoSource (vtkPlusDataSource *&anImage) |
|
virtual unsigned long | GetFrameNumber () const |
|
virtual double | GetFrameTimeStamp () const |
|
virtual PlusStatus | GetImage (const std::string &requestedImageId, std::string &assignedImageId, const std::string &imageReferencFrameName, vtkImageData *imageData, vtkMatrix4x4 *ijkToReferenceTransform) |
|
virtual PlusStatus | GetImageMetaData (igsioCommon::ImageMetaDataList &imageMetaDataItems) |
|
virtual US_IMAGE_TYPE | GetImageType (vtkPlusChannel &aChannel) |
|
PlusStatus | GetInputDevices (std::vector< vtkPlusDevice * > &outDeviceList) const |
|
PlusStatus | GetInputDevicesRecursive (std::vector< vtkPlusDevice * > &outDeviceList) const |
|
virtual PlusStatus | GetInputFrameSize (vtkPlusChannel &aChannel, unsigned int &x, unsigned int &y, unsigned int &z) const |
|
virtual PlusStatus | GetInputFrameSize (vtkPlusChannel &aChannel, FrameSizeType &dim) const |
|
double | GetInternalUpdateRate () const |
|
virtual double | GetLocalTimeOffsetSec () const |
|
double | GetMissingInputGracePeriodSec () const |
|
virtual int | GetNumberOfFieldDataSources () const |
|
virtual int | GetNumberOfTools () const |
|
virtual int | GetNumberOfVideoSources () const |
|
PlusStatus | GetOutputChannelByName (vtkPlusChannel *&aChannel, const char *aChannelId) |
|
PlusStatus | GetOutputChannelByName (vtkPlusChannel *&aChannel, const std::string &aChannelId) |
|
ChannelContainerConstIterator | GetOutputChannelsEnd () const |
|
ChannelContainerIterator | GetOutputChannelsEnd () |
|
ChannelContainerConstIterator | GetOutputChannelsStart () const |
|
ChannelContainerIterator | GetOutputChannelsStart () |
|
virtual PlusStatus | GetOutputFrameSize (vtkPlusChannel &aChannel, unsigned int &x, unsigned int &y, unsigned int &z) const |
|
virtual PlusStatus | GetOutputFrameSize (vtkPlusChannel &aChannel, FrameSizeType &dim) const |
|
virtual std::string | GetParameter (const std::string &key) const |
|
virtual PlusStatus | GetParameter (const std::string &key, std::string &outValue) const |
|
virtual igsioCommon::VTKScalarPixelType | GetPixelType (vtkPlusChannel &aChannel) |
|
virtual double | GetStartTime () |
|
virtual double | GetTimestampClosestToDesired () |
|
PlusStatus | GetTool (const char *aToolSourceId, vtkPlusDataSource *&aTool) const |
|
PlusStatus | GetTool (const std::string &aToolSourceId, vtkPlusDataSource *&aTool) const |
|
PlusStatus | GetToolByPortName (const char *aPortName, vtkPlusDataSource *&aSource) |
|
PlusStatus | GetToolByPortName (const std::string &aPortName, vtkPlusDataSource *&aSource) |
|
DataSourceContainerConstIterator | GetToolIteratorBegin () const |
|
DataSourceContainerConstIterator | GetToolIteratorEnd () const |
|
std::string | GetToolReferenceFrameName () const |
|
virtual int | GetUpdateWithDesiredTimestamp () |
|
PlusStatus | GetVideoSource (const char *aSourceId, vtkPlusDataSource *&aVideoSource) |
|
PlusStatus | GetVideoSourceByIndex (const unsigned int index, vtkPlusDataSource *&aVideoSource) |
|
DataSourceContainerConstIterator | GetVideoSourceIteratorBegin () const |
|
DataSourceContainerConstIterator | GetVideoSourceIteratorEnd () const |
|
std::vector< vtkPlusDataSource * > | GetVideoSources () const |
|
PlusStatus | GetVideoSourcesByPortName (const char *aPortName, std::vector< vtkPlusDataSource * > &sources) |
|
PlusStatus | GetVideoSourcesByPortName (const std::string &aPortName, std::vector< vtkPlusDataSource * > &sources) |
|
virtual bool | IsConnected () const |
|
virtual bool | IsRecording () const |
|
virtual bool | IsResettable () |
|
virtual bool | IsVirtual () const |
|
virtual PlusStatus | NotifyConfigured () |
|
virtual int | OutputChannelCount () const |
|
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual PlusStatus | Reset () |
|
virtual PlusStatus | SendText (const std::string &textToSend, std::string *textReceived=NULL) |
|
PlusStatus | SetAcquisitionRate (double aRate) |
|
virtual PlusStatus | SetBufferSize (vtkPlusChannel &aChannel, int FrameBufferSize, const std::string &aSourceId=std::string("")) |
|
virtual void | SetDataCollector (vtkPlusDataCollector *_arg) |
|
virtual void | SetDesiredTimestamp (double) |
|
void | SetDeviceId (const std::string &id) |
|
void | SetFieldDataSourcesBufferSize (int aBufferSize) |
|
virtual PlusStatus | SetImageType (vtkPlusChannel &aChannel, US_IMAGE_TYPE imageType) |
|
virtual PlusStatus | SetInputFrameSize (vtkPlusDataSource &aSource, unsigned int x, unsigned int y, unsigned int z) |
|
virtual void | SetLocalTimeOffsetSec (double aTimeOffsetSec) |
|
virtual void | SetMissingInputGracePeriodSec (double) |
|
virtual PlusStatus | SetParameter (const std::string &key, const std::string &value) |
|
virtual PlusStatus | SetPixelType (vtkPlusChannel &aChannel, igsioCommon::VTKScalarPixelType pixelType) |
|
virtual void | SetStartTime (double startTime) |
|
void | SetToolReferenceFrameName (const std::string &frameName) |
|
void | SetToolsBufferSize (int aBufferSize) |
|
virtual void | SetUpdateWithDesiredTimestamp (int) |
|
virtual PlusStatus | StartRecording () |
|
virtual PlusStatus | StopRecording () |
|
virtual void | UpdateWithDesiredTimestampOff () |
|
virtual void | UpdateWithDesiredTimestampOn () |
|
virtual PlusStatus | WriteToolsToSequenceFile (const std::string &filename, bool useCompression=false) |
|
|
PlusStatus | Beep (int n) |
|
PlusStatus | ClearVirtualSromInTracker (NdiToolDescriptor &toolDescriptor) |
|
PlusStatus | CloseDevice (ndicapi *&device) |
|
void | DisableToolPorts () |
|
PlusStatus | DoBX2Update () |
|
PlusStatus | DoBXUpdate () |
|
PlusStatus | EnableToolPorts () |
|
virtual uint32_t | GetFirmwareMajorRevision () |
|
virtual uint32_t | GetFirmwareMinorRevision () |
|
PlusStatus | GetFirmwareRevision () |
|
PlusStatus | InternalConnect () |
|
PlusStatus | InternalConnectNetwork () |
|
PlusStatus | InternalConnectSerial () |
|
PlusStatus | InternalDisconnect () |
|
PlusStatus | InternalStartRecording () |
|
PlusStatus | InternalStopRecording () |
|
void | LogVolumeList (int selectedVolume, vtkPlusLogger::LogLevelType logLevel) |
|
void | LogVolumeListSFLIST (unsigned int numVolumes, int selectedVolume, vtkPlusLogger::LogLevelType logLevel) |
|
PlusStatus | ReadSromFromFile (NdiToolDescriptor &toolDescriptor, const char *filename) |
|
PlusStatus | SelectDataAveraging () |
|
PlusStatus | SelectMeasurementVolume () |
|
PlusStatus | SelectMeasurementVolumeDeprecated () |
|
PlusStatus | SelectTrackingFrequency () |
|
PlusStatus | SelectTrackingFrequencyDeprecated () |
|
PlusStatus | SendSromToTracker (const NdiToolDescriptor &toolDescriptor) |
|
PlusStatus | UpdatePortHandle (NdiToolDescriptor &toolDescriptor) |
|
| vtkPlusNDITracker () |
|
| ~vtkPlusNDITracker () |
|
virtual PlusStatus | AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, const igsioVideoFrame &frame, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) |
|
virtual PlusStatus | AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, void *imageDataPtr, US_IMAGE_ORIENTATION usImageOrientation, const FrameSizeType &frameSizeInPx, igsioCommon::VTKScalarPixelType pixelType, unsigned int numberOfScalarComponents, US_IMAGE_TYPE imageType, int numberOfBytesToSkip, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) |
|
PlusStatus | EnsureUniqueDataSourceId (const std::string &aSourceId) |
|
vtkXMLDataElement * | FindInputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId) |
|
vtkXMLDataElement * | FindOutputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId) |
|
vtkXMLDataElement * | FindThisDeviceElement (vtkXMLDataElement *rootXMLElement) |
|
virtual vtkPlusDataCollector * | GetDataCollector () |
|
double | GetRecordingStartTime () const |
|
bool | GetStartThreadForInternalUpdates () const |
|
bool | HasGracePeriodExpired () |
|
virtual void | InternalWriteInputChannels (vtkXMLDataElement *rootXMLElement) |
|
virtual void | InternalWriteOutputChannels (vtkXMLDataElement *rootXMLElement) |
|
virtual void | SetCorrectlyConfigured (bool) |
|
virtual void | SetRecordingStartTime (double) |
|
virtual void | SetStartThreadForInternalUpdates (bool) |
|
virtual PlusStatus | ToolTimeStampedUpdate (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, unsigned long frameNumber, double unfilteredtimestamp, const igsioFieldMapType *customFields=NULL) |
|
virtual PlusStatus | ToolTimeStampedUpdateWithoutFiltering (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, double unfilteredtimestamp, double filteredtimestamp, const igsioFieldMapType *customFields=NULL) |
|
| vtkPlusDevice () |
|
virtual | ~vtkPlusDevice () |
|
Interface class for Northern Digital's tracking devices.
The vtkPlusNDITracker class provides an interface to the AURORA and POLARIS (Northern Digital Inc., Waterloo, Canada) using the new "combined API" and should also support all newer NDI tracking devices. Any POLARIS systems purchased before 2002 will not support the combined API.
For active (wired) tools specify PortName attribute. For example, PortName="0" is the first port, PortName="1" is the second, etc.
If multi-channel tools are used then the PortName is <ChannelNumber><PortNumber>, for example for two 5-DOF sensors plugged into the first connector: PortName="0" and PortName="100", for two 5-DOF sensors plugged into the second connector: PortName="1" and PortName="101".
For passive (wireless) tools specify RomFile attribute. For example, RomFile="NdiToolDefinitions/8700339.rom".
Important notes on the data collection rate of the Polaris:
The camera frame rate is 60Hz, and therefore the maximum data collection rate is also 60Hz. The maximum data transfer rate to the computer is also 60Hz.
Depending on the number of enabled tools, the data collection rate might be reduced. Each of the active tools requires one camera frame, and all the passive tools (if any are enabled) collectively require one camera frame.
Therefore if there are two enabled active tools, the data rate is reduced to 30Hz. Ditto for an active tool and a passive tool. If all tools are passive, the data rate is 60Hz. With 3 active tools and one or more passive tools, the data rate is 15Hz. With 3 active tools, or 2 active and one or more passive tools, the data rate is 20Hz.
The data transfer rate to the computer is independent of the data collection rate, and there might be duplicated records. The data transfer rate is limited by the speed of the serial port and by the number of characters sent per data record. If tools are marked as 'missing' then the number of characters that are sent will be reduced.
Definition at line 102 of file vtkPlusNDITracker.h.