ITK
4.8.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 Fri Jul 3 2015 02:47:53 for ITK by
1.8.5