ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkTriangleMeshToBinaryImageFilter.h>
Public Types | |
typedef InputMeshType::CellsContainerIterator | CellsContainerIterator |
typedef InputMeshType::CellsContainerPointer | CellsContainerPointer |
typedef InputMeshType::CellType | CellType |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::DirectionType | DirectionType |
typedef itk::Array< double > | DoubleArrayType |
typedef TOutputImage::IndexType | IndexType |
typedef InputMeshType::MeshTraits::CellTraits | InputCellTraitsType |
typedef InputMeshType::Pointer | InputMeshPointer |
typedef TInputMesh | InputMeshType |
typedef InputMeshType::PixelType | InputPixelType |
typedef InputMeshType::PointsContainer | InputPointsContainer |
typedef InputPointsContainer::Iterator | InputPointsContainerIterator |
typedef InputPointsContainer::Pointer | InputPointsContainerPointer |
typedef InputMeshType::PointType | InputPointType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef std::vector < std::vector< Point1D > > | Point1DArray |
typedef std::vector< Point1D > | Point1DVector |
typedef std::vector < std::vector< Point2DType > > | Point2DArray |
typedef itk::Point< double, 2 > | Point2DType |
typedef std::vector< Point2DType > | Point2DVector |
typedef std::vector < std::vector< PointType > > | PointArray |
typedef SmartPointer< Self > | Pointer |
typedef PointSetType::PointsContainer | PointsContainer |
typedef itk::PointSet< double, 3 > | PointSetType |
typedef itk::Point< double, 3 > | PointType |
typedef std::vector< PointType > | PointVector |
typedef TriangleMeshToBinaryImageFilter | Self |
typedef TOutputImage::SizeType | SizeType |
typedef OutputImageType::SpacingType | SpacingType |
typedef std::vector< int > | StencilIndexVector |
typedef ImageSource< TOutputImage > | Superclass |
typedef OutputImageType::ValueType | ValueType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
InputMeshType * | GetInput (void) |
InputMeshType * | GetInput (unsigned int idx) |
virtual const char * | GetNameOfClass () const |
virtual const PointType & | GetOrigin () |
virtual const SpacingType & | GetSpacing () |
virtual double | GetTolerance () const |
void | SetInfoImage (OutputImageType *InfoImage) |
void | SetInput (InputMeshType *input) |
virtual void | SetOrigin (const float origin[3]) |
virtual void | SetSpacing (const float spacing[3]) |
virtual void | SetTolerance (double _arg) |
virtual void | SetSpacing (SpacingType _arg) |
virtual void | SetSpacing (const double spacing[3]) |
virtual void | SetDirection (DirectionType _arg) |
virtual DirectionType | GetDirection () const |
virtual void | SetInsideValue (ValueType _arg) |
virtual ValueType | GetInsideValue () const |
virtual void | SetOutsideValue (ValueType _arg) |
virtual ValueType | GetOutsideValue () const |
virtual void | SetOrigin (PointType _arg) |
virtual void | SetOrigin (const double origin[3]) |
virtual void | SetIndex (IndexType _arg) |
virtual IndexType | GetIndex () const |
virtual void | SetSize (SizeType _arg) |
virtual SizeType | GetSize () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
virtual void | GenerateData () |
virtual void | GenerateOutputInformation () |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | RasterizeTriangles () |
TriangleMeshToBinaryImageFilter () | |
~TriangleMeshToBinaryImageFilter () | |
Static Protected Member Functions | |
static int | PolygonToImageRaster (PointVector coords, Point1DArray &zymatrix, int extent[6]) |
Protected Attributes | |
DirectionType | m_Direction |
IndexType | m_Index |
OutputImageType * | m_InfoImage |
ValueType | m_InsideValue |
PointType | m_Origin |
ValueType | m_OutsideValue |
SizeType | m_Size |
SpacingType | m_Spacing |
StencilIndexVector | m_StencilIndex |
double | m_Tolerance |
Private Member Functions | |
void | operator= (const Self &) |
TriangleMeshToBinaryImageFilter (const Self &) | |
Static Private Member Functions | |
static bool | ComparePoints1D (Point1D a, Point1D b) |
static bool | ComparePoints2D (Point2DType a, Point2DType b) |
3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.
Definition at line 71 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::CellsContainerIterator itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::CellsContainerIterator |
Definition at line 105 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::CellsContainerPointer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::CellsContainerPointer |
Definition at line 104 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::CellType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::CellType |
Definition at line 103 of file itkTriangleMeshToBinaryImageFilter.h.
typedef SmartPointer< const Self > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 78 of file itkTriangleMeshToBinaryImageFilter.h.
typedef OutputImageType::DirectionType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::DirectionType |
Definition at line 86 of file itkTriangleMeshToBinaryImageFilter.h.
typedef itk::Array< double > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::DoubleArrayType |
Definition at line 117 of file itkTriangleMeshToBinaryImageFilter.h.
typedef TOutputImage::IndexType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::IndexType |
Definition at line 80 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::MeshTraits::CellTraits itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputCellTraitsType |
Definition at line 102 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::Pointer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputMeshPointer |
Definition at line 99 of file itkTriangleMeshToBinaryImageFilter.h.
typedef TInputMesh itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputMeshType |
Some convenient typedefs.
Definition at line 98 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::PixelType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputPixelType |
Definition at line 101 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::PointsContainer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputPointsContainer |
Definition at line 107 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputPointsContainer::Iterator itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputPointsContainerIterator |
Definition at line 109 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputPointsContainer::Pointer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputPointsContainerPointer |
Definition at line 108 of file itkTriangleMeshToBinaryImageFilter.h.
typedef InputMeshType::PointType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::InputPointType |
Definition at line 100 of file itkTriangleMeshToBinaryImageFilter.h.
typedef OutputImageType::Pointer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 83 of file itkTriangleMeshToBinaryImageFilter.h.
typedef Superclass::OutputImageRegionType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 92 of file itkTriangleMeshToBinaryImageFilter.h.
typedef TOutputImage itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 82 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< std::vector< Point1D > > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Point1DArray |
Definition at line 120 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< Point1D > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Point1DVector |
Definition at line 119 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< std::vector< Point2DType > > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Point2DArray |
Definition at line 123 of file itkTriangleMeshToBinaryImageFilter.h.
typedef itk::Point< double, 2 > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Point2DType |
Definition at line 115 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< Point2DType > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Point2DVector |
Definition at line 122 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< std::vector< PointType > > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PointArray |
Definition at line 126 of file itkTriangleMeshToBinaryImageFilter.h.
typedef SmartPointer< Self > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Pointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 77 of file itkTriangleMeshToBinaryImageFilter.h.
typedef PointSetType::PointsContainer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PointsContainer |
Definition at line 112 of file itkTriangleMeshToBinaryImageFilter.h.
typedef itk::PointSet< double, 3 > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PointSetType |
Definition at line 111 of file itkTriangleMeshToBinaryImageFilter.h.
typedef itk::Point< double, 3 > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PointType |
Definition at line 114 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< PointType > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PointVector |
Definition at line 125 of file itkTriangleMeshToBinaryImageFilter.h.
typedef TriangleMeshToBinaryImageFilter itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 75 of file itkTriangleMeshToBinaryImageFilter.h.
typedef TOutputImage::SizeType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SizeType |
Definition at line 81 of file itkTriangleMeshToBinaryImageFilter.h.
typedef OutputImageType::SpacingType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SpacingType |
Definition at line 85 of file itkTriangleMeshToBinaryImageFilter.h.
typedef std::vector< int > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::StencilIndexVector |
Definition at line 128 of file itkTriangleMeshToBinaryImageFilter.h.
typedef ImageSource< TOutputImage > itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::Superclass |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 76 of file itkTriangleMeshToBinaryImageFilter.h.
typedef OutputImageType::ValueType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::ValueType |
Definition at line 84 of file itkTriangleMeshToBinaryImageFilter.h.
itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::TriangleMeshToBinaryImageFilter | ( | ) | [protected] |
itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::~TriangleMeshToBinaryImageFilter | ( | ) | [protected] |
itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::TriangleMeshToBinaryImageFilter | ( | const Self & | ) | [private] |
static bool itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::ComparePoints1D | ( | Point1D | a, |
Point1D | b | ||
) | [static, private] |
static bool itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::ComparePoints2D | ( | Point2DType | a, |
Point2DType | b | ||
) | [static, private] |
virtual::itk::LightObject::Pointer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GenerateOutputInformation | ( | ) | [inline, protected, virtual] |
Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.
Reimplemented from itk::ProcessObject.
Definition at line 213 of file itkTriangleMeshToBinaryImageFilter.h.
virtual DirectionType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetDirection | ( | ) | const [virtual] |
The Direction is a matix of direction cosines that specify the direction between samples.
virtual IndexType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetIndex | ( | ) | const [virtual] |
Set/Get Index
InputMeshType* itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetInput | ( | void | ) |
Get the mesh input of this process object.
InputMeshType* itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetInput | ( | unsigned int | idx | ) |
virtual ValueType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetInsideValue | ( | ) | const [virtual] |
Set/Get the value for pixels inside the spatial object. By default, this filter will return an image If this "inside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.
virtual const char* itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
virtual const PointType& itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetOrigin | ( | ) | [virtual] |
virtual ValueType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetOutsideValue | ( | ) | const [virtual] |
Set/Get the value for pixels outside the spatial object. By default, this filter will return an image If this "outside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.
virtual SizeType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetSize | ( | ) | const [virtual] |
Set/Get Size
virtual const SpacingType& itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetSpacing | ( | ) | [virtual] |
virtual double itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::GetTolerance | ( | ) | const [virtual] |
static Pointer itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::ImageSource< TOutputImage >.
static int itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PolygonToImageRaster | ( | PointVector | coords, |
Point1DArray & | zymatrix, | ||
int | extent[6] | ||
) | [static, protected] |
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ProcessObject.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::RasterizeTriangles | ( | ) | [protected, virtual] |
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetDirection | ( | DirectionType | _arg | ) | [virtual] |
The Direction is a matix of direction cosines that specify the direction between samples.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetIndex | ( | IndexType | _arg | ) | [virtual] |
Set/Get Index
void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetInfoImage | ( | OutputImageType * | InfoImage | ) | [inline] |
Definition at line 192 of file itkTriangleMeshToBinaryImageFilter.h.
void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetInput | ( | InputMeshType * | input | ) |
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetInsideValue | ( | ValueType | _arg | ) | [virtual] |
Set/Get the value for pixels inside the spatial object. By default, this filter will return an image If this "inside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetOrigin | ( | PointType | _arg | ) | [virtual] |
The origin of the output image. The origin is the geometric coordinates of the index (0,0,...,0). It is stored internally as double but may be set from float.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetOrigin | ( | const double | origin[3] | ) | [virtual] |
The origin of the output image. The origin is the geometric coordinates of the index (0,0,...,0). It is stored internally as double but may be set from float.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetOrigin | ( | const float | origin[3] | ) | [virtual] |
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetOutsideValue | ( | ValueType | _arg | ) | [virtual] |
Set/Get the value for pixels outside the spatial object. By default, this filter will return an image If this "outside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetSize | ( | SizeType | _arg | ) | [virtual] |
Set/Get Size
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetSpacing | ( | SpacingType | _arg | ) | [virtual] |
Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetSpacing | ( | const double | spacing[3] | ) | [virtual] |
Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetSpacing | ( | const float | spacing[3] | ) | [virtual] |
virtual void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetTolerance | ( | double | _arg | ) | [virtual] |
DirectionType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_Direction [protected] |
Definition at line 235 of file itkTriangleMeshToBinaryImageFilter.h.
IndexType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_Index [protected] |
Definition at line 222 of file itkTriangleMeshToBinaryImageFilter.h.
OutputImageType* itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_InfoImage [protected] |
Definition at line 220 of file itkTriangleMeshToBinaryImageFilter.h.
ValueType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_InsideValue [protected] |
Definition at line 232 of file itkTriangleMeshToBinaryImageFilter.h.
PointType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_Origin [protected] |
Definition at line 228 of file itkTriangleMeshToBinaryImageFilter.h.
ValueType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_OutsideValue [protected] |
Definition at line 233 of file itkTriangleMeshToBinaryImageFilter.h.
SizeType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_Size [protected] |
Definition at line 224 of file itkTriangleMeshToBinaryImageFilter.h.
SpacingType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_Spacing [protected] |
Definition at line 226 of file itkTriangleMeshToBinaryImageFilter.h.
StencilIndexVector itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_StencilIndex [protected] |
Definition at line 237 of file itkTriangleMeshToBinaryImageFilter.h.
double itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::m_Tolerance [protected] |
Definition at line 230 of file itkTriangleMeshToBinaryImageFilter.h.