OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage > Class Template Reference

#include <otbSpatialObjectToImageDrawingFilter.h>

+ Inheritance diagram for otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >:
+ Collaboration diagram for otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >:

Public Types

typedef
TInputSpatialObject::ChildrenListType 
ChildrenListType
 
typedef
SpatialObjectType::ChildrenListType
ChildrenType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
InputSpatialObjectType::ConstPointer 
InputSpatialObjectConstPointer
 
typedef
InputSpatialObjectType::Pointer 
InputSpatialObjectPointer
 
typedef TInputSpatialObject InputSpatialObjectType
 
typedef
SpatialObjectType::ChildrenListType::iterator 
IteratorType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TOutputImage::PointType PointType
 
typedef
SpatialObjectToImageDrawingFilter 
Self
 
typedef TOutputImage::SizeType SizeType
 
typedef
OutputImageType::SpacingType 
SpacingType
 
typedef itk::SpatialObject
< InputSpatialObjectType::ObjectDimension > 
SpatialObjectType
 
typedef itk::ImageSource
< TOutputImage > 
Superclass
 
typedef OutputImageType::ValueType ValueType
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void SetInput (const InputSpatialObjectType *object)
 
virtual void SetInput (unsigned int, const InputSpatialObjectType *object)
 
const InputSpatialObjectTypeGetInput (void)
 
const InputSpatialObjectTypeGetInput (unsigned int idx)
 
virtual void SetSpacing (const SpacingType &spacing)
 
virtual void SetSpacing (const double *spacing)
 
virtual void SetSpacing (const float *spacing)
 
virtual const double * GetSpacing () const
 
virtual void SetInsideValue (ValueType _arg)
 
virtual ValueType GetInsideValue ()
 
virtual void SetOutsideValue (ValueType _arg)
 
virtual ValueType GetOutsideValue ()
 
virtual void SetOrigin (const PointType &origin)
 
virtual void SetOrigin (const double *origin)
 
virtual void SetOrigin (const float *origin)
 
virtual const double * GetOrigin () const
 
virtual void SetChildrenDepth (unsigned int _arg)
 
virtual unsigned int GetChildrenDepth ()
 
virtual void SetSize (SizeType _arg)
 
virtual SizeType GetSize ()
 
virtual void SetUseObjectValue (bool _arg)
 
virtual bool GetUseObjectValue ()
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
const OutputImageTypeGetOutput (void) const
 
OutputImageTypeGetOutput (void)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ObjectDimension = InputSpatialObjectType::ObjectDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 

Protected Member Functions

 SpatialObjectToImageDrawingFilter ()
 
virtual ~SpatialObjectToImageDrawingFilter ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateData ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

unsigned int m_ChildrenDepth
 
ValueType m_InsideValue
 
double m_Origin [OutputImageDimension]
 
ValueType m_OutsideValue
 
SizeType m_Size
 
double m_Spacing [OutputImageDimension]
 
bool m_UseObjectValue
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 

Detailed Description

template<class TInputSpatialObject, class TOutputImage>
class otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >

Base class for filters that take a SpatialObject as input and produce an image as output. By default, if the user does not specify the size of the output image, the maximum size of the object's bounding box is used. The spacing of the image is given by the spacing of the input Spatial object.

Definition at line 39 of file otbSpatialObjectToImageDrawingFilter.h.

Member Typedef Documentation

template<class TInputSpatialObject, class TOutputImage>
typedef TInputSpatialObject::ChildrenListType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::ChildrenListType

Definition at line 67 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef SpatialObjectType::ChildrenListType* otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::ChildrenType

Definition at line 144 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef itk::SmartPointer<const Self> otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::ConstPointer

Definition at line 46 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef InputSpatialObjectType::ConstPointer otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectConstPointer

Definition at line 66 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef InputSpatialObjectType::Pointer otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectPointer

Definition at line 65 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef TInputSpatialObject otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectType

Some convenient typedefs.

Definition at line 64 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef SpatialObjectType::ChildrenListType::iterator otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::IteratorType

Definition at line 145 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef OutputImageType::Pointer otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::OutputImagePointer

Definition at line 50 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef Superclass::OutputImageRegionType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Definition at line 58 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef TOutputImage otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::OutputImageType

Definition at line 49 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef itk::SmartPointer<Self> otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::Pointer

Definition at line 45 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef TOutputImage::PointType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::PointType

Definition at line 48 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef SpatialObjectToImageDrawingFilter otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::Self

Standard class typedefs.

Definition at line 43 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef TOutputImage::SizeType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SizeType

Definition at line 47 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef OutputImageType::SpacingType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SpacingType

Definition at line 52 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef itk::SpatialObject<InputSpatialObjectType::ObjectDimension> otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SpatialObjectType

Definition at line 140 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef itk::ImageSource<TOutputImage> otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::Superclass

Definition at line 44 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
typedef OutputImageType::ValueType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::ValueType

Definition at line 51 of file otbSpatialObjectToImageDrawingFilter.h.

Constructor & Destructor Documentation

template<class TInputSpatialObject , class TOutputImage >
otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SpatialObjectToImageDrawingFilter ( )
protected

Constructor

Definition at line 30 of file otbSpatialObjectToImageDrawingFilter.txx.

References m_OutsideValue.

template<class TInputSpatialObject , class TOutputImage >
otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::~SpatialObjectToImageDrawingFilter ( )
protectedvirtual

Destructor

Definition at line 51 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject, class TOutputImage>
otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SpatialObjectToImageDrawingFilter ( const Self )
private

Member Function Documentation

template<class TInputSpatialObject, class TOutputImage>
virtual::itk::LightObject::Pointer otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GenerateData ( void  )
protectedvirtual

Update

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 390 of file otbSpatialObjectToImageDrawingFilter.txx.

References m_OutsideValue.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GenerateOutputInformation ( void  )
protectedvirtual

Constructor

Reimplemented from itk::ProcessObject.

Definition at line 262 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject, class TOutputImage>
virtual unsigned int otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetChildrenDepth ( )
virtual

The spatial object being transformed can be part of a hierarchy. How deep in the hierarchy should we descend in generating the image? A ChildrenDepth of 0 means to only include the object itself.

template<class TInputSpatialObject , class TOutputImage >
const SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectType * otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetInput ( void  )

Get the input Spatial Object

Definition at line 82 of file otbSpatialObjectToImageDrawingFilter.txx.

References itk::ProcessObject::GetInput().

template<class TInputSpatialObject , class TOutputImage >
const SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectType * otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetInput ( unsigned int  idx)

Get the input Spatial Object

Definition at line 97 of file otbSpatialObjectToImageDrawingFilter.txx.

References itk::ProcessObject::GetInput().

template<class TInputSpatialObject, class TOutputImage>
virtual ValueType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetInsideValue ( )
virtual

Set/Get the value for pixels inside the spatial object. By default, this filter will return an image that contains values from the spatial object specified as input. If this "inside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.

template<class TInputSpatialObject, class TOutputImage>
virtual const char* otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputSpatialObject , class TOutputImage >
const double * otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetOrigin ( void  ) const
virtual

The origin of the output image. The origin is the geometric coordinates of the index (0, 0, ..., 0). It is stored internally as double but may be set from float.

See Also
GetOrigin()

Definition at line 254 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject, class TOutputImage>
virtual ValueType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetOutsideValue ( )
virtual

Set/Get the value for pixels outside the spatial object. By default, this filter will return an image that contains values from the spatial object specified as input. If this "outside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.

template<class TInputSpatialObject, class TOutputImage>
virtual SizeType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetSize ( )
virtual

Set/Get Size

template<class TInputSpatialObject , class TOutputImage >
const double * otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetSpacing ( void  ) const
virtual

Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See Also
GetSpacing()

Definition at line 175 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject, class TOutputImage>
virtual bool otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::GetUseObjectValue ( )
virtual

If UseObjectValue is set to true, then the filter uses the ValueAt() function instead of IsInside()

template<class TInputSpatialObject, class TOutputImage>
static Pointer otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputSpatialObject, class TOutputImage>
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::operator= ( const Self )
private
template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Constructor

Reimplemented from itk::ProcessObject.

Definition at line 453 of file otbSpatialObjectToImageDrawingFilter.txx.

References m_OutsideValue.

template<class TInputSpatialObject, class TOutputImage>
virtual void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetChildrenDepth ( unsigned int  _arg)
virtual

The spatial object being transformed can be part of a hierarchy. How deep in the hierarchy should we descend in generating the image? A ChildrenDepth of 0 means to only include the object itself.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetInput ( const InputSpatialObjectType input)
virtual

Set the Input SpatialObject

Definition at line 59 of file otbSpatialObjectToImageDrawingFilter.txx.

References itk::ProcessObject::SetNthInput().

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetInput ( unsigned int  index,
const InputSpatialObjectType object 
)
virtual

Connect one of the operands

Definition at line 71 of file otbSpatialObjectToImageDrawingFilter.txx.

References itk::ProcessObject::SetNthInput().

template<class TInputSpatialObject, class TOutputImage>
virtual void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetInsideValue ( ValueType  _arg)
virtual

Set/Get the value for pixels inside the spatial object. By default, this filter will return an image that contains values from the spatial object specified as input. If this "inside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetOrigin ( const PointType origin)
virtual

The origin of the output image. The origin is the geometric coordinates of the index (0, 0, ..., 0). It is stored internally as double but may be set from float.

See Also
GetOrigin()

Definition at line 184 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetOrigin ( const double *  origin)
virtual

The origin of the output image. The origin is the geometric coordinates of the index (0, 0, ..., 0). It is stored internally as double but may be set from float.

See Also
GetOrigin()

Definition at line 208 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetOrigin ( const float *  origin)
virtual

The origin of the output image. The origin is the geometric coordinates of the index (0, 0, ..., 0). It is stored internally as double but may be set from float.

See Also
GetOrigin()

Definition at line 231 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject, class TOutputImage>
virtual void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetOutsideValue ( ValueType  _arg)
virtual

Set/Get the value for pixels outside the spatial object. By default, this filter will return an image that contains values from the spatial object specified as input. If this "outside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.

template<class TInputSpatialObject, class TOutputImage>
virtual void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetSize ( SizeType  _arg)
virtual

Set/Get Size

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetSpacing ( const SpacingType spacing)
virtual

Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See Also
GetSpacing()

Definition at line 107 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetSpacing ( const double *  spacing)
virtual

Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See Also
GetSpacing()

Definition at line 131 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject , class TOutputImage >
void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetSpacing ( const float *  spacing)
virtual

Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See Also
GetSpacing()

Definition at line 153 of file otbSpatialObjectToImageDrawingFilter.txx.

template<class TInputSpatialObject, class TOutputImage>
virtual void otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::SetUseObjectValue ( bool  _arg)
virtual

If UseObjectValue is set to true, then the filter uses the ValueAt() function instead of IsInside()

Member Data Documentation

template<class TInputSpatialObject, class TOutputImage>
unsigned int otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_ChildrenDepth
protected

Definition at line 157 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
ValueType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_InsideValue
protected

Definition at line 158 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
double otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_Origin[OutputImageDimension]
protected

Definition at line 156 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
ValueType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_OutsideValue
protected

Definition at line 159 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
SizeType otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_Size
protected

Definition at line 154 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
double otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_Spacing[OutputImageDimension]
protected

Definition at line 155 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
bool otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::m_UseObjectValue
protected

Definition at line 160 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
const unsigned int otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::ObjectDimension = InputSpatialObjectType::ObjectDimension
static

ImageDimension constants

Definition at line 71 of file otbSpatialObjectToImageDrawingFilter.h.

template<class TInputSpatialObject, class TOutputImage>
const unsigned int otb::SpatialObjectToImageDrawingFilter< TInputSpatialObject, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

ImageDimension constants

Definition at line 73 of file otbSpatialObjectToImageDrawingFilter.h.


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