/usr/include/IGSTK/igstkInfiniTrackTrackerTool.h is in libigstk4-dev 4.4.0-6.
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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: $RCSfile: igstkInfiniTrackTrackerTool.h,v $
Language: C++
Date: $Date: 2011-01-18 21:40:16 $
Version: $Revision: 1.3 $
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 __igstkInfiniTrackTrackerTool_h
#define __igstkInfiniTrackTrackerTool_h
#ifdef _MSC_VER
#pragma warning ( disable : 4018 )
//Warning about: identifier was truncated to '255' characters in the debug
//information (MVC6.0 Debug)
#pragma warning( disable : 4284 )
#endif
#include "igstkTrackerTool.h"
namespace igstk
{
class igstkInfiniTrackTracker;
/** \class InfiniTrackTrackerTool
* \brief A InfiniTrack-specific TrackerTool class.
*
* This class is a for providing InfiniTrack-specific functionality
* for TrackerTools, and also to allow compile-time type enforcement
* for other classes and functions that specifically require
* an InfiniTrackTrackertool.
*
* \sa http://www.atracsys.com/
*
* \ingroup Tracker
*
*/
class InfiniTrackTrackerTool : public TrackerTool
{
public:
/** Macro with standard traits declarations. */
igstkStandardClassTraitsMacro (InfiniTrackTrackerTool, TrackerTool )
/** Get Tracker tool marker name */
igstkGetStringMacro (MarkerName);
/** Set tracker tool marker name */
void RequestSetMarkerName (const std::string & markerName);
protected:
/** Constructor (configures InfiniTrack-specific tool values) */
InfiniTrackTrackerTool();
/** Destructor */
virtual ~InfiniTrackTrackerTool();
/** Print object information */
virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
private:
InfiniTrackTrackerTool(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
/** Get boolean variable to check if the tracker tool is
* configured or not.
*/
virtual bool CheckIfTrackerToolIsConfigured () const;
/** Report invalid marker specified */
void ReportInvalidMarkerNameSpecifiedProcessing ();
/** Report any invalid request to the tool */
void ReportInvalidRequestProcessing ();
/** Set the marker processing */
void SetMarkerNameProcessing ();
/** States for the State Machine */
igstkDeclareStateMacro (Idle);
igstkDeclareStateMacro (MarkerNameSpecified);
/** Inputs to the State Machine */
igstkDeclareInputMacro (ValidMarkerName);
igstkDeclareInputMacro (InValidMarkerName);
/** The marker */
std::string m_MarkerName;
std::string m_MarkerNameToBeSet;
/** boolean to indicate if the tracker tool is configured */
bool m_TrackerToolConfigured;
};
} // namespace igstk
#endif // __igstk_InfiniTrackTrackerTool_h_
|