15 #ifndef itkThresholdImageWithRespectToPlane_h
16 #define itkThresholdImageWithRespectToPlane_h
18 #include <itkImageToImageFilter.h>
28 template<
class TInputImage,
class TOutputImage>
30 public ImageToImageFilter< TInputImage, TOutputImage >
35 typedef ImageToImageFilter< TInputImage,TOutputImage >
Superclass;
46 itkStaticConstMacro(ImageDimension,
unsigned int,
47 TInputImage::ImageDimension);
68 itkSetMacro( ThresholdValue, OutputImagePixelType );
70 itkGetMacro( ThresholdValue, OutputImagePixelType );
73 void SetPlanePosition(
double px,
double py,
double pz );
75 void SetPlaneNormal(
double nx,
double ny,
double nz );
77 #ifdef ITK_USE_CONCEPT_CHECKING
79 itkConceptMacro(InputHasNumericTraitsCheck,
80 (Concept::HasNumericTraits<InputImagePixelType>));
81 itkConceptMacro(OutputHasPixelTraitsCheck,
82 (Concept::HasPixelTraits<OutputImagePixelType>));
89 void PrintSelf(std::ostream& os, Indent indent)
const;
102 virtual void BeforeThreadedGenerateData(
void);
114 virtual void AfterThreadedGenerateData(
void);
126 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread,
127 ThreadIdType threadId );
139 void operator=(
const Self&);
144 #ifndef ITK_MANUAL_INSTANTIATION
145 #include "itkThresholdImageWithRespectToPlane.txx"
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Definition: itkThresholdImageWithRespectToPlane.h:35
TInputImage InputImageType
Definition: itkThresholdImageWithRespectToPlane.h:50
InputImageType::IndexType InputImageIndexType
Definition: itkThresholdImageWithRespectToPlane.h:56
InputImageType::SpacingType InputImageSpacingType
Definition: itkThresholdImageWithRespectToPlane.h:55
virtual ~ThresholdImageWithRespectToPlane()
Definition: itkThresholdImageWithRespectToPlane.h:88
InputImageType::RegionType InputImageRegionType
Definition: itkThresholdImageWithRespectToPlane.h:53
Image filter class to set all voxels on one side of plane to a uer specified value (or zero by defaul...
Definition: itkThresholdImageWithRespectToPlane.h:29
InputImageType::PointType InputImagePointType
Definition: itkThresholdImageWithRespectToPlane.h:57
Vector< double, 3 > m_PlaneNormal
The normal of the plane.
Definition: itkThresholdImageWithRespectToPlane.h:135
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
OutputImageType::IndexType OutputImageIndexType
Definition: itkThresholdImageWithRespectToPlane.h:64
InputImageType::Pointer InputImagePointer
Definition: itkThresholdImageWithRespectToPlane.h:51
TOutputImage OutputImageType
Definition: itkThresholdImageWithRespectToPlane.h:60
OutputImageType::PixelType OutputImagePixelType
Definition: itkThresholdImageWithRespectToPlane.h:63
SmartPointer< const Self > ConstPointer
Definition: itkThresholdImageWithRespectToPlane.h:37
OutputImageType::RegionType OutputImageRegionType
Definition: itkThresholdImageWithRespectToPlane.h:62
ThresholdImageWithRespectToPlane Self
Definition: itkThresholdImageWithRespectToPlane.h:34
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
SmartPointer< Self > Pointer
Definition: itkThresholdImageWithRespectToPlane.h:36
InputImageType::ConstPointer InputImageConstPointer
Definition: itkThresholdImageWithRespectToPlane.h:52
GLfloat GLfloat GLfloat GLfloat nx
Definition: glew.h:14135
GLhalf GLhalf nz
Definition: glew.h:11437
OutputImageType::PointType OutputImagePointType
Definition: itkThresholdImageWithRespectToPlane.h:65
Vector< double, 3 > m_PlanePosition
The position of the plane.
Definition: itkThresholdImageWithRespectToPlane.h:133
GLhalf ny
Definition: glew.h:11437
OutputImagePixelType m_ThresholdValue
Definition: itkThresholdImageWithRespectToPlane.h:130
OutputImageType::Pointer OutputImagePointer
Definition: itkThresholdImageWithRespectToPlane.h:61
InputImageType::PixelType InputImagePixelType
Definition: itkThresholdImageWithRespectToPlane.h:54