/usr/include/IGSTK/igstkSimulatedTracker.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: igstkSimulatedTracker.h,v $
Language: C++
Date: $Date: 2008-02-13 22:26:12 $
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 __igstkSimulatedTracker_h
#define __igstkSimulatedTracker_h
#include "igstkTracker.h"
namespace igstk
{
/** \class SimulatedTracker
* \brief Implementation of a class that simulates a tracker.
*
* The purpose of this class is to provide the behavior
* of a Tracker but under controlled conditions. This class
* is mainly intended as a helper device for testing other
* components of an IGS system. This simulated tracker generate
* transforms that correspond to a pre-programmed path in space.
*
* By connecting this tracker to an object, you can validate
* whether the visualization, timing and interaction elements
* of the IGS application are behaving as expected or not.
*
* \ingroup Trackers
*/
class SimulatedTracker : public Tracker
{
public:
/** Macro with standard traits declarations. */
igstkStandardClassTraitsMacro( SimulatedTracker, Tracker )
typedef Superclass::TransformType TransformType;
protected:
SimulatedTracker();
virtual ~SimulatedTracker();
typedef Tracker::ResultType ResultType;
virtual ResultType InternalOpen( void );
virtual ResultType InternalStartTracking( void );
virtual ResultType InternalReset( void );
virtual ResultType InternalStopTracking( void );
virtual ResultType InternalClose( void );
/** Verify tracker tool information */
virtual ResultType VerifyTrackerToolInformation( const TrackerToolType * );
virtual ResultType RemoveTrackerToolFromInternalDataContainers(
const TrackerToolType * );
virtual ResultType AddTrackerToolToInternalDataContainers(
const TrackerToolType * );
/** This is the most important method of the SimulatedTracker family.
* This method must be overloaded in derived classes in order to
* provide a particular pattern of movement.
*/
virtual ResultType InternalUpdateStatus( void );
virtual ResultType InternalThreadedUpdateStatus( void );
/** Print object information */
virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
private:
SimulatedTracker(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
};
}
#endif //__igstk_SimulatedTracker_h_
|