Skip to content
Snippets Groups Projects
Commit 2ef453a0 authored by Etienne Bougoin's avatar Etienne Bougoin
Browse files

ENH : add inner call to SuperClass::GenerateOutputInformation & add ThreadedGenerateData method

parent c3ba9c23
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,8 @@ protected: ...@@ -150,6 +150,8 @@ protected:
/** Actual estimation of the sensor model takes place in the /** Actual estimation of the sensor model takes place in the
* GenerateOutputInformation() method */ * GenerateOutputInformation() method */
virtual void GenerateOutputInformation(); virtual void GenerateOutputInformation();
virtual void ThreadedGenerateData(const typename TImage::RegionType&, int) {}
private: private:
GCPsToRPCSensorModelImageFilter ( const Self & ); // purposely not implemented GCPsToRPCSensorModelImageFilter ( const Self & ); // purposely not implemented
......
...@@ -130,6 +130,9 @@ void ...@@ -130,6 +130,9 @@ void
GCPsToRPCSensorModelImageFilter< TImage > GCPsToRPCSensorModelImageFilter< TImage >
::GenerateOutputInformation() ::GenerateOutputInformation()
{ {
// First, call the superclass implementation
Superclass::GenerateOutputInformation();
// First, retrieve the image pointer // First, retrieve the image pointer
typename TImage::Pointer imagePtr = this->GetOutput(); typename TImage::Pointer imagePtr = this->GetOutput();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment