ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkTriangleMeshToBinaryImageFilter.h>
3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.
Definition at line 71 of file 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 Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Protected Member Functions | |
static int | PolygonToImageRaster (PointVector coords, Point1DArray &zymatrix, int extent[6]) |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
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) |
Additional Inherited Members | |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
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 |
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 |
Definition at line 83 of file itkTriangleMeshToBinaryImageFilter.h.
typedef Superclass::OutputImageRegionType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Definition at line 92 of file itkTriangleMeshToBinaryImageFilter.h.
typedef TOutputImage itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::OutputImageType |
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 |
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.
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 |
Definition at line 76 of file itkTriangleMeshToBinaryImageFilter.h.
typedef OutputImageType::ValueType itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::ValueType |
Definition at line 84 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
|
protected |
|
private |
|
staticprivate |
|
staticprivate |
|
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.
|
protectedvirtual |
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 >.
|
inlineprotectedvirtual |
Generate the information describing 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 214 of file itkTriangleMeshToBinaryImageFilter.h.
|
virtual |
The Direction is a matix of direction cosines that specify the direction between samples.
|
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 |
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 |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
|
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 |
Set/Get Size
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
private |
|
staticprotected |
|
protectedvirtual |
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.
|
protectedvirtual |
|
virtual |
The Direction is a matix of direction cosines that specify the direction between samples.
|
virtual |
Set/Get Index
|
inline |
Definition at line 192 of file itkTriangleMeshToBinaryImageFilter.h.
void itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetInput | ( | InputMeshType * | input | ) |
|
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 |
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 |
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 |
|
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 |
Set/Get Size
|
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 |
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 |
|
virtual |
|
protected |
Definition at line 236 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 223 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 221 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 233 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 229 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 234 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 225 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 227 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 238 of file itkTriangleMeshToBinaryImageFilter.h.
|
protected |
Definition at line 231 of file itkTriangleMeshToBinaryImageFilter.h.