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

#include <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

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

Detailed Description

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

Examples
SphinxExamples/src/Core/Common/BresenhamLine/Code.cxx.

Definition at line 32 of file itkBresenhamLine.h.

Member Typedef Documentation

◆ IndexArray

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

Definition at line 41 of file itkBresenhamLine.h.

◆ IndexType

template<unsigned int VDimension>
using itk::BresenhamLine< VDimension >::IndexType = Index<VDimension>

Definition at line 39 of file itkBresenhamLine.h.

◆ LType

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

Definition at line 37 of file itkBresenhamLine.h.

◆ OffsetArray

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

Definition at line 40 of file itkBresenhamLine.h.

◆ OffsetType

template<unsigned int VDimension>
using itk::BresenhamLine< VDimension >::OffsetType = Offset<VDimension>

Definition at line 38 of file itkBresenhamLine.h.

◆ Self

template<unsigned int VDimension>
using itk::BresenhamLine< VDimension >::Self = BresenhamLine

Definition at line 35 of file itkBresenhamLine.h.

Constructor & Destructor Documentation

◆ BresenhamLine()

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

◆ ~BresenhamLine()

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

Member Function Documentation

◆ BuildLine() [1/2]

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

Build a line between two pixels.

◆ BuildLine() [2/2]

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

Build a line in a specified Direction.


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