HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OiioImageLoader Class Reference

#include <OiioImageLoader.h>

+ Inheritance diagram for OiioImageLoader:

Public Member Functions

 OiioImageLoader ()
 
virtual ~OiioImageLoader ()
 
bool saveImage (const FilePath &filePath, ConstImagePtr image, bool verticalFlip=false) override
 Save an image to the file system. More...
 
ImagePtr loadImage (const FilePath &filePath) override
 Load an image from the file system. More...
 
- Public Member Functions inherited from ImageLoader
 ImageLoader ()
 
virtual ~ImageLoader ()
 
const StringSetsupportedExtensions () const
 

Static Public Member Functions

static OiioImageLoaderPtr create ()
 Create a new OpenImageIO image loader. More...
 

Additional Inherited Members

- Static Public Attributes inherited from ImageLoader
static const string BMP_EXTENSION
 Standard image file extensions. More...
 
static const string EXR_EXTENSION
 
static const string GIF_EXTENSION
 
static const string HDR_EXTENSION
 
static const string JPG_EXTENSION
 
static const string JPEG_EXTENSION
 
static const string PIC_EXTENSION
 
static const string PNG_EXTENSION
 
static const string PSD_EXTENSION
 
static const string TGA_EXTENSION
 
static const string TIF_EXTENSION
 
static const string TIFF_EXTENSION
 
static const string TXT_EXTENSION
 
static const string TX_EXTENSION
 
static const string TXR_EXTENSION
 
- Protected Attributes inherited from ImageLoader
StringSet _extensions
 

Detailed Description

OpenImageIO image file loader

Definition at line 21 of file OiioImageLoader.h.

Constructor & Destructor Documentation

OiioImageLoader::OiioImageLoader ( )
inline

Definition at line 24 of file OiioImageLoader.h.

virtual OiioImageLoader::~OiioImageLoader ( )
inlinevirtual

Definition at line 43 of file OiioImageLoader.h.

Member Function Documentation

static OiioImageLoaderPtr OiioImageLoader::create ( )
inlinestatic

Create a new OpenImageIO image loader.

Definition at line 46 of file OiioImageLoader.h.

ImagePtr OiioImageLoader::loadImage ( const FilePath filePath)
overridevirtual

Load an image from the file system.

Reimplemented from ImageLoader.

bool OiioImageLoader::saveImage ( const FilePath filePath,
ConstImagePtr  image,
bool  verticalFlip = false 
)
overridevirtual

Save an image to the file system.

Reimplemented from ImageLoader.


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