32 #if !defined(ioTIFF_INCLUDE_ONCE) 33 #define ioTIFF_INCLUDE_ONCE 64 VL_DEBUG_SET_OBJECT_NAME()
72 res_db->resources().push_back(img);
81 res_db->resources().push_back(img);
88 for(
unsigned i=0; i<resource->
count<
Image>(); ++i)
96 for(
unsigned i=0; i<resource->
count<
Image>(); ++i)
An abstract class representing a file.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
ref< ResourceDatabase > loadResource(VirtualFile *file) const
bool writeResource(const String &path, ResourceDatabase *resource) const
VLCORE_EXPORT bool saveTIFF(const Image *src, const String &path)
size_t count() const
Don't use inside loops! Counts the number object of the specified type.
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
VLCORE_EXPORT ref< Image > loadTIFF(VirtualFile *file)
Visualization Library main namespace.
ref< ResourceDatabase > loadResource(const String &path) const
void get(std::vector< ref< T > > &resources, bool clear_vector=true)
Returns all the objects of the specified type in the given vector.
The LoadWriterTIFF class is a ResourceLoadWriter capable of reading TIFF files.
bool writeResource(VirtualFile *file, ResourceDatabase *resource) const
Implements a generic 1d, 2d, 3d and cubemap image that can have mipmaps.
The ref<> class is used to reference-count an Object.
The ResourceLoadWriter class is an abstract class used to implement read/write support for one or mor...
VLCORE_EXPORT bool isTIFF(VirtualFile *file)
The ResourceDatabase class contains and manipulates a set of resources.