Open Search
    maxon::ImagePixelStorageClasses Namespace Reference

    Functions

     MAXON_DECLARATION (ImagePixelStorageClasses::EntryType, NoData, "net.maxon.image.imagepixelstorageclass.nodata")
     
     MAXON_DECLARATION (ImagePixelStorageClasses::EntryType, Normal, "net.maxon.image.imagepixelstorageclass.normal")
     
     MAXON_DECLARATION (ImagePixelStorageClasses::EntryType, Planes, "net.maxon.image.imagepixelstorageclass.planes")
     
     MAXON_DECLARATION (ImagePixelStorageClasses::EntryType, Voxel, "net.maxon.image.imagepixelstorageclass.voxel")
     
     MAXON_DECLARATION (ImagePixelStorageClasses::EntryType, DeepImage, "net.maxon.image.imagepixelstorageclass.deepimage")
     

    Function Documentation

    ◆ MAXON_DECLARATION() [1/5]

    maxon::ImagePixelStorageClasses::MAXON_DECLARATION ( ImagePixelStorageClasses::EntryType  ,
    NoData  ,
    "net.maxon.image.imagepixelstorageclass.nodata"   
    )

    ImagePixelStorageClasses::NoData stores no data at all. It's a placeholder for ImageLayers which have no data but calculate the layer data on the fly.

    ◆ MAXON_DECLARATION() [2/5]

    maxon::ImagePixelStorageClasses::MAXON_DECLARATION ( ImagePixelStorageClasses::EntryType  ,
    Normal  ,
    "net.maxon.image.imagepixelstorageclass.normal"   
    )

    ImagePixelStorageClasses::Normal stores the image data in a interleaved way. E.g. if you have an RGB pixel format all pixels are stored in that order: R1, G1, B1, R2, G2, B2 ... The memory for the storage of the image data is one chunk with the size is: height * pixelFormat.GetBpl().

    ◆ MAXON_DECLARATION() [3/5]

    maxon::ImagePixelStorageClasses::MAXON_DECLARATION ( ImagePixelStorageClasses::EntryType  ,
    Planes  ,
    "net.maxon.image.imagepixelstorageclass.planes"   
    )

    ImagePixelStorageClasses::Planes stores the image data channels in seperated planes. E.g. if you have an RGB pixel format all pixels are stored in that order: R1, R2, R3, R4 ... G1, G2, G3, G4 ... B1, B2, B3, B4 ... The memory for the storage of the image data is one chunk with the size is: height * pixelFormat.GetBpl().

    ◆ MAXON_DECLARATION() [4/5]

    maxon::ImagePixelStorageClasses::MAXON_DECLARATION ( ImagePixelStorageClasses::EntryType  ,
    Voxel  ,
    "net.maxon.image.imagepixelstorageclass.voxel"   
    )

    ImagePixelStorageClasses::Voxel stores the image data channels in voxels of 64x64 pixels. This means that memory is only allocated where pixels are set.

    ◆ MAXON_DECLARATION() [5/5]

    maxon::ImagePixelStorageClasses::MAXON_DECLARATION ( ImagePixelStorageClasses::EntryType  ,
    DeepImage  ,
    "net.maxon.image.imagepixelstorageclass.deepimage"   
    )

    ImagePixelStorageClasses::Voxel stores the image data channels in voxels of 64x64 pixels. This means that memory is only allocated where pixels are set.