Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SbImageDataAdapterHelper.h
Go to the documentation of this file.
1/*=======================================================================
2** VSG_COPYRIGHT_TAG
3**=======================================================================*/
4/*=======================================================================
5** Author : Benjamin Longuechaud (feb 2014)
6**=======================================================================*/
7
8#ifndef _SB_IMAGE_DATA_ADAPTER_HELPER_H_
9#define _SB_IMAGE_DATA_ADAPTER_HELPER_H_
10
11#include <ImageViz/SoImageViz.h>
13
14class SbImageDataAdapterHelperImpl;
15class SoDEPRECATED SbImageDataAdapterHelper
31{
32public:
134 static SoImageDataAdapter* getAppropriateAdapter(const SbString& filename, size_t maxMemory = 0);
135
154 static void saveToFile(SoImageDataAdapter* image, const SbString& filename);
155
156private:
160 static SoRef<SbImageDataAdapterHelperImpl> s_dataAdapterHelperImpl;
161};
162
163#endif
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Helper class for SoIma...
static SoImageDataAdapter * getAppropriateAdapter(const SbString &filename, size_t maxMemory=0)
Loads data and returns a preconfigured SoImageDataAdapter instance based on the given filename extens...
static void saveToFile(SoImageDataAdapter *image, const SbString &filename)
Save given image to a file.
Class for smart character strings.
Definition SbString.h:202
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Abstract base class fo...
Smart pointer for any class inheriting SoRefCounter.
Definition SoRef.h:90