ITK  5.0.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

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
 
OffsetArray BuildLine (LType Direction, unsigned int length)
 
IndexArray BuildLine (IndexType p0, IndexType p1)
 
 ~BresenhamLine ()=default
 

Member Typedef Documentation

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

Definition at line 41 of file itkBresenhamLine.h.

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

Definition at line 39 of file itkBresenhamLine.h.

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

Definition at line 37 of file itkBresenhamLine.h.

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

Definition at line 40 of file itkBresenhamLine.h.

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

Definition at line 38 of file itkBresenhamLine.h.

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

Definition at line 35 of file itkBresenhamLine.h.

Constructor & Destructor Documentation

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

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: