1
/*=========================================================================
3
Program: Image Guided Surgery Software Toolkit
4
Module: $RCSfile: igstkPolarisSpectraConfigurationXMLFileReader.cxx,v $
6
Date: $Date: 2009-01-30 20:48:03 $
7
Version: $Revision: 1.1 $
9
Copyright (c) ISC Insight Software Consortium. All rights reserved.
10
See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
16
=========================================================================*/
18
#include "igstkPolarisSpectraConfigurationXMLFileReader.h"
19
#include "igstkPolarisTrackerConfiguration.h"
24
PolarisSpectraConfigurationXMLFileReader::GetMaximalRefreshRate()
26
igstk::PolarisSpectraTrackerConfiguration::Pointer trackerConfig=
27
igstk::PolarisSpectraTrackerConfiguration::New();
29
return trackerConfig->GetMaximalRefreshRate();
34
PolarisSpectraConfigurationXMLFileReader::GetSystemType()
36
return "polaris wireless spectra";
39
igstk::PolarisWirelessTrackerConfiguration::Pointer
40
PolarisSpectraConfigurationXMLFileReader::GetPolarisConfiguration()
42
//explicitly upcast to avoid the compiler warning
43
igstk::PolarisWirelessTrackerConfiguration::Pointer polarisWireless;
44
polarisWireless = PolarisSpectraTrackerConfiguration::New();
45
return polarisWireless;