gfx_image.h File Reference

Classes

struct  ImageHierarchy
 
class  ImageBaseInterface
 
class  ImageTextureInterface
 
class  ImageInterface
 
class  ImageLayerInterface
 
class  ImageFunctionsInterface
 

Namespaces

 maxon
 
 maxon::IMAGEPROPERTIES
 
 maxon::IMAGEPROPERTIES::TEXTURE
 
 maxon::IMAGEPROPERTIES::IMAGE
 
 maxon::IMAGEPROPERTIES::LAYER
 
 maxon::IMAGEPROPERTIES::LAYER::FOLDER
 
 maxon::IMAGEPROPERTIES::LAYER::ADJUSTMENT
 
 maxon::ImageBaseClasses
 
 maxon::ImageTextureClasses
 
 maxon::ImageClasses
 
 maxon::ImageLayerClasses
 

Enumerations

enum class  ITYPE {
  UNDEFINED ,
  TEXTURE ,
  IMAGE ,
  ALPHA ,
  LAYER ,
  LAYERMASK ,
  FOLDER ,
  ADJUSTMENT ,
  DEEPIMAGEDATA
}
 
enum class  IMAGEHIERARCHY {
  TEXTURE ,
  IMAGE ,
  ALPHA ,
  LAYER ,
  MASK ,
  DEEPIMAGEDATA ,
  MAX_ELEMENTS
}
 
enum class  TRANSFORM_COLORS_FLAGS {
  NONE ,
  INVERSE_DIRECTION
}
 

Functions

enum maxon::IMAGEPROPERTIES::ITYPE MAXON_ENUM_LIST (ITYPE)
 
 MAXON_ATTRIBUTE (ITYPE, TYPE, "net.maxon.image.type")
 
 MAXON_ATTRIBUTE (String, NAME, "net.maxon.image.name")
 
 MAXON_ATTRIBUTE (String, ALPHANAME, "net.maxon.image.alphaname")
 
 MAXON_ATTRIBUTE (FileFormat, FILEFORMAT, "net.maxon.image.fileformat")
 
 MAXON_ATTRIBUTE (AudioObjectRef, AUDIODATA, "net.maxon.image.audiodata")
 
 MAXON_ATTRIBUTE (Float, ASPECTRATIO, "net.maxon.image.aspectratio", RESOURCE_DEFAULT(1.0))
 
 MAXON_ATTRIBUTE (Float, DPI, "net.maxon.image.dpi")
 
 MAXON_ATTRIBUTE (ColorProfile, COLORPROFILE, "net.maxon.image.colorprofile")
 
 MAXON_ATTRIBUTE (Float, FPS, "net.maxon.image.fps")
 
 MAXON_ATTRIBUTE (TimeValue, DURATION, "net.maxon.image.duration")
 
 MAXON_ATTRIBUTE (TimeValue, SAMPLETIME, "net.maxon.image.sampletime")
 
 MAXON_ATTRIBUTE (DataDictionary, EXPORTSETTINGS, "net.maxon.image.exportsettings")
 
 MAXON_ATTRIBUTE (Int, HOTSPOTX, "net.maxon.image.hotspotx")
 
 MAXON_ATTRIBUTE (Int, HOTSPOTY, "net.maxon.image.hotspoty")
 
 MAXON_ATTRIBUTE (Int, SUBIMAGEINDEX, "net.maxon.image.subimageindex")
 
 MAXON_ATTRIBUTE (Bool, ENABLED, "net.maxon.image.layer.enabled")
 
 MAXON_ATTRIBUTE (ImagePixelBlend, BLENDMODE, "net.maxon.image.layer.blendmode")
 
 MAXON_ATTRIBUTE (Float, OPACITY, "net.maxon.image.layer.opacity")
 
 MAXON_ATTRIBUTE (Float, FILLOPACITY, "net.maxon.image.layer.fillopacity")
 
 MAXON_ATTRIBUTE (Bool, TRANSPARENCYPROTECTED, "net.maxon.image.layer.transparencyprotected")
 
 MAXON_ATTRIBUTE (Int, LAYERGROUP, "net.maxon.image.layer.layergroup")
 
 MAXON_ATTRIBUTE (Pix8u, MASKDEFCOLOR, "net.maxon.image.layer.maskdefcolor")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_X, "net.maxon.image.layer.boundingbox_x")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_Y, "net.maxon.image.layer.boundingbox_y")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_W, "net.maxon.image.layer.boundingbox_w")
 
 MAXON_ATTRIBUTE (Int, BOUNDINGBOX_H, "net.maxon.image.layer.boundingbox_h")
 
 MAXON_ATTRIBUTE (Bool, ISOPEN, "net.maxon.image.layer.isopen")
 
 MAXON_ATTRIBUTE (Int, PSD_FILTERID, "net.maxon.image.layer.psd_filterid")
 
 MAXON_ATTRIBUTE (Array< Char >, PSD_DATA, "net.maxon.image.layer.psd_data")
 
enum maxon::IMAGEHIERARCHY MAXON_ENUM_LIST (IMAGEHIERARCHY)
 
enum maxon::TRANSFORM_COLORS_FLAGS MAXON_ENUM_FLAGS (TRANSFORM_COLORS_FLAGS)
 
const Class< ImagePixelStorage > & GetNormalPixelStorageClass ()
 
 MAXON_REGISTRY (Class< ImageBaseRef >, ImageBaseClasses, "net.maxon.image.registry.imagebaseclasses")
 
 MAXON_REGISTRY (Class< ImageTextureRef >, ImageTextureClasses, "net.maxon.image.registry.imagetextureclasses")
 
 MAXON_REGISTRY (Class< ImageRef >, ImageClasses, "net.maxon.image.registry.imageclasses")
 
 MAXON_REGISTRY (Class< ImageLayerRef >, ImageLayerClasses, "net.maxon.image.registry.imagelayerclasses")
 
 MAXON_DECLARATION (ImageBaseClasses::EntryType, BASE, "net.maxon.image.imagebaseclass.base")
 
 MAXON_DECLARATION (ImageTextureClasses::EntryType, TEXTURE, "net.maxon.image.imagetextureclass.texture")
 
 MAXON_DECLARATION (ImageClasses::EntryType, IMAGE, "net.maxon.image.imageclass.image")
 
 MAXON_DECLARATION (ImageLayerClasses::EntryType, RASTER, "net.maxon.image.imagelayerclass.raster")
 
ImageRef GetImageOf (const ImageBaseRef &bmp)
 
ImageLayerRef GetFirstAlphaOf (const ImageBaseRef &bmp)
 
Result< void > ConvertImageSequence (const Url &sourceUrl, const Url &destPath, const String &destFilePatern, const Class< MediaOutputUrlRef > &exportClass, const ValueReceiver< const Url & > &resultFiles)
 
Result< void > CopyImageData (const ImageBaseRef &source, const ImageRef &dest, Bool allowDifferentSize)
 

Variables

 UNDEFINED
 
 TEXTURE
 
 IMAGE
 
 ALPHA
 
 LAYER
 
 LAYERMASK
 
 FOLDER
 
 ADJUSTMENT
 
 DEEPIMAGEDATA
 
 MASK
 
 MAX_ELEMENTS
 
 NONE
 
 INVERSE_DIRECTION
 

Variable Documentation

◆ UNDEFINED

UNDEFINED

◆ TEXTURE

TEXTURE

Root of everything. Must not be used with AddChildren.

◆ IMAGE

IMAGE

Adds a subImage to a texture. Images are only allowed under Textures.

◆ ALPHA

ALPHA

Adds an alpha to a image. Alphas are allowed to insert under images.

◆ LAYER

LAYER

Adds an image layer to a image. Layers are only allowed under Images or other layers.

◆ LAYERMASK

LAYERMASK

◆ FOLDER

FOLDER

◆ ADJUSTMENT

ADJUSTMENT

◆ DEEPIMAGEDATA

DEEPIMAGEDATA

Adds deep image data to an image. Allowed to insert under images.

◆ MASK

MASK

Adds a layer mask to a layer. Layer masks are allowed to insert under layers (layer mask).

◆ MAX_ELEMENTS

MAX_ELEMENTS

◆ NONE

NONE

No flags.

◆ INVERSE_DIRECTION

INVERSE_DIRECTION

Inverse direction.