ITK
4.9.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
WikiExamples/SpatialObjects/PlaneSpatialObject.cxx
#include "
itkSpatialObjectToImageFilter.h
"
#include "
itkPlaneSpatialObject.h
"
#include "
itkImageFileWriter.h
"
int
main(
int
argc,
char
*argv[] )
{
typedef
unsigned
char
PixelType;
const
unsigned
int
Dimension = 2;
typedef
itk::Image< PixelType, Dimension >
ImageType;
typedef
itk::PlaneSpatialObject< Dimension >
PlaneType;
// Create a plane
PlaneType::Pointer plane = PlaneType::New();
return
EXIT_SUCCESS;
}
Generated on Sat Jan 30 2016 02:56:15 for ITK by
1.8.5