ITK
6.0.0
Insight Toolkit
|
#include <itkBresenhamLine.h>
Compute indices along a line in n dimensions.
Returns an array of indices that are offsets along the line. The line can be described by a direction vector and a length. The line can be described by starting and ending indices.
Definition at line 43 of file itkBresenhamLine.h.
Public Types | |
using | IndexArray = std::vector< IndexType > |
using | IndexType = Index< VDimension > |
using | LType = Vector< float, VDimension > |
using | OffsetArray = std::vector< OffsetType > |
using | OffsetType = Offset< VDimension > |
using | Self = BresenhamLine |
Public Member Functions | |
IndexArray | BuildLine (IndexType p0, IndexType p1) |
OffsetArray | BuildLine (LType Direction, IdentifierType length) |
using itk::BresenhamLine< VDimension >::IndexArray = std::vector<IndexType> |
Definition at line 52 of file itkBresenhamLine.h.
using itk::BresenhamLine< VDimension >::IndexType = Index<VDimension> |
Definition at line 50 of file itkBresenhamLine.h.
using itk::BresenhamLine< VDimension >::LType = Vector<float, VDimension> |
Definition at line 48 of file itkBresenhamLine.h.
using itk::BresenhamLine< VDimension >::OffsetArray = std::vector<OffsetType> |
Definition at line 51 of file itkBresenhamLine.h.
using itk::BresenhamLine< VDimension >::OffsetType = Offset<VDimension> |
Definition at line 49 of file itkBresenhamLine.h.
using itk::BresenhamLine< VDimension >::Self = BresenhamLine |
Definition at line 46 of file itkBresenhamLine.h.
IndexArray itk::BresenhamLine< VDimension >::BuildLine | ( | IndexType | p0, |
IndexType | p1 | ||
) |
Build a line between two pixels.
OffsetArray itk::BresenhamLine< VDimension >::BuildLine | ( | LType | Direction, |
IdentifierType | length | ||
) |
Build a line in a specified Direction.