OTB  6.7.0
Orfeo Toolbox
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
otb::NonOptGlImageActor Class Reference

#include <otbNonOptGlImageActor.h>

+ Inheritance diagram for otb::NonOptGlImageActor:
+ Collaboration diagram for otb::NonOptGlImageActor:

Classes

class  Tile
 

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
VectorImageType::ImageKeywordlistType 
ImageKeywordlistType
 
typedef VectorImageType::IndexType IndexType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorImageType::PointType PointType
 
typedef VectorImageType::RegionType RegionType
 
typedef NonOptGlImageActor Self
 
typedef VectorImageType::SizeType SizeType
 
typedef
VectorImageType::SpacingType 
SpacingType
 
typedef GlActor Superclass
 
typedef VectorImage< float > VectorImageType
 
- Public Types inherited from otb::GlActor
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef GlActor Self
 
typedef itk::Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual unsigned int GetBlueIdx ()
 
void GetExtent (double &ulx, double &uly, double &lrx, double &lry) const override
 
virtual unsigned int GetGreenIdx ()
 
ImageKeywordlistType GetKwl () const
 
virtual double GetMaxBlue ()
 
virtual double GetMaxGreen ()
 
virtual double GetMaxRed ()
 
virtual double GetMinBlue ()
 
virtual double GetMinGreen ()
 
virtual double GetMinRed ()
 
virtual unsigned int GetNumberOfComponents ()
 
const PointTypeGetOrigin () const
 
virtual unsigned int GetRedIdx ()
 
const SpacingTypeGetSpacing () const
 
virtual const bool & GetUseShader () const
 
std::string GetWkt () const
 
void Initialize (const std::string &filename)
 
void ProcessViewSettings () override
 
void Render () override
 
virtual void SetBlueIdx (unsigned int _arg)
 
virtual void SetGreenIdx (unsigned int _arg)
 
virtual void SetMaxBlue (double _arg)
 
virtual void SetMaxGreen (double _arg)
 
virtual void SetMaxRed (double _arg)
 
virtual void SetMinBlue (double _arg)
 
virtual void SetMinGreen (double _arg)
 
virtual void SetMinRed (double _arg)
 
virtual void SetRedIdx (unsigned int _arg)
 
virtual void SetUseShader (bool _arg)
 
void UpdateData () override
 
virtual void UseShaderOff ()
 
virtual void UseShaderOn ()
 
- Public Member Functions inherited from otb::GlActor
virtual void GeometryChangedOff ()
 
virtual void GeometryChangedOn ()
 
virtual bool GetGeometryChanged ()
 
virtual const char * GetName () const
 
virtual bool GetOverlay ()
 
virtual const ViewSettingsGetSettings () const
 
virtual bool GetVisible ()
 
 itkGetObjectMacro (Settings, ViewSettings)
 
virtual void OverlayOff ()
 
virtual void OverlayOn ()
 
virtual void SetGeometryChanged (bool _arg)
 
virtual void SetName (const char *_arg)
 
virtual void SetOverlay (bool _arg)
 
virtual void SetSettings (ViewSettings *_arg)
 
virtual void SetVisible (bool _arg)
 
virtual void VisibleOff ()
 
virtual void VisibleOn ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const char * GetNameOfClass () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

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

Protected Types

typedef MultiChannelExtractROI
< float, float > 
ExtractROIFilterType
 
typedef ImageFileReader
< VectorImageType
ReaderType
 
typedef
VectorRescaleIntensityImageFilter
< VectorImageType,
VectorImageType
RescaleFilterType
 
typedef std::vector< unsigned int > ResolutionVectorType
 
typedef otb::GenericRSTransform RSTransformType
 
typedef std::vector< TileTileVectorType
 

Protected Member Functions

 NonOptGlImageActor ()
 
virtual ~NonOptGlImageActor ()
 
- Protected Member Functions inherited from otb::GlActor
 GlActor ()
 
 ~GlActor () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void CleanLoadedTiles ()
 
void ClearLoadedTiles ()
 
void ImageRegionToViewportExtent (const RegionType &region, double &ulx, double &uly, double &lrx, double &lry) const
 
void ImageRegionToViewportQuad (const RegionType &region, PointType &ul, PointType &ur, PointType &ll, PointType &lr) const
 
void LoadTile (Tile &tile)
 
 NonOptGlImageActor (const Self &)
 
void operator= (const Self &)
 
bool TileAlreadyLoaded (const Tile &tile)
 
void UnloadTile (Tile &tile)
 
void UpdateResolution ()
 
void UpdateTransforms ()
 
void ViewportExtentToImageRegion (const double &ulx, const double &uly, const double &lrx, const double &lry, RegionType &region) const
 

Static Private Member Functions

static void InitShaders ()
 

Private Attributes

ResolutionVectorType m_AvailableResolutions
 
unsigned int m_BlueIdx
 
unsigned int m_CurrentResolution
 
std::string m_FileName
 
ReaderType::Pointer m_FileReader
 
unsigned int m_GreenIdx
 
RSTransformType::Pointer m_ImageToViewportTransform
 
RegionType m_LargestRegion
 
TileVectorType m_LoadedTiles
 
double m_MaxBlue
 
double m_MaxGreen
 
double m_MaxRed
 
double m_MinBlue
 
double m_MinGreen
 
double m_MinRed
 
unsigned int m_NumberOfComponents
 
PointType m_Origin
 
unsigned int m_RedIdx
 
SpacingType m_Spacing
 
unsigned int m_TileSize
 
bool m_UseShader
 
RSTransformType::Pointer m_ViewportToImageTransform
 

Static Private Attributes

static bool m_ShaderInitialized
 
static unsigned int m_StandardShader
 
static unsigned int m_StandardShaderProgram
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

Definition at line 36 of file otbNonOptGlImageActor.h.

Member Typedef Documentation

Definition at line 43 of file otbNonOptGlImageActor.h.

Definition at line 111 of file otbNonOptGlImageActor.h.

Definition at line 48 of file otbNonOptGlImageActor.h.

Definition at line 50 of file otbNonOptGlImageActor.h.

Definition at line 42 of file otbNonOptGlImageActor.h.

Definition at line 53 of file otbNonOptGlImageActor.h.

Definition at line 110 of file otbNonOptGlImageActor.h.

Definition at line 51 of file otbNonOptGlImageActor.h.

Definition at line 112 of file otbNonOptGlImageActor.h.

typedef std::vector<unsigned int> otb::NonOptGlImageActor::ResolutionVectorType
protected

Definition at line 114 of file otbNonOptGlImageActor.h.

Definition at line 113 of file otbNonOptGlImageActor.h.

Definition at line 40 of file otbNonOptGlImageActor.h.

Definition at line 49 of file otbNonOptGlImageActor.h.

Definition at line 52 of file otbNonOptGlImageActor.h.

Definition at line 41 of file otbNonOptGlImageActor.h.

typedef std::vector<Tile> otb::NonOptGlImageActor::TileVectorType
protected

Definition at line 166 of file otbNonOptGlImageActor.h.

Definition at line 45 of file otbNonOptGlImageActor.h.

Constructor & Destructor Documentation

otb::NonOptGlImageActor::NonOptGlImageActor ( )
protected
virtual otb::NonOptGlImageActor::~NonOptGlImageActor ( )
protectedvirtual
otb::NonOptGlImageActor::NonOptGlImageActor ( const Self )
private

Member Function Documentation

void otb::NonOptGlImageActor::CleanLoadedTiles ( )
private
void otb::NonOptGlImageActor::ClearLoadedTiles ( )
private
virtual::itk::LightObject::Pointer otb::NonOptGlImageActor::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

virtual unsigned int otb::NonOptGlImageActor::GetBlueIdx ( )
virtual
void otb::NonOptGlImageActor::GetExtent ( double &  ulx,
double &  uly,
double &  lrx,
double &  lry 
) const
overridevirtual

Implements otb::GlActor.

virtual unsigned int otb::NonOptGlImageActor::GetGreenIdx ( )
virtual
ImageKeywordlistType otb::NonOptGlImageActor::GetKwl ( ) const
virtual double otb::NonOptGlImageActor::GetMaxBlue ( )
virtual
virtual double otb::NonOptGlImageActor::GetMaxGreen ( )
virtual
virtual double otb::NonOptGlImageActor::GetMaxRed ( )
virtual
virtual double otb::NonOptGlImageActor::GetMinBlue ( )
virtual
virtual double otb::NonOptGlImageActor::GetMinGreen ( )
virtual
virtual double otb::NonOptGlImageActor::GetMinRed ( )
virtual
virtual unsigned int otb::NonOptGlImageActor::GetNumberOfComponents ( )
virtual
const PointType& otb::NonOptGlImageActor::GetOrigin ( ) const
virtual unsigned int otb::NonOptGlImageActor::GetRedIdx ( )
virtual
const SpacingType& otb::NonOptGlImageActor::GetSpacing ( ) const
virtual const bool& otb::NonOptGlImageActor::GetUseShader ( ) const
virtual
std::string otb::NonOptGlImageActor::GetWkt ( ) const
void otb::NonOptGlImageActor::ImageRegionToViewportExtent ( const RegionType region,
double &  ulx,
double &  uly,
double &  lrx,
double &  lry 
) const
private
void otb::NonOptGlImageActor::ImageRegionToViewportQuad ( const RegionType region,
PointType ul,
PointType ur,
PointType ll,
PointType lr 
) const
private
void otb::NonOptGlImageActor::Initialize ( const std::string &  filename)
static void otb::NonOptGlImageActor::InitShaders ( )
staticprivate
void otb::NonOptGlImageActor::LoadTile ( Tile tile)
private
static Pointer otb::NonOptGlImageActor::New ( )
static
void otb::NonOptGlImageActor::operator= ( const Self )
private
void otb::NonOptGlImageActor::ProcessViewSettings ( )
overridevirtual

Implements otb::GlActor.

void otb::NonOptGlImageActor::Render ( )
overridevirtual

Implements otb::GlActor.

virtual void otb::NonOptGlImageActor::SetBlueIdx ( unsigned int  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetGreenIdx ( unsigned int  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetMaxBlue ( double  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetMaxGreen ( double  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetMaxRed ( double  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetMinBlue ( double  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetMinGreen ( double  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetMinRed ( double  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetRedIdx ( unsigned int  _arg)
virtual
virtual void otb::NonOptGlImageActor::SetUseShader ( bool  _arg)
virtual
bool otb::NonOptGlImageActor::TileAlreadyLoaded ( const Tile tile)
private
void otb::NonOptGlImageActor::UnloadTile ( Tile tile)
private
void otb::NonOptGlImageActor::UpdateData ( )
overridevirtual

Implements otb::GlActor.

void otb::NonOptGlImageActor::UpdateResolution ( )
private
void otb::NonOptGlImageActor::UpdateTransforms ( )
private
virtual void otb::NonOptGlImageActor::UseShaderOff ( )
virtual
virtual void otb::NonOptGlImageActor::UseShaderOn ( )
virtual
void otb::NonOptGlImageActor::ViewportExtentToImageRegion ( const double &  ulx,
const double &  uly,
const double &  lrx,
const double &  lry,
RegionType region 
) const
private

Member Data Documentation

ResolutionVectorType otb::NonOptGlImageActor::m_AvailableResolutions
private

Definition at line 223 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_BlueIdx
private

Definition at line 212 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_CurrentResolution
private

Definition at line 221 of file otbNonOptGlImageActor.h.

std::string otb::NonOptGlImageActor::m_FileName
private

Definition at line 202 of file otbNonOptGlImageActor.h.

ReaderType::Pointer otb::NonOptGlImageActor::m_FileReader
private

Definition at line 204 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_GreenIdx
private

Definition at line 210 of file otbNonOptGlImageActor.h.

RSTransformType::Pointer otb::NonOptGlImageActor::m_ImageToViewportTransform
private

Definition at line 237 of file otbNonOptGlImageActor.h.

RegionType otb::NonOptGlImageActor::m_LargestRegion
private

Definition at line 227 of file otbNonOptGlImageActor.h.

TileVectorType otb::NonOptGlImageActor::m_LoadedTiles
private

Definition at line 206 of file otbNonOptGlImageActor.h.

double otb::NonOptGlImageActor::m_MaxBlue
private

Definition at line 219 of file otbNonOptGlImageActor.h.

double otb::NonOptGlImageActor::m_MaxGreen
private

Definition at line 217 of file otbNonOptGlImageActor.h.

double otb::NonOptGlImageActor::m_MaxRed
private

Definition at line 215 of file otbNonOptGlImageActor.h.

double otb::NonOptGlImageActor::m_MinBlue
private

Definition at line 218 of file otbNonOptGlImageActor.h.

double otb::NonOptGlImageActor::m_MinGreen
private

Definition at line 216 of file otbNonOptGlImageActor.h.

double otb::NonOptGlImageActor::m_MinRed
private

Definition at line 214 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_NumberOfComponents
private

Definition at line 228 of file otbNonOptGlImageActor.h.

PointType otb::NonOptGlImageActor::m_Origin
private

Definition at line 225 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_RedIdx
private

Definition at line 208 of file otbNonOptGlImageActor.h.

bool otb::NonOptGlImageActor::m_ShaderInitialized
staticprivate

Definition at line 234 of file otbNonOptGlImageActor.h.

SpacingType otb::NonOptGlImageActor::m_Spacing
private

Definition at line 226 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_StandardShader
staticprivate

Definition at line 232 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_StandardShaderProgram
staticprivate

Definition at line 233 of file otbNonOptGlImageActor.h.

unsigned int otb::NonOptGlImageActor::m_TileSize
private

Definition at line 200 of file otbNonOptGlImageActor.h.

bool otb::NonOptGlImageActor::m_UseShader
private

Definition at line 230 of file otbNonOptGlImageActor.h.

RSTransformType::Pointer otb::NonOptGlImageActor::m_ViewportToImageTransform
private

Definition at line 236 of file otbNonOptGlImageActor.h.


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