/usr/include/IGSTK/igstkMicronTrackerTool.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 | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: $RCSfile: igstkMicronTrackerTool.h,v $
Language: C++
Date: $Date: 2008-03-28 19:29:50 $
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 __igstkMicronTrackerTool_h
#define __igstkMicronTrackerTool_h
#include "igstkTrackerTool.h"
namespace igstk
{
class MicronTracker;
/** \class MicronTrackerTool
* \brief A MicronTracker-specific TrackerTool class.
*
* This class is a for providing MicronTracker-specific functionality
* for TrackerTools, and also to allow compile-time type enforcement
* for other classes and functions that specifically require
* an MicronTrackertool.
*
* \ingroup Tracker
*
*/
class MicronTrackerTool : public TrackerTool
{
public:
/** Macro with standard traits declarations. */
igstkStandardClassTraitsMacro( MicronTrackerTool, TrackerTool )
/** Get Tracker tool marker name */
igstkGetStringMacro( MarkerName );
/** Set tracker tool marker name */
void RequestSetMarkerName( const std::string & markerName);
protected:
MicronTrackerTool();
virtual ~MicronTrackerTool();
/** Print object information */
virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
private:
MicronTrackerTool(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
/** States for the State Machine */
igstkDeclareStateMacro( Idle );
igstkDeclareStateMacro( MarkerNameSpecified );
/** Inputs to the State Machine */
igstkDeclareInputMacro( ValidMarkerName );
igstkDeclareInputMacro( InValidMarkerName );
/** Get boolean variable to check if the tracker tool is
* configured or not */
virtual bool CheckIfTrackerToolIsConfigured() const;
/** Report Invalid marker name specified*/
void ReportInvalidMarkerNameSpecifiedProcessing( );
/** Report any invalid request to the logger */
void ReportInvalidRequestProcessing();
/** Set marker name */
void SetMarkerNameProcessing();
std::string m_MarkerName;
std::string m_MarkerNameToBeSet;
bool m_TrackerToolConfigured;
};
} // namespace igstk
#endif // __igstk_MicronTrackerTool_h_
|