Orfeo Toolbox  4.0
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
otb::Polygon< TValue > Class Template Referenceabstract

This class represent a 2D polygon. More...

#include <otbPolygon.h>

+ Inheritance diagram for otb::Polygon< TValue >:
+ Collaboration diagram for otb::Polygon< TValue >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef RegionType::IndexType IndexType
 
typedef Superclass::InputType InputType
 
typedef Offset< VDimension > OffsetType
 
typedef Superclass::OutputType OutputType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Point< double, VDimension > PointType
 
typedef
otb::RemoteSensingRegion
< double > 
RegionType
 
typedef Polygon Self
 
typedef RegionType::SizeType SizeType
 
typedef
PolyLineParametricPathWithValue
< TValue, 2 > 
Superclass
 
typedef TValue ValueType
 
typedef Vector< double,
VDimension > 
VectorType
 
typedef
Superclass::VertexListConstIteratorType 
VertexListConstIteratorType
 
typedef VertexListType::Pointer VertexListPointer
 
typedef Superclass::VertexListType VertexListType
 
typedef Superclass::VertexType VertexType
 

Public Member Functions

unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void AddVertex (const ContinuousIndexType &vertex)
 
void AddVertex (const ContinuousIndexType &vertex)
 
virtual void CopyInformation (const DataObject *)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void DataHasBeenGenerated ()
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
virtual void Delete ()
 
void DisconnectPipeline ()
 
virtual InputType EndOfInput () const
 
virtual OutputType Evaluate (const InputType &input) const
 
virtual OutputType Evaluate (const InputType &input) const =0
 
virtual VectorType EvaluateDerivative (const InputType &input) const
 
virtual VectorType EvaluateDerivative (const InputType &input) const
 
virtual IndexType EvaluateToIndex (const InputType &input) const
 
virtual IndexType EvaluateToIndex (const InputType &input) const =0
 
virtual double GetArea () const
 
virtual RegionType GetBoundingRegion (void) const
 
Command * GetCommand (unsigned long tag)
 
bool GetDataReleased () const
 
bool GetDebug () const
 
virtual const InputTypeGetDefaultInputStepSize ()
 
virtual double GetEpsilon ()
 
virtual std::string GetKey ()
 
virtual double GetLength () const
 
MetaDataDictionary & GetMetaDataDictionary (void)
 
const MetaDataDictionary & GetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const char * GetNameOfClass () const
 
virtual const std::string & GetObjectName ()
 
virtual const ModifiedTimeType & GetPipelineMTime ()
 
virtual const RealTimeStamp & GetRealTimeStamp ()
 
virtual int GetReferenceCount () const
 
virtual const bool & GetReleaseDataFlag ()
 
SmartPointerForwardReference
< ProcessObject
GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual double GetSurface () const
 
virtual const TimeStamp & GetTimeStamp () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
ValueType GetValue (void) const
 
virtual void Graft (const DataObject *)
 
bool HasObserver (const EventObject &event) const
 
virtual OffsetType IncrementInput (InputType &input) const
 
virtual OffsetType IncrementInput (InputType &input) const =0
 
virtual OffsetType IncrementInput (InputType &input) const
 
virtual void Initialize (void)
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
bool IsCrossing (VertexType a1, VertexType a2, VertexType b1, VertexType b2) const
 
bool IsInside (VertexType point) const
 
bool IsOnEdge (VertexType point) const
 
bool IsTouching (VertexType a1, VertexType a2, VertexType b1, VertexType b2) const
 
 itkCloneMacro (Self)
 
 itkGetModifiableObjectMacro (VertexList, VertexListType)
 
unsigned int NbCrossing (VertexType a, VertexType b) const
 
unsigned int NbTouching (VertexType a, VertexType b) const
 
virtual void PrepareForNewData ()
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void PropagateRequestedRegion ()
 
virtual void Register () const
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
virtual void ResetPipeline ()
 
void SetDebug (bool debugFlag) const
 
virtual void SetDefaultInputStepSize (InputType _arg)
 
virtual void SetEpsilon (double _arg)
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual void SetReferenceCount (int)
 
void SetReleaseDataFlag (bool flag)
 
virtual void SetRequestedRegion (const DataObject *)
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
void SetValue (ValueType value)
 
bool ShouldIReleaseData () const
 
virtual InputType StartOfInput () const
 
virtual void UnRegister () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
virtual void UpdateOutputInformation ()
 
virtual bool VerifyRequestedRegion ()
 

Static Public Member Functions

static void BreakOnError ()
 
static bool GetGlobalReleaseDataFlag ()
 
static bool GetGlobalWarningDisplay ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
static void SetGlobalWarningDisplay (bool flag)
 

Static Public Attributes

static const unsigned int PathDimension
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

 Polygon ()
 
virtual ~Polygon ()
 
virtual void ComputeArea () const
 
virtual void ComputeBoundingRegion () const
 
virtual void ComputeLength () const
 
virtual IndexType GetZeroIndex () const
 
virtual OffsetType GetZeroOffset () const
 
virtual LightObject::Pointer InternalClone () const
 
virtual void Modified () const
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual void PropagateResetPipeline ()
 
virtual void SetTimeStamp (const TimeStamp &time)
 

Protected Attributes

InputType m_DefaultInputStepSize
 
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

 Polygon (const Self &)
 
void operator= (const Self &)
 

Private Attributes

double m_Area
 
bool m_AreaIsValid
 
double m_Epsilon
 

Detailed Description

template<class TValue = double>
class otb::Polygon< TValue >

This class represent a 2D polygon.

It derives from otb::PolyLineParametricPathWithValue. The polygon is considered to be the closed path represented by the PolyLineParametricPathWithValue.

It implements some useful methods to work with polygons, such as surface computation, as well as method useful in the spatial reasoning context, such as IsInside, IsOnEdge, IsTouching, IsCrossing.

See Also
otb::PolyLineParametricPathWithValue

Definition at line 39 of file otbPolygon.h.

Member Typedef Documentation

template<class TValue = double>
typedef itk::SmartPointer<const Self> otb::Polygon< TValue >::ConstPointer

Definition at line 47 of file otbPolygon.h.

template<class TValue = double>
typedef Superclass::ContinuousIndexType otb::Polygon< TValue >::ContinuousIndexType

Definition at line 58 of file otbPolygon.h.

typedef std::string itk::DataObject::DataObjectIdentifierType
inherited

Definition at line 284 of file itkDataObject.h.

typedef std::vector< Pointer >::size_type itk::DataObject::DataObjectPointerArraySizeType
inherited

Which of the source's outputs corresponds to this data object?

Definition at line 314 of file itkDataObject.h.

typedef RegionType::IndexType otb::PolyLineParametricPathWithValue< TValue, VDimension >::IndexType
inherited

Definition at line 65 of file otbPolyLineParametricPathWithValue.h.

template<unsigned int VDimension>
typedef Superclass::InputType itk::PolyLineParametricPath< VDimension >::InputType
inherited

Input type

Definition at line 67 of file itkPolyLineParametricPath.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 152 of file itkLightObject.h.

template<unsigned int VDimension>
typedef Offset< VDimension > itk::PolyLineParametricPath< VDimension >::OffsetType
inherited

Definition at line 78 of file itkPolyLineParametricPath.h.

template<unsigned int VDimension>
typedef Superclass::OutputType itk::PolyLineParametricPath< VDimension >::OutputType
inherited

Output type

Definition at line 73 of file itkPolyLineParametricPath.h.

template<class TValue = double>
typedef itk::SmartPointer<Self> otb::Polygon< TValue >::Pointer

Definition at line 46 of file otbPolygon.h.

template<unsigned int VDimension>
typedef Point< double, VDimension > itk::PolyLineParametricPath< VDimension >::PointType
inherited

Definition at line 79 of file itkPolyLineParametricPath.h.

typedef otb::RemoteSensingRegion<double> otb::PolyLineParametricPathWithValue< TValue, VDimension >::RegionType
inherited

Definition at line 63 of file otbPolyLineParametricPathWithValue.h.

template<class TValue = double>
typedef Polygon otb::Polygon< TValue >::Self

Standard typedefs

Definition at line 44 of file otbPolygon.h.

typedef RegionType::SizeType otb::PolyLineParametricPathWithValue< TValue, VDimension >::SizeType
inherited

Definition at line 64 of file otbPolyLineParametricPathWithValue.h.

template<class TValue = double>
typedef PolyLineParametricPathWithValue<TValue, 2> otb::Polygon< TValue >::Superclass

Definition at line 45 of file otbPolygon.h.

template<class TValue = double>
typedef TValue otb::Polygon< TValue >::ValueType

Definition at line 48 of file otbPolygon.h.

template<unsigned int VDimension>
typedef Vector< double, VDimension > itk::PolyLineParametricPath< VDimension >::VectorType
inherited

Definition at line 80 of file itkPolyLineParametricPath.h.

template<class TValue = double>
typedef Superclass::VertexListConstIteratorType otb::Polygon< TValue >::VertexListConstIteratorType

Definition at line 59 of file otbPolygon.h.

template<unsigned int VDimension>
typedef VertexListType::Pointer itk::PolyLineParametricPath< VDimension >::VertexListPointer
inherited

Definition at line 83 of file itkPolyLineParametricPath.h.

template<class TValue = double>
typedef Superclass::VertexListType otb::Polygon< TValue >::VertexListType

Definition at line 57 of file otbPolygon.h.

template<class TValue = double>
typedef Superclass::VertexType otb::Polygon< TValue >::VertexType

Derived typedefs

Definition at line 53 of file otbPolygon.h.

Constructor & Destructor Documentation

template<class TValue = double>
otb::Polygon< TValue >::Polygon ( )
inlineprotected

Constructor

Definition at line 140 of file otbPolygon.h.

template<class TValue = double>
virtual otb::Polygon< TValue >::~Polygon ( )
inlineprotectedvirtual

Destructor

Definition at line 148 of file otbPolygon.h.

template<class TValue = double>
otb::Polygon< TValue >::Polygon ( const Self )
private

Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
)
inherited

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

Definition at line 398 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), itk::ProgressAccumulator::RegisterInternalFilter(), otb::ImageFileWriter< TInputImage >::Update(), and otb::WriterWatcherBase::WriterWatcherBase().

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
) const
inherited

Definition at line 409 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

virtual void otb::PolyLineParametricPathWithValue< TValue, VDimension >::AddVertex ( const ContinuousIndexType vertex)
virtualinherited
template<class TValue >
void otb::Polygon< TValue >::AddVertex ( const ContinuousIndexType vertex)

Definition at line 29 of file otbPolygon.txx.

void itk::LightObject::BreakOnError ( )
staticinherited

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

Definition at line 150 of file itkLightObject.cxx.

template<class TValue >
void otb::Polygon< TValue >::ComputeArea ( ) const
protectedvirtual

Area computation (for non convex polygons as well)

Definition at line 427 of file otbPolygon.txx.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().

virtual void otb::PolyLineParametricPathWithValue< TValue, VDimension >::ComputeBoundingRegion ( ) const
protectedvirtualinherited

Bounding Box computation

virtual void otb::PolyLineParametricPathWithValue< TValue, VDimension >::ComputeLength ( ) const
protectedvirtualinherited
virtual void itk::DataObject::CopyInformation ( const DataObject )
inlinevirtualinherited

Copy information from the specified data set. This method is part of the pipeline execution model. By default, a ProcessObject will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from from another DataObject. The default implementation of this method is empty. If a subclass overrides this method, it should always call its superclass' version.

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, otb::Image< TPixel, VImageDimension >, otb::Image< TOutputPixel, 2 >, otb::Image< TInputPixel, 2 >, otb::Image< TOutputPixelType, 2 >, itk::TubeSpatialObject< TDimension, TTubePointType >, itk::TubeSpatialObject< TDimension, VesselTubeSpatialObjectPoint< TDimension > >, itk::TubeSpatialObject< TDimension, DTITubeSpatialObjectPoint< TDimension > >, otb::VectorImage< TPixel, VImageDimension >, otb::VectorImage< TInputPixelType, 2 >, otb::VectorImage< TNeuron::ComponentType, VMapDimension >, otb::VectorImage< TOutputPixelType, 2 >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, itk::LevelSetSparseImage< TOutput, VDimension >, itk::LevelSetSparseImage< int8_t, VDimension >, itk::DiscreteLevelSetImage< TOutput, VDimension >, itk::DiscreteLevelSetImage< int8_t, VDimension >, itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >, itk::EllipseSpatialObject< TDimension >, itk::LevelSetQuadEdgeMesh< TMesh >, itk::TemporalDataObject, and itk::LevelSetDenseImage< TImage >.

Definition at line 465 of file itkDataObject.h.

Referenced by itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GenerateOutputInformation().

template<class TValue = double>
virtual::itk::LightObject::Pointer otb::Polygon< TValue >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

void itk::DataObject::DataHasBeenGenerated ( )
virtualinherited

Inform the pipeline mechanism that data has been generated. This method is called by ProcessObject::UpdateOutputData() once the process object has finished generating its data. This essentially marks the DataObject as being updated and ready for use.

Reimplemented in itk::GPUImage< TPixel, VImageDimension >.

Definition at line 442 of file itkDataObject.cxx.

Referenced by itk::GPUImage< TPixel, VImageDimension >::DataHasBeenGenerated(), and itk::TemporalProcessObject::UpdateOutputData().

void itk::Object::DebugOff ( ) const
virtualinherited

Turn debugging output off.

Definition at line 253 of file itkObject.cxx.

void itk::Object::DebugOn ( ) const
virtualinherited

Turn debugging output on.

Definition at line 243 of file itkObject.cxx.

void itk::LightObject::Delete ( )
virtualinherited

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

Delete a itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.

Definition at line 91 of file itkLightObject.cxx.

void itk::DataObject::DisconnectPipeline ( )
inherited

Separate this data object from the pipeline. This routine disconnects a data object from the upstream pipeline. Hence an Update() from downstream will not propagate back past this data object. To completely isolate this data object from the pipeline, the application must remove this data object from any filters which it is connected as the input.

Definition at line 222 of file itkDataObject.cxx.

References NULL.

template<unsigned int VDimension>
virtual InputType itk::PolyLineParametricPath< VDimension >::EndOfInput ( ) const
inlinevirtualinherited

Where does the path end? This value is necessary for IncrementInput() to know how to go to the end of a path. Since each line segment covers one unit of input, this is the number of verticies - 1.

Reimplemented from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension >.

Definition at line 105 of file itkPolyLineParametricPath.h.

References itk::PolyLineParametricPath< VDimension >::m_VertexList.

template<unsigned int VDimension>
PolyLineParametricPath< VDimension >::OutputType itk::PolyLineParametricPath< VDimension >::Evaluate ( const InputType input) const
virtualinherited

Return the location of the parametric path at the specified location.

Definition at line 29 of file itkPolyLineParametricPath.hxx.

References itk::Math::FloatAlmostEqual().

virtual OutputType itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::Evaluate ( const InputType input) const
pure virtualinherited

Evaluate the path at specified location along the path. Return data is the path's "natural" format.

template<unsigned int VDimension>
ParametricPath< VDimension >::VectorType itk::ParametricPath< VDimension >::EvaluateDerivative ( const InputType input) const
virtualinherited

Evaluate the first derivative of the ND output with respect to the 1D input. This is a very simple and naive numerical derivative, and it should be overloaded with a proper closed-form derivative function in all children. Nevertheless, users who need to create their own parametric classes for their private research need not reimplement this function if their work does not need the derivative operator.

Definition at line 124 of file itkParametricPath.hxx.

template<unsigned int VDimension>
PolyLineParametricPath< VDimension >::VectorType itk::PolyLineParametricPath< VDimension >::EvaluateDerivative ( const InputType input) const
virtualinherited

This function overrides the superclass EvaluateDerivative and instead calculates the instantaneous derivative of input by taking the index of the previous and next integral timepoints and subtracting them

Definition at line 59 of file itkPolyLineParametricPath.hxx.

template<unsigned int VDimension>
ParametricPath< VDimension >::IndexType itk::ParametricPath< VDimension >::EvaluateToIndex ( const InputType input) const
virtualinherited

Return the nearest index to the parametric path at the specified location. This is a wrapper to Evaluate().

Definition at line 38 of file itkParametricPath.hxx.

virtual IndexType itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::EvaluateToIndex ( const InputType input) const
pure virtualinherited

Like Evaluate(), except always returns an index

template<class TValue >
double otb::Polygon< TValue >::GetArea ( ) const
virtual

Return the polygon area.

Returns
The area.

Get surface

Definition at line 470 of file otbPolygon.txx.

virtual RegionType otb::PolyLineParametricPathWithValue< TValue, VDimension >::GetBoundingRegion ( void  ) const
virtualinherited

Compute the path bounding region.

Returns
The region.
Command * itk::Object::GetCommand ( unsigned long  tag)
inherited

Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to assign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

Definition at line 421 of file itkObject.cxx.

References itk::Object::GetCommand(), and NULL.

Referenced by itk::Object::GetCommand().

bool itk::DataObject::GetDataReleased ( ) const
inlineinherited

Get the flag indicating the data has been released.

Definition at line 354 of file itkDataObject.h.

bool itk::Object::GetDebug ( ) const
inherited

Get the value of the debug flag.

Definition at line 263 of file itkObject.cxx.

Referenced by otb::ogr::ImageReference< double >::GetDebug().

template<unsigned int VDimension>
virtual const InputType& itk::ParametricPath< VDimension >::GetDefaultInputStepSize ( )
virtualinherited
template<class TValue = double>
virtual double otb::Polygon< TValue >::GetEpsilon ( )
virtual
bool itk::DataObject::GetGlobalReleaseDataFlag ( )
staticinherited

Definition at line 195 of file itkDataObject.cxx.

bool itk::Object::GetGlobalWarningDisplay ( )
staticinherited

Get the value of the global debug output control flag.

Definition at line 391 of file itkObject.cxx.

virtual std::string otb::PolyLineParametricPathWithValue< TValue, VDimension >::GetKey ( )
virtualinherited
template<class TValue >
double otb::Polygon< TValue >::GetLength ( ) const
virtual

Return the polygon length (perimeter).

Returns
The length.

Length computation (difference with path is in the last addition)

Reimplemented from otb::PolyLineParametricPathWithValue< TValue, 2 >.

Definition at line 484 of file otbPolygon.txx.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().

MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  )
inherited
const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  ) const
inherited
Returns
A constant reference to this objects MetaDataDictionary.

Definition at line 548 of file itkObject.cxx.

References NULL.

ModifiedTimeType itk::Object::GetMTime ( void  ) const
virtualinherited

Return this objects modified time.

Return the modification for this object.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::InverseDisplacementFieldImageFilter< TInputImage, TOutputImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::TransformToDisplacementFieldSource< TOutputImage, TTransformPrecisionType >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::LandmarkDisplacementFieldSource< TOutputImage >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::MeshSpatialObject< TMesh >, and itk::SceneSpatialObject< TSpaceDimension >.

Definition at line 283 of file itkObject.cxx.

Referenced by itk::LandmarkDisplacementFieldSource< TOutputImage >::GetMTime(), itk::DeformationFieldSource< TOutputImage >::GetMTime(), itk::TransformToDisplacementFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::InverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMTime(), itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< VDimension >::GetMTime(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GetMTime(), itk::SpatialObject< TMesh::PointDimension >::GetObjectMTime(), and itk::ProcessObject::UpdateOutputInformation().

template<class TValue = double>
virtual const char* otb::Polygon< TValue >::GetNameOfClass ( ) const
virtual

Creation through object factory macro

Reimplemented from otb::PolyLineParametricPathWithValue< TValue, 2 >.

virtual const std::string& itk::Object::GetObjectName ( )
virtualinherited
virtual const ModifiedTimeType& itk::DataObject::GetPipelineMTime ( )
virtualinherited
virtual const RealTimeStamp& itk::DataObject::GetRealTimeStamp ( )
virtualinherited
virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 112 of file itkLightObject.h.

virtual const bool& itk::DataObject::GetReleaseDataFlag ( )
virtualinherited
SmartPointerForwardReference< ProcessObject > itk::DataObject::GetSource ( void  ) const
inherited

Get the process object that generated this data object. If there is no process object, then the data object has been disconnected from the pipeline, or the data object was created manually. (Note: we cannot use the GetObjectMacro() defined in itkMacro because the mutual dependency of DataObject and ProcessObject causes compile problems. Also, a forward reference smart pointer is returned, not a smart pointer, because of the circular dependency between the process and data object.)

GetSource() returns a SmartPointerForwardReference and not a WeakPointer because it is assumed the code calling GetSource() wants to hold a long term reference to the source.

Definition at line 292 of file itkDataObject.cxx.

Referenced by otb::PipelineMemoryPrintCalculator::EvaluateProcessObjectPrintRecursive().

DataObject::DataObjectPointerArraySizeType itk::DataObject::GetSourceOutputIndex ( ) const
inherited
const DataObject::DataObjectIdentifierType & itk::DataObject::GetSourceOutputName ( ) const
inherited

Which of the source's outputs corresponds to this data object?

Definition at line 300 of file itkDataObject.cxx.

template<class TValue = double>
virtual double otb::Polygon< TValue >::GetSurface ( ) const
inlinevirtual

Return the polygon area.

Returns
The area.
Deprecated:

Definition at line 125 of file otbPolygon.h.

const TimeStamp & itk::Object::GetTimeStamp ( ) const
virtualinherited

Return this object's time stamp.

Return the modification for this object.

Reimplemented in itk::RealTimeClock.

Definition at line 293 of file itkObject.cxx.

Referenced by itk::RealTimeClock::GetTimeStamp().

ModifiedTimeType itk::DataObject::GetUpdateMTime ( ) const
virtualinherited

MTime for the last time this DataObject was generated.

Definition at line 452 of file itkDataObject.cxx.

ValueType otb::PolyLineParametricPathWithValue< TValue, VDimension >::GetValue ( void  ) const
inlineinherited
virtual IndexType itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::GetZeroIndex ( ) const
protectedvirtualinherited
virtual OffsetType itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::GetZeroOffset ( ) const
protectedvirtualinherited
static void itk::DataObject::GlobalReleaseDataFlagOff ( )
inlinestaticinherited

Definition at line 340 of file itkDataObject.h.

static void itk::DataObject::GlobalReleaseDataFlagOn ( )
inlinestaticinherited

Definition at line 338 of file itkDataObject.h.

static void itk::Object::GlobalWarningDisplayOff ( )
inlinestaticinherited

Definition at line 118 of file itkObject.h.

Referenced by itk::OutputWindow::DisplayText().

static void itk::Object::GlobalWarningDisplayOn ( )
inlinestaticinherited

Definition at line 116 of file itkObject.h.

virtual void itk::DataObject::Graft ( const DataObject )
inlinevirtualinherited

Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::Statistics::Histogram< TMeasurement, TFrequencyContainer >, itk::VectorImage< TPixelType, VImageDimension >, itk::VectorImage< TOutputPixelType, VImageDimension >, itk::VectorImage< TNeuron::ComponentType, VImageDimension >, itk::VectorImage< TPixel, VImageDimension >, itk::VectorImage< TInputPixelType, VImageDimension >, itk::VectorImage< TPixelType, Dimension >, itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::VideoStream< TFrameType >, otb::ogr::DataSource, itk::Image< TPixel, VImageDimension >, itk::Image< TInputPixel, VImageDimension >, itk::Image< TOutputPixelType, VImageDimension >, itk::Image< TOutputPixel, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::GPUImage< TPixel, VImageDimension >, itk::Statistics::Sample< TMeasurementVector >, itk::Statistics::Sample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >, itk::Statistics::Sample< TVectorContainer::Element >, itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >, itk::Statistics::Sample< Array< TMeasurement > >, itk::Statistics::Sample< TPointSet::PointType >, itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::LabelMap< TLabelObject >, itk::Statistics::MembershipSample< TSample >, otb::VectorData< TPrecision, VDimension, TValuePrecision >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >, itk::Statistics::ListSample< TVectorContainer::Element >, itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >, itk::Statistics::ListSample< TPointSet::PointType >, itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::DiscreteLevelSetImage< TOutput, VDimension >, itk::DiscreteLevelSetImage< int8_t, VDimension >, itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >, itk::LevelSetQuadEdgeMesh< TMesh >, itk::LevelSetSparseImage< TOutput, VDimension >, itk::LevelSetSparseImage< int8_t, VDimension >, itk::TemporalDataObject, and itk::LevelSetDenseImage< TImage >.

Definition at line 479 of file itkDataObject.h.

Referenced by itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::Graft(), otb::AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms::GraftNthOutput(), otb::VectorDataSource< TOutputVectorData >::GraftNthOutput(), itk::VideoSource< TOutputVideoStream >::GraftNthOutput(), otb::PathListToHistogramGenerator< TPath, TFunction >::GraftNthOutput(), otb::PointSetSource< TOutputPointSet >::GraftNthOutput(), otb::ObjectListSource< TOutputList >::GraftNthOutput(), itk::Statistics::ImageToHistogramFilter< TImage >::GraftOutput(), itk::MeshSource< TOutputMesh >::GraftOutput(), itk::Statistics::SampleToHistogramFilter< TSample, THistogram >::GraftOutput(), and itk::ImageSource< TOutputImage >::GraftOutput().

bool itk::Object::HasObserver ( const EventObject event) const
inherited

Return true if an observer is registered for this event.

Definition at line 472 of file itkObject.cxx.

template<unsigned int VDimension>
ParametricPath< VDimension >::OffsetType itk::ParametricPath< VDimension >::IncrementInput ( InputType input) const
virtualinherited

Increment the input variable passed by reference such that the ND index of the path moves to its next vertex-connected (8-connected in 2D) neighbor. Return the Index-space offset of the path from its prior input to its new input. If the path is unable to increment, input is not changed and an offset of Zero is returned. Children are not required to implement bounds checking.

This is a fairly slow, iterative algorithm that numerically converges to the next index along the path, in a vertex-connected (8-connected in 2D) fashion. When possible, children of this class should overload this function with something more efficient.

WARNING: This default implementation REQUIRES that the ND endpoint of the path be either unique or coincident only with the startpoint, since it uses the endpoint as a stopping condition.

Definition at line 57 of file itkParametricPath.hxx.

virtual OffsetType itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::IncrementInput ( InputType input) const
pure virtualinherited

Increment the input variable passed by reference such that the ND index of the path moves to its next vertex-connected (8-connected in 2D) neighbor. Return the Index-space offset of the path from its prior input to its new input. If the path is unable to increment, input is not changed and an offset of Zero is returned. Children are not required to implement general bounds checking, but are required to return an offset of zero when trying to increment from the final valid input value.

template<unsigned int VDimension>
PolyLineParametricPath< VDimension >::OffsetType itk::PolyLineParametricPath< VDimension >::IncrementInput ( InputType input) const
virtualinherited

This function overrides the superclass IncrementInput and calculates the next pixel along the path to visit by using the instantaneous partial derivatives to calculate the timestep needed to move along the path by one pixel

Definition at line 84 of file itkPolyLineParametricPath.hxx.

References itk::NumericTraits< T >::ZeroValue().

template<unsigned int VDimension>
virtual void itk::PolyLineParametricPath< VDimension >::Initialize ( void  )
inlinevirtualinherited

Needed for Pipelining

Reimplemented from itk::DataObject.

Definition at line 114 of file itkPolyLineParametricPath.h.

References itk::PolyLineParametricPath< VDimension >::m_VertexList.

LightObject::Pointer itk::LightObject::InternalClone ( ) const
protectedvirtualinherited
void itk::Object::InvokeEvent ( const EventObject event)
inherited
void itk::Object::InvokeEvent ( const EventObject event) const
inherited

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

Definition at line 462 of file itkObject.cxx.

template<class TValue >
bool otb::Polygon< TValue >::IsCrossing ( VertexType  a1,
VertexType  a2,
VertexType  b1,
VertexType  b2 
) const

Check wether two segments [a1a2] and [b1b2] are strictly crossing.

Parameters
a1First point of the first segment,
a1Second point of the first segment,
a1First point of the second segment,
a1Second point of the second segment.
Returns
True if the two segments are strictly crossing.

Definition at line 281 of file otbPolygon.txx.

template<class TValue >
bool otb::Polygon< TValue >::IsInside ( VertexType  point) const

Check wether point is strictly inside the polygon.

Parameters
pointThe point to check.
Returns
True if the point is inside the polygon.

Definition at line 44 of file otbPolygon.txx.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().

template<class TValue >
bool otb::Polygon< TValue >::IsOnEdge ( VertexType  point) const

Check wether point is strictly on the edge of the polygon.

Parameters
pointThe point to check.
Returns
True if the point is on the edge of the polygon.

Definition at line 123 of file otbPolygon.txx.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().

template<class TValue >
bool otb::Polygon< TValue >::IsTouching ( VertexType  a1,
VertexType  a2,
VertexType  b1,
VertexType  b2 
) const

Check wether two segments[a1a2] and [b1b2] are touching without crossing.

Parameters
a1First point of the first segment,
a1Second point of the first segment,
a1First point of the second segment,
a1Second point of the second segment.
Returns
True if the two segments are touching without crossing.

Definition at line 338 of file otbPolygon.txx.

itk::LightObject::itkCloneMacro ( Self  )
inherited
template<unsigned int VDimension>
itk::PolyLineParametricPath< VDimension >::itkGetModifiableObjectMacro ( VertexList  ,
VertexListType   
)
inherited

Return the container of Vertices as a const object.

template<class TValue >
void otb::Polygon< TValue >::Modified ( void  ) const
protectedvirtual

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Make sure this object's modified time is greater than all others.

Reimplemented from otb::PolyLineParametricPathWithValue< TValue, 2 >.

Definition at line 530 of file otbPolygon.txx.

template<class TValue >
unsigned int otb::Polygon< TValue >::NbCrossing ( VertexType  a,
VertexType  b 
) const

Returns the number of crossings of the polygon with a given segment.

Parameters
aFirst point of the segment,
bSecond point of the segment,
Returns
the number of strict crossings of segment [ab] with the polygon.

Definition at line 211 of file otbPolygon.txx.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().

template<class TValue >
unsigned int otb::Polygon< TValue >::NbTouching ( VertexType  a,
VertexType  b 
) const

Returns the number of touchings without crossing of the polygon with a given segment.

Parameters
aFirst point of the segment,
bSecond point of the segment,
Returns
the number of touchings without crossing of segment [ab] with the polygon.

Definition at line 245 of file otbPolygon.txx.

References itk::VectorContainer< TElementIdentifier, TElement >::ConstIterator::Value().

template<class TValue = double>
static Pointer otb::Polygon< TValue >::New ( )
static

Type macro

template<class TValue = double>
void otb::Polygon< TValue >::operator= ( const Self )
private
virtual void itk::DataObject::PrepareForNewData ( )
inlinevirtualinherited

Setup a DataObject to receive new data. This method is called by the pipeline mechanism on each output of filter that needs to execute. The default implementation is to return a DataObject to its initial state. This may involve releasing previously allocated bulk data. Subclasses of DataObject may want to override this method and/or the Initialize() method if they want a different default behavior (for instance a DataObject might want finer control over its bulk data memory management).

Definition at line 416 of file itkDataObject.h.

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 137 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::VideoStream< TFrameType >::PrintSelf().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 315 of file itkLightObject.cxx.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const
protectedinherited

Definition at line 483 of file itkObject.cxx.

template<class TValue >
void otb::Polygon< TValue >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

PrintSelf method

PrintSelf Method

Reimplemented from otb::PolyLineParametricPathWithValue< TValue, 2 >.

Definition at line 542 of file otbPolygon.txx.

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 325 of file itkLightObject.cxx.

void itk::DataObject::PropagateRequestedRegion ( void  )
virtualinherited

Methods to update the pipeline. Called internally by the pipeline mechanism.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and otb::ImageList< TImage >.

Definition at line 393 of file itkDataObject.cxx.

References itk::Math::e, itk::DataObjectError::SetDataObject(), itk::ExceptionObject::SetDescription(), and itk::ExceptionObject::SetLocation().

void itk::DataObject::PropagateResetPipeline ( )
protectedvirtualinherited

Propagate a call to ResetPipeline(). Called only from ProcessObject.

Definition at line 382 of file itkDataObject.cxx.

void itk::Object::Register ( ) const
virtualinherited

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

Definition at line 323 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory(), and itk::ObjectFactoryBase::RegisterFactoryInternal().

void itk::DataObject::ReleaseData ( )
inherited

Release data back to system to conserve memory resource. Used during pipeline execution. Releasing this data does not make down-stream data invalid, so it does not modify the MTime of this data object.

Definition at line 203 of file itkDataObject.cxx.

virtual void itk::DataObject::ReleaseDataFlagOff ( )
virtualinherited
virtual void itk::DataObject::ReleaseDataFlagOn ( )
virtualinherited
void itk::Object::RemoveAllObservers ( )
inherited

Remove all observers .

Definition at line 442 of file itkObject.cxx.

void itk::Object::RemoveObserver ( unsigned long  tag)
inherited

Remove the observer with this tag value.

Definition at line 432 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), and otb::ImageFileWriter< TInputImage >::Update().

virtual bool itk::DataObject::RequestedRegionIsOutsideOfTheBufferedRegion ( )
inlinevirtualinherited

Determine whether the RequestedRegion is outside of the BufferedRegion. This method returns true if the RequestedRegion is outside the BufferedRegion (true if at least one pixel is outside). This is used by the pipeline mechanism to determine whether a filter needs to re-execute in order to satisfy the current request. If the current RequestedRegion is already inside the BufferedRegion from the previous execution (and the current filter is up to date), then a given filter does not need to re-execute

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, and itk::TemporalDataObject.

Definition at line 439 of file itkDataObject.h.

void itk::DataObject::ResetPipeline ( )
virtualinherited

Reset the pipeline. If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called.

Definition at line 375 of file itkDataObject.cxx.

void itk::Object::SetDebug ( bool  debugFlag) const
inherited

Set the value of the debug flag. A non-zero value turns debugging on.

Definition at line 273 of file itkObject.cxx.

template<unsigned int VDimension>
virtual void itk::ParametricPath< VDimension >::SetDefaultInputStepSize ( InputType  _arg)
virtualinherited
template<class TValue = double>
virtual void otb::Polygon< TValue >::SetEpsilon ( double  _arg)
virtual
void itk::DataObject::SetGlobalReleaseDataFlag ( bool  val)
staticinherited

Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.

Definition at line 183 of file itkDataObject.cxx.

void itk::Object::SetGlobalWarningDisplay ( bool  val)
staticinherited

This is a global flag that controls whether any debug, warning or error messages are displayed.

Set the value of the global debug output control flag.

Definition at line 381 of file itkObject.cxx.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs)
inherited
virtual void itk::Object::SetObjectName ( std::string  _arg)
virtualinherited

A facility to help application programmers set a human identifiable name for a given object. This has no inherent use in ITK, but is a convenience to allow developers to provide a name for this object.

void itk::DataObject::SetPipelineMTime ( ModifiedTimeType  time)
inlineinherited

The maximum MTime of all upstream filters and data objects. This does not include the MTime of this data object.

Definition at line 393 of file itkDataObject.h.

Referenced by itk::ProcessObject::UpdateOutputInformation().

virtual void itk::DataObject::SetRealTimeStamp ( RealTimeStamp  _arg)
virtualinherited

RealTime stamp for the last time this DataObject was generated. By default, the real time stamp is initialized to the origin of the Unix epoch. That is the time 00:00:00 UTC on 1 January 1970 (or 1970-01-01T00:00:00Z ISO 8601)

void itk::Object::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count (use with care)

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 359 of file itkObject.cxx.

void itk::DataObject::SetReleaseDataFlag ( bool  flag)
inlineinherited

Turn on/off a flag to control whether this object's data is released after being used by a filter.

Definition at line 323 of file itkDataObject.h.

virtual void itk::DataObject::SetRequestedRegion ( const DataObject )
inlinevirtualinherited

Set the requested region from this data object to match the requested region of the data object passed in as a parameter. For DataObject's that do not support Regions, this method does nothing. Subclasses of DataObject that do support Regions, provide an alternative implementation.

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and itk::TemporalDataObject.

Definition at line 472 of file itkDataObject.h.

virtual void itk::DataObject::SetRequestedRegionToLargestPossibleRegion ( )
inlinevirtualinherited

Set the RequestedRegion to the LargestPossibleRegion. This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, and itk::TemporalDataObject.

Definition at line 428 of file itkDataObject.h.

Referenced by itk::ForwardFFTImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::RealToHalfHermitianForwardFFTImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::TobogganImageFilter< TInputImage >::EnlargeOutputRequestedRegion(), itk::RegionOfInterestImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::EnlargeOutputRequestedRegion(), otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::EnlargeOutputRequestedRegion(), itk::ExtensionVelocitiesImageFilter< TLevelSet, TAuxValue, VAuxDimension >::EnlargeOutputRequestedRegion(), itk::NeighborhoodConnectedImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::IsolatedWatershedImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::MinimumMaximumImageFilter< TInputImage >::EnlargeOutputRequestedRegion(), itk::HausdorffDistanceImageFilter< TInputImage1, TInputImage2 >::EnlargeOutputRequestedRegion(), itk::FastMarchingExtensionImageFilterBase< TInput, TOutput, TAuxValue, VAuxDimension >::EnlargeOutputRequestedRegion(), itk::FastMarchingExtensionImageFilter< TLevelSet, TAuxValue, VAuxDimension, TSpeedImage >::EnlargeOutputRequestedRegion(), itk::ContourMeanDistanceImageFilter< TInputImage1, TInputImage2 >::EnlargeOutputRequestedRegion(), itk::SimilarityIndexImageFilter< TInputImage1, TInputImage2 >::EnlargeOutputRequestedRegion(), itk::ContourDirectedMeanDistanceImageFilter< TInputImage1, TInputImage2 >::EnlargeOutputRequestedRegion(), itk::ConfidenceConnectedImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::VectorConfidenceConnectedImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::ConnectedThresholdImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::DirectedHausdorffDistanceImageFilter< TInputImage1, TInputImage2 >::EnlargeOutputRequestedRegion(), itk::BlockMatchingImageFilter< TFixedImage, TMovingImage, TFeatures, TDisplacements, TSimilarities >::EnlargeOutputRequestedRegion(), itk::StatisticsImageFilter< TInputImage >::EnlargeOutputRequestedRegion(), otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >::EnlargeOutputRequestedRegion(), itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::EnlargeOutputRequestedRegion(), itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::EnlargeOutputRequestedRegion(), otb::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::EnlargeOutputRequestedRegion(), itk::LabelOverlapMeasuresImageFilter< TLabelImage >::EnlargeOutputRequestedRegion(), itk::IsolatedConnectedImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion(), itk::WatershedImageFilter< TInputImage >::EnlargeOutputRequestedRegion(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::EnlargeOutputRequestedRegion(), itk::LabelStatisticsImageFilter< TInputImage, TLabelImage >::EnlargeOutputRequestedRegion(), and itk::ExtractOrthogonalSwath2DImageFilter< TImage >::GenerateInputRequestedRegion().

void itk::Object::SetTimeStamp ( const TimeStamp timeStamp)
protectedvirtualinherited

Set the time stamp of this object. This method must be used very carefully !!!. Most mortals will never need to call this method.

Set the time stamp of this object. To be used very carefully !!!. Most mortals will never need to call this method.

Definition at line 302 of file itkObject.cxx.

void otb::PolyLineParametricPathWithValue< TValue, VDimension >::SetValue ( ValueType  value)
inlineinherited

Definition at line 69 of file otbPolyLineParametricPathWithValue.h.

bool itk::DataObject::ShouldIReleaseData ( ) const
inherited

Return flag indicating whether data should be released after use by a filter.

Definition at line 212 of file itkDataObject.cxx.

virtual InputType itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::StartOfInput ( ) const
inlinevirtualinherited

Where does the path begin? For most types of paths, the path will begin at zero. This value can be overridden in children, and is necessary for iterators to know how to go to the beginning of a path.

Reimplemented in itk::OrthogonallyCorrected2DParametricPath.

Definition at line 81 of file itkPath.h.

void itk::Object::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 337 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::DeleteNonInternalFactory(), and itk::Object::New().

void itk::DataObject::Update ( void  )
virtualinherited

Provides opportunity for the data object to insure internal consistency before access. Also causes owning source/filter (if any) to update itself. The Update() method is composed of UpdateOutputInformation(), PropagateRequestedRegion(), and UpdateOutputData(). This method may call methods that throw an InvalidRequestedRegionError exception. This exception will leave the pipeline in an inconsistent state. You will need to call ResetPipeline() on the last ProcessObject in your pipeline in order to restore the pipeline to a state where you can call Update() again.

Reimplemented in itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

Definition at line 355 of file itkDataObject.cxx.

Referenced by itk::HistogramToImageFilter< THistogram, TImage, TFunction >::GenerateOutputInformation().

void itk::DataObject::UpdateOutputData ( void  )
virtualinherited

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and otb::ImageList< TImage >.

Definition at line 424 of file itkDataObject.cxx.

Referenced by itk::TemporalProcessObject::GenerateData().

void itk::DataObject::UpdateOutputInformation ( void  )
virtualinherited

Update the information for this DataObject so that it can be used as an output of a ProcessObject. This method is used in the pipeline mechanism to propagate information and initialize the meta data associated with a DataObject. Any implementation of this method in a derived class is assumed to call its source's ProcessObject::UpdateOutputInformation() which determines modified times, LargestPossibleRegions, and any extra meta data like spacing, origin, etc. Default implementation simply call's it's source's UpdateOutputInformation().

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, and otb::ImageList< TImage >.

Definition at line 364 of file itkDataObject.cxx.

Referenced by otb::Wrapper::InputVectorDataListParameter::AddVectorData(), and itk::ProcessObject::UpdateOutputInformation().

virtual bool itk::DataObject::VerifyRequestedRegion ( )
inlinevirtualinherited

Verify that the RequestedRegion is within the LargestPossibleRegion.

If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possibly satisfy the request. This method returns true if the request can be satisfied (even if it will be necessary to process the entire LargestPossibleRegion) and returns false otherwise. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception if the requested region is not within the LargestPossibleRegion. Default implementation simply returns true in order to support DataObjects that do not need regions (for instance itk::EquivalencyTable).

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::SpatialObject< VDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< TDimension >, itk::SpatialObject< TMesh::PointDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >, itk::LevelSetBase< TMesh::PointIdentifier, TMesh::PointDimension, TMesh::PixelType, TMesh >, itk::LevelSetBase< TInput, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >, itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, ImageBase< VDimension > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, and itk::TemporalDataObject.

Definition at line 454 of file itkDataObject.h.

Member Data Documentation

template<class TValue = double>
double otb::Polygon< TValue >::m_Area
mutableprivate

Definition at line 161 of file otbPolygon.h.

template<class TValue = double>
bool otb::Polygon< TValue >::m_AreaIsValid
mutableprivate

Definition at line 162 of file otbPolygon.h.

template<unsigned int VDimension>
InputType itk::ParametricPath< VDimension >::m_DefaultInputStepSize
protectedinherited

Default 1D input increment amount to trace along the path. Also, the value used by the defualt implementation of EvaluateDerivative() for numerically approximating the derivative with the change over a single default-sized step. (NOTE that the default implementation of EvaluateDerivative() should never be used in practice, but users or lazzy developers may nevertheless unwisely choose to do so anyway.) For integer- input-types, 1 is probably the correct value. For double-input-types, either 1 or 0.1 are probably good values. This value should be set in the constructor of all instantiable children. Values set in child constructors overwrite values set in parent constructors.

Definition at line 134 of file itkParametricPath.h.

template<class TValue = double>
double otb::Polygon< TValue >::m_Epsilon
private

Definition at line 160 of file otbPolygon.h.

InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 156 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 159 of file itkLightObject.h.

const unsigned int itk::Path< double , ContinuousIndex< SpacePrecisionType, VDimension > , VDimension >::PathDimension
staticinherited

Path dimension. The dimension of a path is fixed at construction.

Definition at line 63 of file itkPath.h.


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

Generated at Sat Mar 8 2014 18:49:46 for Orfeo Toolbox with doxygen 1.8.3.1