public class ImageFormatData extends CFacade
NodeImageFile
and IMAGE_OT_save_as operator too.note: its a bit strange that even though this is an image format struct the imtype can still be used to select video formats. RNA ensures these enum's are only selectable for render output.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__cineon_black
Field descriptor (offset) for struct member 'cineon_black'.
|
static long[] |
__DNA__FIELD__cineon_flag
Field descriptor (offset) for struct member 'cineon_flag'.
|
static long[] |
__DNA__FIELD__cineon_gamma
Field descriptor (offset) for struct member 'cineon_gamma'.
|
static long[] |
__DNA__FIELD__cineon_white
Field descriptor (offset) for struct member 'cineon_white'.
|
static long[] |
__DNA__FIELD__compress
Field descriptor (offset) for struct member 'compress'.
|
static long[] |
__DNA__FIELD__depth
Field descriptor (offset) for struct member 'depth'.
|
static long[] |
__DNA__FIELD__display_settings
Field descriptor (offset) for struct member 'display_settings'.
|
static long[] |
__DNA__FIELD__exr_codec
Field descriptor (offset) for struct member 'exr_codec'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__imtype
Field descriptor (offset) for struct member 'imtype'.
|
static long[] |
__DNA__FIELD__jp2_codec
Field descriptor (offset) for struct member 'jp2_codec'.
|
static long[] |
__DNA__FIELD__jp2_flag
Field descriptor (offset) for struct member 'jp2_flag'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__planes
Field descriptor (offset) for struct member 'planes'.
|
static long[] |
__DNA__FIELD__quality
Field descriptor (offset) for struct member 'quality'.
|
static long[] |
__DNA__FIELD__stereo3d_format
Field descriptor (offset) for struct member 'stereo3d_format'.
|
static long[] |
__DNA__FIELD__tiff_codec
Field descriptor (offset) for struct member 'tiff_codec'.
|
static long[] |
__DNA__FIELD__view_settings
Field descriptor (offset) for struct member 'view_settings'.
|
static long[] |
__DNA__FIELD__views_format
Field descriptor (offset) for struct member 'views_format'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ImageFormatData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ImageFormatData(ImageFormatData that) |
|
ImageFormatData(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ImageFormatData> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getCineon_black()
Get method for struct member 'cineon_black'.
|
byte |
getCineon_flag()
Get method for struct member 'cineon_flag'.
|
float |
getCineon_gamma()
Get method for struct member 'cineon_gamma'.
|
short |
getCineon_white()
Get method for struct member 'cineon_white'.
|
byte |
getCompress()
Get method for struct member 'compress'.
|
byte |
getDepth()
Get method for struct member 'depth'.
|
ColorManagedDisplaySettings |
getDisplay_settings()
Get method for struct member 'display_settings'.
|
byte |
getExr_codec()
Get method for struct member 'exr_codec'.
|
byte |
getFlag()
Get method for struct member 'flag'.
|
byte |
getImtype()
Get method for struct member 'imtype'.
|
byte |
getJp2_codec()
Get method for struct member 'jp2_codec'.
|
byte |
getJp2_flag()
Get method for struct member 'jp2_flag'.
|
CArrayFacade<java.lang.Byte> |
getPad()
Get method for struct member 'pad'.
|
byte |
getPlanes()
Get method for struct member 'planes'.
|
byte |
getQuality()
Get method for struct member 'quality'.
|
Stereo3dFormat |
getStereo3d_format()
Get method for struct member 'stereo3d_format'.
|
byte |
getTiff_codec()
Get method for struct member 'tiff_codec'.
|
ColorManagedViewSettings |
getView_settings()
Get method for struct member 'view_settings'.
|
byte |
getViews_format()
Get method for struct member 'views_format'.
|
void |
setCineon_black(short cineon_black)
Set method for struct member 'cineon_black'.
|
void |
setCineon_flag(byte cineon_flag)
Set method for struct member 'cineon_flag'.
|
void |
setCineon_gamma(float cineon_gamma)
Set method for struct member 'cineon_gamma'.
|
void |
setCineon_white(short cineon_white)
Set method for struct member 'cineon_white'.
|
void |
setCompress(byte compress)
Set method for struct member 'compress'.
|
void |
setDepth(byte depth)
Set method for struct member 'depth'.
|
void |
setDisplay_settings(ColorManagedDisplaySettings display_settings)
Set method for struct member 'display_settings'.
|
void |
setExr_codec(byte exr_codec)
Set method for struct member 'exr_codec'.
|
void |
setFlag(byte flag)
Set method for struct member 'flag'.
|
void |
setImtype(byte imtype)
Set method for struct member 'imtype'.
|
void |
setJp2_codec(byte jp2_codec)
Set method for struct member 'jp2_codec'.
|
void |
setJp2_flag(byte jp2_flag)
Set method for struct member 'jp2_flag'.
|
void |
setPad(CArrayFacade<java.lang.Byte> pad)
Set method for struct member 'pad'.
|
void |
setPlanes(byte planes)
Set method for struct member 'planes'.
|
void |
setQuality(byte quality)
Set method for struct member 'quality'.
|
void |
setStereo3d_format(Stereo3dFormat stereo3d_format)
Set method for struct member 'stereo3d_format'.
|
void |
setTiff_codec(byte tiff_codec)
Set method for struct member 'tiff_codec'.
|
void |
setView_settings(ColorManagedViewSettings view_settings)
Set method for struct member 'view_settings'.
|
void |
setViews_format(byte views_format)
Set method for struct member 'views_format'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for ImageFormatData.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__imtype
R_IMF_IMTYPE_PNG, R_...
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__imtype); CPointer<Byte> p_imtype = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__depth
note, video types should only ever be set from this structure when used from RenderData
bits per channel, R_IMF_CHAN_DEPTH_8 -> 32, not a flag, only set 1 at a time
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__depth); CPointer<Byte> p_depth = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__planes
R_IMF_PLANES_BW, R_IMF_PLANES_RGB, R_IMF_PLANES_RGBA
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__planes); CPointer<Byte> p_planes = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__flag
generic options for all image types, alpha zbuffer
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__quality
(0 - 100), eg: jpeg quality
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__quality); CPointer<Byte> p_quality = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__compress
(0 - 100), eg: png compression
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__compress); CPointer<Byte> p_compress = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__exr_codec
-- format specific -- OpenEXR
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__exr_codec); CPointer<Byte> p_exr_codec = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__cineon_flag
Cineon
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__cineon_flag); CPointer<Byte> p_cineon_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__cineon_white
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__cineon_white); CPointer<Short> p_cineon_white = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__cineon_black
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__cineon_black); CPointer<Short> p_cineon_black = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__cineon_gamma
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__cineon_gamma); CPointer<Float> p_cineon_gamma = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__jp2_flag
Jpeg2000
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__jp2_flag); CPointer<Byte> p_jp2_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__jp2_codec
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__jp2_codec); CPointer<Byte> p_jp2_codec = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__tiff_codec
TIFF
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__tiff_codec); CPointer<Byte> p_tiff_codec = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__pad); CPointer<CArrayFacade<Byte>> p_pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__views_format
Multiview
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__views_format); CPointer<Byte> p_views_format = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__stereo3d_format
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__stereo3d_format); CPointer<Stereo3dFormat> p_stereo3d_format = p.cast(new Class[]{Stereo3dFormat.class});
public static final long[] __DNA__FIELD__view_settings
color management
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__view_settings); CPointer<ColorManagedViewSettings> p_view_settings = p.cast(new Class[]{ColorManagedViewSettings.class});
public static final long[] __DNA__FIELD__display_settings
This is how you get a reference on the corresponding field in the struct:
ImageFormatData imageformatdata = ...; CPointer<Object> p = imageformatdata.__dna__addressof(ImageFormatData.__DNA__FIELD__display_settings); CPointer<ColorManagedDisplaySettings> p_display_settings = p.cast(new Class[]{ColorManagedDisplaySettings.class});
public ImageFormatData(long __address, Block __block, BlockTable __blockTable)
protected ImageFormatData(ImageFormatData that)
public byte getImtype() throws java.io.IOException
R_IMF_IMTYPE_PNG, R_...
java.io.IOException
__DNA__FIELD__imtype
public void setImtype(byte imtype) throws java.io.IOException
R_IMF_IMTYPE_PNG, R_...
java.io.IOException
__DNA__FIELD__imtype
public byte getDepth() throws java.io.IOException
note, video types should only ever be set from this structure when used from RenderData
bits per channel, R_IMF_CHAN_DEPTH_8 -> 32, not a flag, only set 1 at a time
java.io.IOException
__DNA__FIELD__depth
public void setDepth(byte depth) throws java.io.IOException
note, video types should only ever be set from this structure when used from RenderData
bits per channel, R_IMF_CHAN_DEPTH_8 -> 32, not a flag, only set 1 at a time
java.io.IOException
__DNA__FIELD__depth
public byte getPlanes() throws java.io.IOException
R_IMF_PLANES_BW, R_IMF_PLANES_RGB, R_IMF_PLANES_RGBA
java.io.IOException
__DNA__FIELD__planes
public void setPlanes(byte planes) throws java.io.IOException
R_IMF_PLANES_BW, R_IMF_PLANES_RGB, R_IMF_PLANES_RGBA
java.io.IOException
__DNA__FIELD__planes
public byte getFlag() throws java.io.IOException
generic options for all image types, alpha zbuffer
java.io.IOException
__DNA__FIELD__flag
public void setFlag(byte flag) throws java.io.IOException
generic options for all image types, alpha zbuffer
java.io.IOException
__DNA__FIELD__flag
public byte getQuality() throws java.io.IOException
(0 - 100), eg: jpeg quality
java.io.IOException
__DNA__FIELD__quality
public void setQuality(byte quality) throws java.io.IOException
(0 - 100), eg: jpeg quality
java.io.IOException
__DNA__FIELD__quality
public byte getCompress() throws java.io.IOException
(0 - 100), eg: png compression
java.io.IOException
__DNA__FIELD__compress
public void setCompress(byte compress) throws java.io.IOException
(0 - 100), eg: png compression
java.io.IOException
__DNA__FIELD__compress
public byte getExr_codec() throws java.io.IOException
-- format specific -- OpenEXR
java.io.IOException
__DNA__FIELD__exr_codec
public void setExr_codec(byte exr_codec) throws java.io.IOException
-- format specific -- OpenEXR
java.io.IOException
__DNA__FIELD__exr_codec
public byte getCineon_flag() throws java.io.IOException
Cineon
java.io.IOException
__DNA__FIELD__cineon_flag
public void setCineon_flag(byte cineon_flag) throws java.io.IOException
Cineon
java.io.IOException
__DNA__FIELD__cineon_flag
public short getCineon_white() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cineon_white
public void setCineon_white(short cineon_white) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cineon_white
public short getCineon_black() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cineon_black
public void setCineon_black(short cineon_black) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cineon_black
public float getCineon_gamma() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cineon_gamma
public void setCineon_gamma(float cineon_gamma) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cineon_gamma
public byte getJp2_flag() throws java.io.IOException
Jpeg2000
java.io.IOException
__DNA__FIELD__jp2_flag
public void setJp2_flag(byte jp2_flag) throws java.io.IOException
Jpeg2000
java.io.IOException
__DNA__FIELD__jp2_flag
public byte getJp2_codec() throws java.io.IOException
java.io.IOException
__DNA__FIELD__jp2_codec
public void setJp2_codec(byte jp2_codec) throws java.io.IOException
java.io.IOException
__DNA__FIELD__jp2_codec
public byte getTiff_codec() throws java.io.IOException
TIFF
java.io.IOException
__DNA__FIELD__tiff_codec
public void setTiff_codec(byte tiff_codec) throws java.io.IOException
TIFF
java.io.IOException
__DNA__FIELD__tiff_codec
public CArrayFacade<java.lang.Byte> getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(CArrayFacade<java.lang.Byte> pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public byte getViews_format() throws java.io.IOException
Multiview
java.io.IOException
__DNA__FIELD__views_format
public void setViews_format(byte views_format) throws java.io.IOException
Multiview
java.io.IOException
__DNA__FIELD__views_format
public Stereo3dFormat getStereo3d_format() throws java.io.IOException
java.io.IOException
__DNA__FIELD__stereo3d_format
public void setStereo3d_format(Stereo3dFormat stereo3d_format) throws java.io.IOException
java.io.IOException
__DNA__FIELD__stereo3d_format
public ColorManagedViewSettings getView_settings() throws java.io.IOException
color management
java.io.IOException
__DNA__FIELD__view_settings
public void setView_settings(ColorManagedViewSettings view_settings) throws java.io.IOException
color management
java.io.IOException
__DNA__FIELD__view_settings
public ColorManagedDisplaySettings getDisplay_settings() throws java.io.IOException
java.io.IOException
__DNA__FIELD__display_settings
public void setDisplay_settings(ColorManagedDisplaySettings display_settings) throws java.io.IOException
java.io.IOException
__DNA__FIELD__display_settings
public CPointer<ImageFormatData> __io__addressof()