/usr/include/IGSTK/igstkAscension3DGTrackerTool.h is in libigstk4-dev 4.4.0-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: $RCSfile: igstkAscension3DGTrackerTool.h,v $
Language: C++
Date: $Date: 2011-02-07 15:33:08 $
Version: $Revision: 1.2 $
Copyright (c) ISC Insight Software Consortium. All rights reserved.
See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __igstkAscension3DGTrackerTool_h
#define __igstkAscension3DGTrackerTool_h
#include "igstkTrackerTool.h"
namespace igstk
{
/** \class Ascension3DGTrackerTool
*
* \brief Ascension specific TrackerTool class for the 3D Guidance family of trackers.
*
* This class is a for providing Ascension-specific functionality
* for TrackerTools, and also to allow compile-time type enforcement
* for other classes and functions that specifically require
* an Ascension tool.
*
* \ingroup Tracker
*
*/
class Ascension3DGTrackerTool : public TrackerTool
{
public:
/** Macro with standard traits declarations. */
igstkStandardClassTraitsMacro( Ascension3DGTrackerTool, TrackerTool )
/** Get tracker tool port number */
igstkGetMacro( PortNumber, unsigned int );
/** Request setting the port number. */
void RequestSetPortNumber( unsigned int portNumber );
protected:
Ascension3DGTrackerTool();
~Ascension3DGTrackerTool();
/** Print object information */
virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
private:
Ascension3DGTrackerTool(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
/** States for the State Machine */
igstkDeclareStateMacro( Idle );
igstkDeclareStateMacro( PortNumberSpecified );
/** Inputs to the State Machine */
igstkDeclareInputMacro( ValidPortNumber );
igstkDeclareInputMacro( InValidPortNumber );
/** Get boolean variable to check if the tracker tool is
* configured or not */
virtual bool CheckIfTrackerToolIsConfigured() const;
/** Report Invalid port number specified*/
void ReportInvalidPortNumberSpecifiedProcessing( );
/** Report any invalid request to the logger */
void ReportInvalidRequestProcessing();
/** Set bird name */
void SetPortNumberProcessing();
unsigned int m_PortNumber;
unsigned int m_PortNumberToBeSet;
bool m_TrackerToolConfigured;
};
} // namespace igstk
#endif // __igstk_Ascension3DGTrackerTool_h_
|