Cinder  0.9.1
Classes | Public Types | Static Public Member Functions | Friends | List of all members
cinder::ImageIoRegistrar Struct Reference

#include <ImageIo.h>

Public Types

typedef ImageSourceRef(* SourceCreationFunc) (DataSourceRef, ImageSource::Options options)
 
typedef ImageTargetRef(* TargetCreationFunc) (DataTargetRef, ImageSourceRef, ImageTarget::Options options, const std::string &)
 

Static Public Member Functions

static ImageSourceRef createSource (DataSourceRef dataSource, ImageSource::Options options, std::string extension)
 
static ImageTargetRef createTarget (DataTargetRef dataTarget, ImageSourceRef imageSource, ImageTarget::Options options, std::string extension)
 
static void registerSourceType (std::string extension, SourceCreationFunc func, int32_t priority=2)
 
static void registerSourceGeneric (SourceCreationFunc func, int32_t priority=2)
 
static void registerTargetType (std::string extension, TargetCreationFunc func, int32_t priority, const std::string &extensionData)
 

Friends

class ImageIo
 

Member Typedef Documentation

typedef ImageSourceRef(* cinder::ImageIoRegistrar::SourceCreationFunc) (DataSourceRef, ImageSource::Options options)
typedef ImageTargetRef(* cinder::ImageIoRegistrar::TargetCreationFunc) (DataTargetRef, ImageSourceRef, ImageTarget::Options options, const std::string &)

Member Function Documentation

ImageSourceRef cinder::ImageIoRegistrar::createSource ( DataSourceRef  dataSource,
ImageSource::Options  options,
std::string  extension 
)
static
ImageTargetRef cinder::ImageIoRegistrar::createTarget ( DataTargetRef  dataTarget,
ImageSourceRef  imageSource,
ImageTarget::Options  options,
std::string  extension 
)
static
void cinder::ImageIoRegistrar::registerSourceType ( std::string  extension,
SourceCreationFunc  func,
int32_t  priority = 2 
)
static
void cinder::ImageIoRegistrar::registerSourceGeneric ( SourceCreationFunc  func,
int32_t  priority = 2 
)
static
void cinder::ImageIoRegistrar::registerTargetType ( std::string  extension,
TargetCreationFunc  func,
int32_t  priority,
const std::string &  extensionData 
)
static

Friends And Related Function Documentation

friend class ImageIo
friend

The documentation for this struct was generated from the following files: