Orfeo Toolbox  4.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
otb::ogr::DataSource Class Reference

Collection of geometric objects. More...

#include <otbOGRDataSourceWrapper.h>

+ Inheritance diagram for otb::ogr::DataSource:
+ Collaboration diagram for otb::ogr::DataSource:

Classes

struct  boolean
 
class  layer_iter
 Implementation class for Layer iterator. More...
 
struct  Modes
 

Public Types

typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
Standard ITK typedefs
typedef DataSource Self
 
typedef itk::DataObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer
< const Self
ConstPointer
 

Public Member Functions

unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
bool Clear ()
 
virtual void CopyInformation (const DataObject *)
 
virtual void DataHasBeenGenerated ()
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
virtual void Delete ()
 
void DisconnectPipeline ()
 
Command * GetCommand (unsigned long tag)
 
bool GetDataReleased () const
 
bool GetDebug () const
 
std::string GetGlobalExtent (double &ulx, double &uly, double &lrx, double &lry, bool force=false) const
 
OGREnvelope GetGlobalExtent (bool force=false, std::string *outwkt=0) const
 
MetaDataDictionary & GetMetaDataDictionary (void)
 
const MetaDataDictionary & GetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () 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 const TimeStamp & GetTimeStamp () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void Graft (const itk::DataObject *data)
 
bool HasCapability (std::string const &capabilityName) const
 
bool HasObserver (const EventObject &event) const
 
virtual void Initialize ()
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
 itkCloneMacro (Self)
 
virtual void Modified () const
 
OGRDataSource & ogr ()
 
 operator int boolean::* () 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 ()
 
void Reset (OGRDataSource *source)
 
virtual void ResetPipeline ()
 
void SetDebug (bool debugFlag) const
 
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 ()
 
bool ShouldIReleaseData () const
 
int Size (bool doForceComputation) const
 
void SyncToDisk ()
 
virtual void UnRegister () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
virtual void UpdateOutputInformation ()
 
virtual bool VerifyRequestedRegion ()
 
Layers modification
Layer CreateLayer (std::string const &name, OGRSpatialReference *poSpatialRef=NULL, OGRwkbGeometryType eGType=wkbUnknown, std::vector< std::string > const &papszOptions=std::vector< std::string >())
 
void DeleteLayer (vcl_size_t i)
 
Layer CopyLayer (Layer &srcLayer, std::string const &newName, char **papszOptions=NULL)
 
Layers access
Note
As the following accessors are not inlined, they aren't optimized.
int GetLayersCount () const
 
Layer GetLayer (vcl_size_t i)
 
Layer const GetLayer (vcl_size_t i) const
  More...
 
Layer GetLayer (std::string const &name)
 
Layer const GetLayer (std::string const &name) const
  More...
 
Layer GetLayerChecked (vcl_size_t i)
 
Layer const GetLayerChecked (vcl_size_t i) const
  More...
 
Layer GetLayerChecked (std::string const &name)
 
Layer const GetLayerChecked (std::string const &name) const
  More...
 
Layer ExecuteSQL (std::string const &statement, OGRGeometry *poSpatialFilter, char const *pszDialect)
 

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 void SetGlobalReleaseDataFlag (bool val)
 
static void SetGlobalWarningDisplay (bool flag)
 
Creation functions
static Pointer New (std::string const &datasourcename, Modes::type mode=Modes::Read)
 
static Pointer New (OGRDataSource *sourcemode, Modes::type mode=Modes::Read)
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

 DataSource ()
 
 DataSource (OGRDataSource *source, Modes::type mode)
 
virtual ~DataSource ()
 
virtual LightObject::Pointer InternalClone () 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)
 

Static Protected Member Functions

static Pointer OpenDataSource (std::string const &datasourceName, Modes::type mode)
 

Protected Attributes

InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

vcl_size_t GetLayerID (std::string const &name) const
 
int GetLayerIDUnchecked (std::string const &name) const
 
OGRLayer * GetLayerUnchecked (vcl_size_t i)
 
OGRLayer * GetLayerUnchecked (vcl_size_t i) const
  More...
 
bool IsLayerModifiable (vcl_size_t i) const
 
bool IsLayerModifiable (std::string const &name) const
 

Private Attributes

OGRDataSource * m_DataSource
 
int m_FirstModifiableLayerID
 
Modes::type m_OpenMode
 

Standard macros

static Pointer New ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Iteration

typedef layer_iter< Layeriterator
 
typedef layer_iter< Layer const > const_iterator
 
template<class >
class layer_iter
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
iterator begin ()
 
iterator end ()
 

Detailed Description

Collection of geometric objects.

This class is meant to supercede otb::VectorData class. It provides an encapsulation of OGR classes. In that particular case, it's an encapsulation of OGRDataSource.

Note
Not meant to be inherited.
This class has an entity semantics: non-copyable, nor assignable.
OGRRegisterAll() is implicitly called on construction.
The following functions haven't been encapsulated (yet?):
  • SetStyleTable() & GetStyleTable()
  • SetDriver() & GetDriver()
  • all functions related to the reference count.
Since
OTB v 3.14.0

Definition at line 63 of file otbOGRDataSourceWrapper.h.

Member Typedef Documentation

Definition at line 224 of file otbOGRDataSourceWrapper.h.

Definition at line 71 of file otbOGRDataSourceWrapper.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 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.

Definition at line 223 of file otbOGRDataSourceWrapper.h.

Definition at line 70 of file otbOGRDataSourceWrapper.h.

Definition at line 68 of file otbOGRDataSourceWrapper.h.

Definition at line 69 of file otbOGRDataSourceWrapper.h.

Constructor & Destructor Documentation

otb::ogr::DataSource::DataSource ( )
protected

Default constructor. The actual OGRDataSource is using the in-memory OGRSFDriver: OGRMemDriver.

Exceptions
itk::ExceptionObjectif the inner OGRDataSource cannot be opened.
Note
OGRRegisterAll() is implicitly called on construction
See Also
DataSource::New()

Definition at line 116 of file otbOGRDataSourceWrapper.cxx.

References otb::ogr::Drivers::Init(), and m_DataSource.

otb::ogr::DataSource::DataSource ( OGRDataSource *  source,
Modes::type  mode 
)
protected

Init constructor.

Postcondition
The newly constructed object owns the source parameter.

Definition at line 132 of file otbOGRDataSourceWrapper.cxx.

References GetLayersCount(), and m_FirstModifiableLayerID.

otb::ogr::DataSource::~DataSource ( )
protectedvirtual

Destructor.

Postcondition
The OGRDataSource owned is released (if not null).

Definition at line 234 of file otbOGRDataSourceWrapper.cxx.

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().

const_iterator otb::ogr::DataSource::begin ( ) const
inline

Definition at line 226 of file otbOGRDataSourceWrapper.h.

References cbegin().

otb::ogr::DataSource::iterator otb::ogr::DataSource::begin ( )

Definition at line 252 of file otbOGRDataSourceWrapper.cxx.

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.

otb::ogr::DataSource::const_iterator otb::ogr::DataSource::cbegin ( ) const

Definition at line 242 of file otbOGRDataSourceWrapper.cxx.

Referenced by begin().

otb::ogr::DataSource::const_iterator otb::ogr::DataSource::cend ( ) const

Definition at line 247 of file otbOGRDataSourceWrapper.cxx.

Referenced by end().

bool otb::ogr::DataSource::Clear ( void  )

Clears the data source.

Postcondition
The OGRDataSource owned is destroyed with the dedicated function from OGR API.
m_DataSource = 0

Definition at line 43 of file otbOGRDataSourceWrapper.cxx.

References Reset().

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().

otb::ogr::Layer otb::ogr::DataSource::CopyLayer ( Layer srcLayer,
std::string const &  newName,
char **  papszOptions = NULL 
)

Copies a layer.

Parameters
[in]srcLayerSource layer to copy. It may come from another DataSource.
[in]newNameName of the new layer
[in]papszOptionsCreation options
Returns
a proxy on the OGRLayer created.
Exceptions
itk::ExceptionObjectin case the layer cannot be created on the data source.
Note
A proxy-class is returned instead of a plain OGRLayer in order to encapsulate all lifetime management of the OGRLayer obtained (i.e. never to be destroyed). If you want to delete a layer obtained with CreateLayer(), you must use DeleteLayer().
The papszOptions parameter may later become a std::vector<std::string>.
See Also
OGRDataSource::CopyLayer()

Definition at line 363 of file otbOGRDataSourceWrapper.cxx.

References otb::ogr::Layer::GetName(), and otb::ogr::Layer::ogr().

virtual::itk::LightObject::Pointer otb::ogr::DataSource::CreateAnother ( void  ) const
virtual

Default builder. This builder function creates a new DataSource with its default constructor. The actual OGRDataSource is using the in-memory OGRSFDriver: OGRMemDriver.

Exceptions
itk::ExceptionObjectif the inner OGRDataSource cannot be opened.
Note
OGRRegisterAll() is implicitly called on construction.
See Also
DataSource()

Reimplemented from itk::Object.

otb::ogr::Layer otb::ogr::DataSource::CreateLayer ( std::string const &  name,
OGRSpatialReference *  poSpatialRef = NULL,
OGRwkbGeometryType  eGType = wkbUnknown,
std::vector< std::string > const &  papszOptions = std::vector<std::string>() 
)

Creates a new layer.

Parameters
[in]namename for the layer
poSpatialRefthe coordinate system to use for the new layer, or NULL if no coordinate system is available.
[in]eGTypethe geometry type for the layer. Use wkbUnknown if there are no constraints on the types geometry to be written.
[in]papszOptionsa StringList of name=value options. Options are driver specific.
Returns
a proxy on the OGRLayer created.
Exceptions
itk::ExceptionObjectin case the layer cannot be created on the data source.
Note
A proxy-class is returned instead of a plain OGRLayer is order to encapsulate all lifetime management of the OGRLayer obtained (i.e. never to be destroyed). If you want to delete a layer obtained with CreateLayer(), you must use DeleteLayer().
The papszOptions parameter may later become a std::vector<std::string>.
See Also
OGRDataSource::CreateLayer()

Definition at line 262 of file otbOGRDataSourceWrapper.cxx.

References otb::ogr::StringListConverter::to_ogr().

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 otb::ogr::DataSource::DeleteLayer ( vcl_size_t  i)

Deletes the i-th layer from the data source.

Parameters
[in]ilayer index
Exceptions
itk::ExceptionObjectin case the index is out of range
itk::ExceptionObjectif the layer cannot be deleted from the data source.
Precondition
The data source must support the delete operation.
The index i must be in range [0, GetLayersCount()).
See Also
OGRDataSource::DeleteLayer()

Definition at line 397 of file otbOGRDataSourceWrapper.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.

const_iterator otb::ogr::DataSource::end ( ) const
inline

Definition at line 227 of file otbOGRDataSourceWrapper.h.

References cend().

otb::ogr::DataSource::iterator otb::ogr::DataSource::end ( )

Definition at line 257 of file otbOGRDataSourceWrapper.cxx.

otb::ogr::Layer otb::ogr::DataSource::ExecuteSQL ( std::string const &  statement,
OGRGeometry *  poSpatialFilter,
char const *  pszDialect 
)

Excecutes the statement..

Parameters
[in]statementtextual description of the SQL statement.
[in]poSpatialFilterGeometry representing a spatial filter – may be null.
[in]pszDialectallows control of the statement dialect. If set to NULL, the OGR SQL engine will be used, except for RDBMS drivers that will use their dedicated SQL engine, unless OGRSQL is explicitely passed as the dialect.
Returns
a new Layer that contains the matching Features. In case of error, or no matching result sets, a null Layer will be returned. Check for Layer's validity before doing anything else.
Exceptions
Noneeven when there is an error – OGR can not report errors, neither this wrapping.
Note
The returned Layer will be automatically collected on its destruction; i.e. unlike OGR API, no need to explicitly call OGRDataSource::ReleaseResultSet().
See Also
OGRDataSource::ExecuteSQL()

Definition at line 541 of file otbOGRDataSourceWrapper.cxx.

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().

std::string otb::ogr::DataSource::GetGlobalExtent ( double &  ulx,
double &  uly,
double &  lrx,
double &  lry,
bool  force = false 
) const

Retrieves the union of the extents of all layers.

Parameters
[out]ulxreference to upper-left x coordinate of the extent
[out]ulyreference to upper-left y coordinate of the extent
[out]lrxreference to lower-right x coordinate of the extent
[out]ulyreference to lower-right y coordinate of the extent
[in]forceForce computation of layers extents if not available. May force the driver to walk all geometries to compute the extent.
Returns
The Wkt of the extent projection (which is the wkt of the first layer SRS)
Exceptions
itk::ExceptionObjectif the layers extents can not be retrieved.

Definition at line 661 of file otbOGRDataSourceWrapper.cxx.

OGREnvelope otb::ogr::DataSource::GetGlobalExtent ( bool  force = false,
std::string *  outwkt = 0 
) const

Retrieves the union of the extents of all layers.

Parameters
[in]forceForce computation of layers extents if not available. May force the driver to walk all geometries to compute the extent.
[out]outwktThe Wkt of the extent projection (which is the wkt of the first layer SRS); if null, nothing is returned this way
Returns
the extent of all layers
Exceptions
itk::ExceptionObjectif the layers extents can not be retrieved.

Definition at line 597 of file otbOGRDataSourceWrapper.cxx.

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.

otb::ogr::Layer otb::ogr::DataSource::GetLayer ( vcl_size_t  i)
inline

Unchecked Accessor to a given layer.

Parameters
[in]iindex of the layer to access
Returns
the layer requested.
Precondition
i < GetLayersCount(), an assertion will be fired otherwise.
The layer must be available, an assertion will be fired otherwise.
Exceptions
None
Note
Use GetLayerUnchecked() if invalid indices are programming errors, or if null layers are to be expected.

Definition at line 48 of file otbOGRDataSourceWrapper.txx.

otb::ogr::Layer const otb::ogr::DataSource::GetLayer ( vcl_size_t  i) const
inline

Definition at line 57 of file otbOGRDataSourceWrapper.txx.

otb::ogr::Layer otb::ogr::DataSource::GetLayer ( std::string const &  name)

Unchecked Accessor to a given layer.

Parameters
[in]namename of the layer to search
Returns
the layer requested, possibly a null one.
Exceptions
None
Note
Use GetLayerChecked(std::string const&) if you'd rather have an exception instead of testing whether the layer obtained is valid.

Definition at line 515 of file otbOGRDataSourceWrapper.cxx.

otb::ogr::Layer const otb::ogr::DataSource::GetLayer ( std::string const &  name) const
inline

Unchecked Accessor to a given layer.

Parameters
[in]namename of the layer to search
Returns
the layer requested, possibly a null one.
Exceptions
None
Note
Use GetLayerChecked(std::string const&) if you'd rather have an exception instead of testing whether the layer obtained is valid.

Definition at line 63 of file otbOGRDataSourceWrapper.txx.

otb::ogr::Layer otb::ogr::DataSource::GetLayerChecked ( vcl_size_t  i)

Checked Accessor to a given layer.

Parameters
[in]iindex of the layer to access
Returns
a reference to the layer requested.
Precondition
i < GetLayersCount(), an exception is raised otherwise.
The layer must available, an exception is raised otherwise.
Note
Use GetLayer() if invalid indices, and null layers, are expected to be programming errors.
Exceptions
None

Definition at line 490 of file otbOGRDataSourceWrapper.cxx.

otb::ogr::Layer const otb::ogr::DataSource::GetLayerChecked ( vcl_size_t  i) const
inline

Checked Accessor to a given layer.

Parameters
[in]iindex of the layer to access
Returns
a reference to the layer requested.
Precondition
i < GetLayersCount(), an exception is raised otherwise.
The layer must available, an exception is raised otherwise.
Note
Use GetLayer() if invalid indices, and null layers, are expected to be programming errors.
Exceptions
None

Definition at line 70 of file otbOGRDataSourceWrapper.txx.

otb::ogr::Layer otb::ogr::DataSource::GetLayerChecked ( std::string const &  name)

Checked Accessor to a given layer.

Parameters
[in]namename of the layer to search
Returns
the layer requested, possibly a null one.
Exceptions
itk::ExceptionObjectif there exist no layer by that name
Note
Use GetLayer(std::string const&) if you'd rather test the obtained layer instead of catching an exception.

Definition at line 522 of file otbOGRDataSourceWrapper.cxx.

Layer const otb::ogr::DataSource::GetLayerChecked ( std::string const &  name) const

Checked Accessor to a given layer.

Parameters
[in]namename of the layer to search
Returns
the layer requested, possibly a null one.
Exceptions
itk::ExceptionObjectif there exist no layer by that name
Note
Use GetLayer(std::string const&) if you'd rather test the obtained layer instead of catching an exception.
vcl_size_t otb::ogr::DataSource::GetLayerID ( std::string const &  name) const
private

Definition at line 478 of file otbOGRDataSourceWrapper.cxx.

int otb::ogr::DataSource::GetLayerIDUnchecked ( std::string const &  name) const
private

Definition at line 462 of file otbOGRDataSourceWrapper.cxx.

References otb::ogr::Layer::GetName().

int otb::ogr::DataSource::GetLayersCount ( ) const

Returns the number of layers.

See Also
OGRDataSource::GetLayersCount()

Definition at line 535 of file otbOGRDataSourceWrapper.cxx.

Referenced by DataSource().

OGRLayer * otb::ogr::DataSource::GetLayerUnchecked ( vcl_size_t  i)
private

Internal unchecked accessor to a given layer.

Parameters
[in]iindex of the layer to access
Returns
a reference to the layer requested.
Precondition
i < GetLayersCount(), return 0 otherwise
The layer must available, 0 is returned otherwise.
Exceptions
None

Definition at line 508 of file otbOGRDataSourceWrapper.cxx.

OGRLayer * otb::ogr::DataSource::GetLayerUnchecked ( vcl_size_t  i) const
inlineprivate

Definition at line 76 of file otbOGRDataSourceWrapper.txx.

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().

virtual const char* otb::ogr::DataSource::GetNameOfClass ( ) const
virtual

Default builder. This builder function creates a new DataSource with its default constructor. The actual OGRDataSource is using the in-memory OGRSFDriver: OGRMemDriver.

Exceptions
itk::ExceptionObjectif the inner OGRDataSource cannot be opened.
Note
OGRRegisterAll() is implicitly called on construction.
See Also
DataSource()

Reimplemented from itk::DataObject.

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.

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.

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.

void otb::ogr::DataSource::Graft ( const itk::DataObject data)
virtual

Grafts data and information from one data source to another.

Deprecated:
OGRLayer has an embedded input iterator. As a consequence, the layer cannot support multiple access to its elements.

This is a convenience function to setup a second data source with all the meta information of another data source and use the same underlying OGRDataSource.

Reimplemented from itk::DataObject.

Definition at line 689 of file otbOGRDataSourceWrapper.cxx.

bool otb::ogr::DataSource::HasCapability ( std::string const &  capabilityName) const

Returns whether a capability is avalaible.

Parameters
[in]capabilityNamename of the capability to check.
Exceptions
None
See Also
OGRDataSource::TestCapability()

Definition at line 694 of file otbOGRDataSourceWrapper.cxx.

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.

void itk::DataObject::Initialize ( void  )
virtualinherited

Restore the data object to its initial state. This means releasing memory.

Reimplemented in itk::Statistics::Histogram< TMeasurement, TFrequencyContainer >, otb::SVMModel< TValue, TLabel >, 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::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::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::SpecialCoordinatesImage< TPixel, VImageDimension >, itk::SpecialCoordinatesImage< TPixel, 3 >, itk::Image< TPixel, VImageDimension >, itk::Image< TInputPixel, VImageDimension >, itk::Image< TOutputPixelType, VImageDimension >, itk::Image< TOutputPixel, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::ImageBase< VImageDimension >, itk::ImageBase< TLabelObject::ImageDimension >, itk::ImageBase< VectorImage< TPixelType, Dimension >::ImageDimension >, itk::ImageBase< TImage::ImageDimension >, itk::watershed::SegmentTree< TScalar >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::ChainCodePath< VDimension >, itk::ChainCodePath< 2 >, itk::LabelMap< TLabelObject >, itk::SparseImage< TNode, VImageDimension >, itk::HilbertPath< TIndexValue, VDimension >, itk::LevelSetSparseImage< TOutput, VDimension >, itk::LevelSetSparseImage< int8_t, VDimension >, itk::PolyLineParametricPath< VDimension >, itk::DiscreteLevelSetImage< TOutput, VDimension >, itk::DiscreteLevelSetImage< int8_t, VDimension >, itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >, itk::FourierSeriesPath< VDimension >, itk::LevelSetQuadEdgeMesh< TMesh >, itk::OrthogonallyCorrected2DParametricPath, itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::LevelSetDenseImage< TImage >, itk::GPUImage< TPixel, VImageDimension >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.

Definition at line 173 of file itkDataObject.cxx.

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.

bool otb::ogr::DataSource::IsLayerModifiable ( vcl_size_t  i) const
private

Definition at line 431 of file otbOGRDataSourceWrapper.cxx.

bool otb::ogr::DataSource::IsLayerModifiable ( std::string const &  name) const
private

Definition at line 445 of file otbOGRDataSourceWrapper.cxx.

itk::LightObject::itkCloneMacro ( Self  )
inherited
void itk::Object::Modified ( void  ) const
virtualinherited

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 in otb::SVMModel< TValue, TLabel >, 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 > >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >, itk::GPUImage< TPixel, VImageDimension >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, otb::GCPsToRPCSensorModelImageFilter< TImage >, otb::Polygon< TValue >, otb::ImageRegionAdaptativeSplitter< VImageDimension >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, VDimension >, otb::PolyLineParametricPathWithValue< TValue, 2 >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, and otb::StatisticsXMLFileReader< TMeasurementVector >.

Definition at line 312 of file itkObject.cxx.

Referenced by itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >::AddAttribute(), itk::Function::ConvergenceMonitoringFunction< TScalar, TScalar >::AddEnergyValue(), otb::Wrapper::InputImageListParameter::AddFromFileName(), otb::Wrapper::InputVectorDataListParameter::AddFromFileName(), otb::Wrapper::InputFilenameListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddImage(), otb::Wrapper::InputImageListParameter::AddNullElement(), otb::Wrapper::InputVectorDataListParameter::AddNullElement(), otb::Wrapper::InputFilenameListParameter::AddNullElement(), otb::Wrapper::StringListParameter::AddNullElement(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSeed(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSpecifiedRegion(), otb::Wrapper::InputVectorDataListParameter::AddVectorData(), itk::PolyLineParametricPath< VDimension >::AddVertex(), itk::ChainCodePath< 2 >::ChangeStep(), itk::ChainCodePath2D::ChangeStep(), itk::FourierSeriesPath< VDimension >::Clear(), itk::HilbertPath< TIndexValue, VDimension >::Clear(), itk::ChainCodePath< 2 >::Clear(), itk::ChainCodePath2D::Clear(), itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >::ClearAttributeSet(), itk::Function::ConvergenceMonitoringFunction< TScalar, TScalar >::ClearEnergyValues(), itk::MultiTransform< TScalar, NDimensions >::ClearTransformQueue(), otb::Wrapper::InputFilenameListParameter::ClearValue(), otb::Wrapper::InputImageListParameter::ClearValue(), otb::Wrapper::InputVectorDataListParameter::ClearValue(), otb::Wrapper::InputFilenameListParameter::Erase(), otb::Wrapper::InputImageListParameter::Erase(), otb::Wrapper::InputVectorDataListParameter::Erase(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSeedList(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSpecifiedRegionList(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::InsertNarrowBandNode(), itk::ChainCodePath2D::InsertStep(), itk::ChainCodePath< 2 >::InsertStep(), otb::ogr::ImageReference< double >::Modified(), itk::MultiTransform< TScalar, NDimensions >::PopBackTransform(), itk::MultiTransform< TScalar, NDimensions >::PopFrontTransform(), itk::MultiTransform< TScalar, NDimensions >::PushBackTransform(), itk::MultiTransform< TScalar, NDimensions >::PushFrontTransform(), itk::Statistics::SubsamplerBase< TSample >::RequestMaximumNumberOfResults(), itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >::SetAccessor(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetAdvectionScaling(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetAlivePoints(), itk::CompositeTransform< TScalar, NDimensions >::SetAllTransformsToOptimize(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::SetAlpha(), itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetAlpha(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetAlpha(), itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >::SetAttributeSet(), itk::LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension >::SetAuxImage(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetBeta(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetBinaryMask(), otb::TileMapImageIO::SetCacheDirectory(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetCenter(), itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetClosestPoint(), itk::ConstantPadImageFilter< TInputImage, TOutputImage >::SetConstant(), itk::DivideOrZeroOutImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetConstant(), itk::LBFGSBOptimizer::SetCostFunction(), itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetCovariance(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetCurvatureScaling(), itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetDerivativeSigma(), otb::ImageIOBase::SetDimensions(), itk::ImageIOBase::SetDimensions(), otb::ImageIOBase::SetDirection(), itk::ImageIOBase::SetDirection(), itk::ExtractImageFilter< TInputImage, TOutputImage >::SetDirectionCollapseToStrategy(), itk::ComposeDisplacementFieldsImageFilter< TInputImage, TOutputImage >::SetDisplacementField(), itk::InvertDisplacementFieldImageFilter< TInputImage, TOutputImage >::SetDisplacementField(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetEdgeWeight(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetEdgeWeight(), itk::watershed::Boundary< TScalar, TDimension >::SetFace(), itk::ExpNegativeImageFilter< TInputImage, TOutputImage >::SetFactor(), itk::FileListVideoIO::SetFileName(), itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::SetFixedAverageGradientMagnitude(), itk::watershed::Boundary< TScalar, TDimension >::SetFlatHash(), itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Maximum1< TInputImage::PixelType, TInputImage::PixelType > >::SetFunctor(), itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReciprocalHAlphaFunctor< TInputImage::PixelType, TOutputImage::PixelType > >::SetFunctor(), itk::HistogramToImageFilter< THistogram, TImage, Function::HistogramIntensityFunction< SizeValueType, TImage::PixelType > >::SetFunctor(), itk::TernaryFunctorImageFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage, TFunctor >::SetFunctor(), itk::ConnectedComponentFunctorImageFilter< TInputImage, TOutputImage, Functor::SimilarVectorsFunctor< TInputImage::ValueType >, TMaskImage >::SetFunctor(), itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::DivideOrZeroOut< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >::SetFunctor(), itk::ImageMomentsCalculator< TImage >::SetImage(), otb::Wrapper::InputImageListParameter::SetImageList(), itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >::SetIndex(), itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >::SetIndices(), itk::TriangleMeshToBinaryImageFilter< TInputMesh, TOutputImage >::SetInfoImage(), itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetInitialBiasFieldCoefficients(), itk::AmoebaOptimizer::SetInitialSimplexDelta(), itk::HistogramAlgorithmBase< THistogram >::SetInputHistogram(), otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram(), otb::ImageToGenericRSOutputParameters< TImage >::SetInputKeywordList(), itk::LabelVotingImageFilter< TInputImage, TOutputImage >::SetLabelForUndecidedPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetLabelForUndecidedPixels(), itk::watershed::Segmenter< InputImageType >::SetLargestPossibleRegion(), itk::TemporalDataObject::SetLargestPossibleTemporalRegion(), otb::Wrapper::InputImageListParameter::SetListFromFileName(), otb::Wrapper::InputVectorDataListParameter::SetListFromFileName(), otb::Wrapper::InputFilenameListParameter::SetListFromFileName(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetLowerThreshold(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetLowerThreshold(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue(), itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetMatrix(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumCurvatureTimeStep(), itk::watershed::SegmentTable< TScalar >::SetMaximumDepth(), itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::SetMaximumError(), itk::CannyEdgeDetectionImageFilter< ImageType, ImageType >::SetMaximumError(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetMaximumNumberOfIterations(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumPropagationTimeStep(), itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMean(), itk::Statistics::MembershipFunctionBase< TMeasurementVector >::SetMeasurementVectorSize(), itk::Statistics::DistanceMetric< Array< double > >::SetMeasurementVectorSize(), itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::SetMeasurementVectorSize(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetNarrowBandTotalRadius(), itk::OpenCVVideoIO::SetNextFrameToRead(), itk::VXLVideoIO::SetNextFrameToRead(), otb::Wrapper::InputImageListParameter::SetNthFileName(), otb::Wrapper::InputVectorDataListParameter::SetNthFileName(), otb::Wrapper::InputFilenameListParameter::SetNthFileName(), itk::CompositeTransform< TScalar, NDimensions >::SetNthTransformToOptimize(), otb::ImageIOBase::SetNumberOfDimensions(), itk::ImageIOBase::SetNumberOfDimensions(), itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNumberOfLayers(), itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >::SetNumberOfResultsRequested(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetNumberOfTargetsToBeReached(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetOffset(), itk::NeighborhoodOperatorImageFunction< TInputImage, TOutput >::SetOperator(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::SetOperator(), itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::SetOperator(), otb::ImageIOBase::SetOrigin(), itk::ImageIOBase::SetOrigin(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetOutputMaximum(), itk::SigmoidImageFilter< TInputImage, TOutputImage >::SetOutputMinimum(), otb::ImageToGenericRSOutputParameters< TImage >::SetOutputProjectionRef(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetOutsidePoints(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetOutsideValue(), itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::SetOutsideValue(), otb::MapProjectionAdapter::SetParameter(), itk::Statistics::ProbabilityDistribution::SetParameters(), itk::DisplacementFieldTransform< TScalar, NDimensions >::SetParameters(), itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::FFTWForwardFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::FFTWRealToHalfHermitianForwardFFTImageFilter< TInputImage, TOutputImage >::SetPlanRigor(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetPriorProbabilities(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetPropagationScaling(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::ChangeInformationImageFilter< TInputImage >::SetReferenceImage(), itk::ImportImageFilter< TPixel, VImageDimension >::SetRegion(), itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetRegionOfInterest(), itk::ScaleTransform< TScalar, NDimensions >::SetScale(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints1(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints2(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSegmentationFunction(), itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetShapePriorScaling(), itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >::SetShrinkFactorsPerDimension(), itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >::SetSigma(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingConductance(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingConductance(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingIterations(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingIterations(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingTimeStep(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetSmoothingTimeStep(), itk::PowellOptimizer::SetSpaceDimension(), otb::ImageIOBase::SetSpacing(), itk::ImageIOBase::SetSpacing(), itk::SpatialObject< TMesh::PointDimension >::SetSpacing(), itk::ImageMomentsCalculator< TImage >::SetSpatialObjectMask(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetSpeedConstant(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetCondition(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetNodes(), itk::FastMarchingUpwindGradientImageFilter< TLevelSet, TSpeedImage >::SetTargetPoints(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::SetTerminationUpdateThreshold(), itk::DivideOrZeroOutImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetThreshold(), itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetThreshold(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::MatrixOffsetTransformBase< TScalar, 3, 3 >::SetTranslation(), itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::SetTrialPoints(), itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUpperThreshold(), itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUpperThreshold(), itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >::SetUseClockForSeed(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetUseMinimalCurvature(), itk::watershed::Boundary< TScalar, TDimension >::SetValid(), otb::Wrapper::OutputProcessXMLParameter::SetValue(), otb::Wrapper::InputProcessXMLParameter::SetValue(), otb::Wrapper::InputFilenameParameter::SetValue(), otb::Wrapper::OutputFilenameParameter::SetValue(), otb::Wrapper::ListViewParameter::SetValue(), otb::Wrapper::ChoiceParameter::SetValue(), itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::SetVariance(), itk::CannyEdgeDetectionImageFilter< ImageType, ImageType >::SetVariance(), otb::Wrapper::InputVectorDataListParameter::SetVectorDataList(), otb::MapProjectionAdapter::SetWkt(), itk::LabelVotingImageFilter< TInputImage, TOutputImage >::UnsetLabelForUndecidedPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::UnsetLabelForUndecidedPixels(), itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::UnsetMaximumNumberOfIterations(), and itk::MultiLabelSTAPLEImageFilter< TInputImage, TOutputImage, TWeights >::UnsetPriorProbabilities().

static Pointer otb::ogr::DataSource::New ( )
static

Default builder. This builder function creates a new DataSource with its default constructor. The actual OGRDataSource is using the in-memory OGRSFDriver: OGRMemDriver.

Exceptions
itk::ExceptionObjectif the inner OGRDataSource cannot be opened.
Note
OGRRegisterAll() is implicitly called on construction.
See Also
DataSource()

Referenced by otb::LabelImageToVectorDataFilter< TInputImage, TPrecision >::GenerateData(), otb::LabelImageToOGRDataSourceFilter< TInputImage >::GenerateData(), and OpenDataSource().

otb::ogr::DataSource::Pointer otb::ogr::DataSource::New ( std::string const &  datasourcename,
Modes::type  mode = Modes::Read 
)
static

Builder from an existing named data source.

Parameters
[in]datasourcenameOGR identifier of the data source
[in]modeopening mode (read or read-write)
Returns
a newly created DataSource.
Exceptions
itk::ExceptionObjectif the inner OGRDataSource cannot be opened.
Note
OGRRegisterAll() is implicitly called on construction
See Also
DataSource(OGRDataSource *)

Definition at line 208 of file otbOGRDataSourceWrapper.cxx.

References DeleteDataSource(), and otb::ogr::Drivers::Init().

otb::ogr::DataSource::Pointer otb::ogr::DataSource::New ( OGRDataSource *  sourcemode,
Modes::type  mode = Modes::Read 
)
static

Builder from a built OGRDataSource.

Parameters
[in,out]sourceOGRDataSource already constructed.
Returns
a newly created DataSource that assumes ownership of source.
Exceptions
Nothing
Note
OGRRegisterAll() is supposed to have been called before building source.
No condition is assumed on the non-nullity of source.
See Also
DataSource(OGRDataSource *)

Definition at line 227 of file otbOGRDataSourceWrapper.cxx.

References itk::SmartPointer< TObjectType >::UnRegister().

OGRDataSource & otb::ogr::DataSource::ogr ( )
inline

Access to raw OGRDataSource. This function provides an abstraction leak in case deeper control on the underlying OGRDataSource is required.

Precondition
The underlying OGRDataSource must be valid, i.e. m_DataSource != 0, an assertion is fired otherwise.
Warning
You must under no circonstance try to delete the OGRDataSource obtained this way.

Definition at line 41 of file otbOGRDataSourceWrapper.txx.

References m_DataSource.

otb::ogr::DataSource::Pointer otb::ogr::DataSource::OpenDataSource ( std::string const &  datasourceName,
Modes::type  mode 
)
staticprotected

Definition at line 140 of file otbOGRDataSourceWrapper.cxx.

References New().

otb::ogr::DataSource::operator int boolean::* ( ) const
inline

Can the data source be used (ie not null).

Hack to provide a boolean operator that is convertible only to a boolean expression to be used in if tests.

See Also
Imperfect C++, Matthew Wilson, Addisson-Welsey, par 24.6

Definition at line 454 of file otbOGRDataSourceWrapper.h.

References otb::ogr::DataSource::boolean::i, and m_DataSource.

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.

void otb::ogr::DataSource::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Prints self into stream.

Reimplemented from itk::Object.

Definition at line 679 of file otbOGRDataSourceWrapper.cxx.

References otb::ogr::Layer::PrintSelf().

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 otb::ogr::DataSource::Reset ( OGRDataSource *  source)

Resets current data source with the one in parameter.

Parameters
[in,out]sourcesource OGRDataSource that this instance will own.
Exceptions
None
Postcondition
Assumes ownership of the source.

Definition at line 49 of file otbOGRDataSourceWrapper.cxx.

Referenced by Clear().

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.

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.

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.

int otb::ogr::DataSource::Size ( bool  doForceComputation) const

Returns the number of elements in the Data Source.

Parameters
[in]doForceComputationindicates whether the size shall be computed on each layer even so it's expensive to do so.
Returns
the number of features in the Data Source, -1 if count is unknown
Exceptions
None
See Also
OGRLayer::GetFeatureCount()

Definition at line 588 of file otbOGRDataSourceWrapper.cxx.

void otb::ogr::DataSource::SyncToDisk ( )

Flushes all changes to disk.

Exceptions
itd::ExceptionObjectin case the flush operation failed.
See Also
OGRDataSource::SyncToDisk()

Definition at line 700 of file otbOGRDataSourceWrapper.cxx.

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.

Friends And Related Function Documentation

template<class >
friend class layer_iter
friend

Definition at line 222 of file otbOGRDataSourceWrapper.h.

Member Data Documentation

OGRDataSource* otb::ogr::DataSource::m_DataSource
private
int otb::ogr::DataSource::m_FirstModifiableLayerID
private

Definition at line 531 of file otbOGRDataSourceWrapper.h.

Referenced by DataSource().

Modes::type otb::ogr::DataSource::m_OpenMode
private

Definition at line 530 of file otbOGRDataSourceWrapper.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.


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

Generated at Sat Mar 8 2014 19:09:06 for Orfeo Toolbox with doxygen 1.8.3.1