OTB
9.0.0
Orfeo Toolbox
|
#include <otbDrawPathListFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointerType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointerType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef TInputImage | InputImageType |
typedef InputImageType::ValueType | InputImageValueType |
typedef InputPathListType::ConstPointer | InputPathListConstPointerType |
typedef InputPathListType::Pointer | InputPathListPointerType |
typedef otb::ObjectList< InputPathType > | InputPathListType |
typedef InputPathType::Pointer | InputPathPointerType |
typedef TInputPath | InputPathType |
typedef OutputImageType::ConstPointer | OutputImageConstPointerType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::ValueType | OutputImageValueType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::ProcessObject | ProcessObjectType |
typedef DrawPathListFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual void | AddValueOff () |
virtual void | AddValueOn () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual bool | GetAddValue () |
virtual const char * | GetNameOfClass () const |
virtual OutputImagePixelType | GetPathValue () |
virtual bool | GetUseInternalPathValue () |
virtual void | SetAddValue (bool _arg) |
virtual void | SetPathValue (OutputImagePixelType _arg) |
virtual void | SetUseInternalPathValue (bool _arg) |
virtual void | UseInternalPathValueOff () |
virtual void | UseInternalPathValueOn () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
OutputImagePixelType | m_PathValue |
bool | m_UseInternalPathValue |
bool | m_AddValue |
virtual void | SetInputPath (InputPathListType *path) |
const InputPathListType * | GetInputPath (void) |
DrawPathListFilter () | |
~DrawPathListFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateData () override |
DrawPathListFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This class can be used to draw a list of path on an image.
This filter first copy the input image to the output, with default casting operators. It then uses the otb::PolyLineImageIterator to draw each polyline. This iterator uses the general Bresenham algorithm known to be efficient in segment drawing.
If the UsePathInternalValue is toggled, the filter check if the metadata dictionary of the input path has a "Value" key. If it is the case, it will use this value to draw the Path instead of the default value. If not, it will use the default value.
Definition at line 50 of file otbDrawPathListFilter.h.
typedef itk::SmartPointer<const Self> otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::ConstPointer |
Definition at line 57 of file otbDrawPathListFilter.h.
typedef InputImageType::ConstPointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImageConstPointerType |
Definition at line 68 of file otbDrawPathListFilter.h.
typedef InputImageType::PixelType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImagePixelType |
Definition at line 70 of file otbDrawPathListFilter.h.
typedef InputImageType::Pointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImagePointerType |
Definition at line 67 of file otbDrawPathListFilter.h.
typedef InputImageType::RegionType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImageRegionType |
Definition at line 69 of file otbDrawPathListFilter.h.
typedef InputImageType::SizeType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImageSizeType |
Definition at line 71 of file otbDrawPathListFilter.h.
typedef TInputImage otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImageType |
Some convenient typedefs.
Definition at line 63 of file otbDrawPathListFilter.h.
typedef InputImageType::ValueType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputImageValueType |
Definition at line 72 of file otbDrawPathListFilter.h.
typedef InputPathListType::ConstPointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputPathListConstPointerType |
Definition at line 77 of file otbDrawPathListFilter.h.
typedef InputPathListType::Pointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputPathListPointerType |
Definition at line 78 of file otbDrawPathListFilter.h.
typedef otb::ObjectList<InputPathType> otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputPathListType |
Definition at line 76 of file otbDrawPathListFilter.h.
typedef InputPathType::Pointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputPathPointerType |
Definition at line 75 of file otbDrawPathListFilter.h.
typedef TInputPath otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputPathType |
Definition at line 74 of file otbDrawPathListFilter.h.
typedef OutputImageType::ConstPointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImageConstPointerType |
Definition at line 82 of file otbDrawPathListFilter.h.
typedef OutputImageType::IndexType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImageIndexType |
Definition at line 87 of file otbDrawPathListFilter.h.
typedef OutputImageType::PixelType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImagePixelType |
Definition at line 84 of file otbDrawPathListFilter.h.
typedef OutputImageType::Pointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImagePointerType |
Definition at line 81 of file otbDrawPathListFilter.h.
typedef OutputImageType::RegionType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImageRegionType |
Definition at line 83 of file otbDrawPathListFilter.h.
typedef OutputImageType::SizeType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImageSizeType |
Definition at line 85 of file otbDrawPathListFilter.h.
typedef TOutputImage otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImageType |
Definition at line 80 of file otbDrawPathListFilter.h.
typedef OutputImageType::ValueType otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::OutputImageValueType |
Definition at line 86 of file otbDrawPathListFilter.h.
typedef itk::SmartPointer<Self> otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::Pointer |
Definition at line 56 of file otbDrawPathListFilter.h.
typedef itk::ProcessObject otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::ProcessObjectType |
Definition at line 89 of file otbDrawPathListFilter.h.
typedef DrawPathListFilter otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::Self |
Standard class typedefs.
Definition at line 54 of file otbDrawPathListFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::Superclass |
Definition at line 55 of file otbDrawPathListFilter.h.
|
protected |
Constructor
Definition at line 37 of file otbDrawPathListFilter.hxx.
|
inlineoverrideprotected |
Destructor
Definition at line 115 of file otbDrawPathListFilter.h.
|
privatedelete |
Default value to draw
|
virtual |
|
virtual |
virtual::itk::LightObject::Pointer otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Main computation method
Definition at line 68 of file otbDrawPathListFilter.hxx.
|
virtual |
const DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::InputPathListType * otb::DrawPathListFilter< TInputImage, TInputPath, TOutputImage >::GetInputPath | ( | void | ) |
Default value to draw
Definition at line 55 of file otbDrawPathListFilter.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
privatedelete |
Default value to draw
|
overrideprotected |
Printself method
Definition at line 123 of file otbDrawPathListFilter.hxx.
|
virtual |
|
virtual |
Set/Get the path input of this process object.
Definition at line 48 of file otbDrawPathListFilter.hxx.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
ImageDimension constants
Definition at line 103 of file otbDrawPathListFilter.h.
|
private |
Default value to draw
Definition at line 135 of file otbDrawPathListFilter.h.
|
private |
Default value to draw
Definition at line 130 of file otbDrawPathListFilter.h.
|
private |
If set to true, the algorithm try to use path internal metadata dictionary value
Definition at line 133 of file otbDrawPathListFilter.h.