OpendTect  7.0
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ui3DViewer2Image Class Reference

Print scene dialog box. More...

Public Member Functions

 ui3DViewer2Image (ui3DViewer &, const char *imgfnm, uiSize imgsz=uiSize(), int dpi=-1)
 
virtual ~ui3DViewer2Image ()
 
bool create ()
 

Protected Types

enum  { InvalidImages =0 , OnlyMainViewImage , MainAndHudImages }
 

Protected Member Functions

void flipImageVertical (osg::Image *)
 
bool hasImageValidFormat (const osg::Image *)
 
osg::Image * offScreenRenderViewToImage (osgViewer::View *, unsigned char transparency)
 
bool saveImages (const osg::Image *, const osg::Image *)
 
int validateImages (const osg::Image *, const osg::Image *)
 

Protected Attributes

float dpi_
 
uiString errmsg_
 
BufferString imgfnm_
 
uiSize sizepix_
 
ui3DViewervwr_
 

Detailed Description

Print scene dialog box.

<>

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
InvalidImages 
OnlyMainViewImage 
MainAndHudImages 

Constructor & Destructor Documentation

◆ ui3DViewer2Image()

ui3DViewer2Image::ui3DViewer2Image ( ui3DViewer ,
const char *  imgfnm,
uiSize  imgsz = uiSize(),
int  dpi = -1 
)

◆ ~ui3DViewer2Image()

virtual ui3DViewer2Image::~ui3DViewer2Image ( )
virtual

Member Function Documentation

◆ create()

bool ui3DViewer2Image::create ( )

◆ flipImageVertical()

void ui3DViewer2Image::flipImageVertical ( osg::Image *  )
protected

◆ hasImageValidFormat()

bool ui3DViewer2Image::hasImageValidFormat ( const osg::Image *  )
protected

◆ offScreenRenderViewToImage()

osg::Image* ui3DViewer2Image::offScreenRenderViewToImage ( osgViewer::View *  ,
unsigned char  transparency 
)
protected

◆ saveImages()

bool ui3DViewer2Image::saveImages ( const osg::Image *  ,
const osg::Image *   
)
protected

◆ validateImages()

int ui3DViewer2Image::validateImages ( const osg::Image *  ,
const osg::Image *   
)
protected

The returned image is not referenced yet.

Member Data Documentation

◆ dpi_

float ui3DViewer2Image::dpi_
protected

◆ errmsg_

uiString ui3DViewer2Image::errmsg_
protected

◆ imgfnm_

BufferString ui3DViewer2Image::imgfnm_
protected

◆ sizepix_

uiSize ui3DViewer2Image::sizepix_
protected

◆ vwr_

ui3DViewer& ui3DViewer2Image::vwr_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024