/usr/include/IGSTK/igstkView2D.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 | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: $RCSfile: igstkView2D.h,v $
Language: C++
Date: $Date: 2008-02-11 01:41:51 $
Version: $Revision: 1.10 $
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 __igstkView2D_h
#define __igstkView2D_h
#include "igstkView.h"
namespace igstk {
/** \class View2D
*
* \brief Provides functionality of rendering a scene in a 2D window.
*
* This class derives from the View class, and represents the
* abstraction of a window in a GUI in which 3D objects will be displayed but
* from a point of view in which the camera never changes the orientation of
* the field of view. Zooming and Panning operations are possible in this
* window.
*
* \image html igstkView2D.png "View2D State Machine Diagram"
* \image latex igstkView2D.eps "View2D State Machine Diagram"
*
* \sa View
* \ingroup View
*
*/
class View2D : public View
{
public:
igstkStandardClassTraitsMacro( View2D, View );
/** Print the object information in a stream. */
void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
/** Orientation Type: Publically declared
* orientation types supported for slice viewing. */
typedef enum
{
Sagittal,
Coronal,
Axial
}
OrientationType;
/** Select a slice orientation */
void RequestSetOrientation( const OrientationType & orientation );
protected:
/** Constructor */
View2D( );
/** Destructor */
virtual ~View2D( void );
private:
/** Variables for managing the Orientation of the slices */
OrientationType m_OrientationToBeSet;
OrientationType m_Orientation;
View2D(const View2D& ); // purposely not implemented
View2D& operator=(const View2D& ); // purposely not implemented
};
} // end namespace igstk
#endif
|