/usr/include/IGSTK/igstkCylinderObject.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 | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: $RCSfile: igstkCylinderObject.h,v $
Language: C++
Date: $Date: 2008-02-11 01:41:50 $
Version: $Revision: 1.9 $
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 __igstkCylinderObject_h
#define __igstkCylinderObject_h
#include "igstkMacros.h"
#include "igstkSpatialObject.h"
#include <itkCylinderSpatialObject.h>
namespace igstk
{
/** \class CylinderObject
*
* \brief This class represents a cylinder object. The parameters of the
* object are the height of the object, and the radius.
* Default representation axis is X.
*
* \ingroup Object
*/
class CylinderObject
: public SpatialObject
{
public:
/** Macro with standard traits declarations. */
igstkStandardClassTraitsMacro( CylinderObject, SpatialObject )
public:
/** Typedefs */
typedef itk::CylinderSpatialObject CylinderSpatialObjectType;
/** Set the radius of the Cylinder */
void SetRadius( double radius );
/** Get the radius of the Cylinder */
double GetRadius() const;
/** Set the height of the Cylinder */
void SetHeight( double height );
/** Get the height of the Cylinder */
double GetHeight() const;
protected:
CylinderObject( void );
~CylinderObject( void );
/** Print object information */
virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
private:
/** Internal itkSpatialObject */
CylinderSpatialObjectType::Pointer m_CylinderSpatialObject;
};
} // end namespace igstk
#endif // __igstkCylinderObject_h
|