ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | List of all members
itk::BresenhamLine< VDimension > Class Template Reference

#include <itkBresenhamLine.h>

Detailed Description

template<unsigned int VDimension>
class itk::BresenhamLine< VDimension >

Examples:
WikiExamples/SimpleOperations/BresenhamLine.cxx.

Definition at line 32 of file itkBresenhamLine.h.

Public Types

typedef std::vector< IndexTypeIndexArray
 
typedef Index< VDimension > IndexType
 
typedef Vector< float, VDimension > LType
 
typedef std::vector< OffsetTypeOffsetArray
 
typedef Offset< VDimension > OffsetType
 
typedef BresenhamLine Self
 

Public Member Functions

 BresenhamLine ()
 
OffsetArray BuildLine (LType Direction, unsigned int length)
 
IndexArray BuildLine (IndexType p0, IndexType p1)
 
 ~BresenhamLine ()
 

Member Typedef Documentation

template<unsigned int VDimension>
typedef std::vector< IndexType > itk::BresenhamLine< VDimension >::IndexArray

Definition at line 41 of file itkBresenhamLine.h.

template<unsigned int VDimension>
typedef Index< VDimension > itk::BresenhamLine< VDimension >::IndexType

Definition at line 39 of file itkBresenhamLine.h.

template<unsigned int VDimension>
typedef Vector< float, VDimension > itk::BresenhamLine< VDimension >::LType

Definition at line 37 of file itkBresenhamLine.h.

template<unsigned int VDimension>
typedef std::vector< OffsetType > itk::BresenhamLine< VDimension >::OffsetArray

Definition at line 40 of file itkBresenhamLine.h.

template<unsigned int VDimension>
typedef Offset< VDimension > itk::BresenhamLine< VDimension >::OffsetType

Definition at line 38 of file itkBresenhamLine.h.

template<unsigned int VDimension>
typedef BresenhamLine itk::BresenhamLine< VDimension >::Self

Definition at line 35 of file itkBresenhamLine.h.

Constructor & Destructor Documentation

template<unsigned int VDimension>
itk::BresenhamLine< VDimension >::BresenhamLine ( )
inline

Definition at line 44 of file itkBresenhamLine.h.

template<unsigned int VDimension>
itk::BresenhamLine< VDimension >::~BresenhamLine ( )
inline

Definition at line 45 of file itkBresenhamLine.h.

Member Function Documentation

template<unsigned int VDimension>
OffsetArray itk::BresenhamLine< VDimension >::BuildLine ( LType  Direction,
unsigned int  length 
)

Build a line in a specified Direction.

template<unsigned int VDimension>
IndexArray itk::BresenhamLine< VDimension >::BuildLine ( IndexType  p0,
IndexType  p1 
)

Build a line between two pixels.


The documentation for this class was generated from the following file: