Class Histogram
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Histogram
-
public class Histogram extends CFacade
Generated facet for DNA struct type 'Histogram'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__channels
Field descriptor (offset) for struct member 'channels'.static long[]
__DNA__FIELD__co
Field descriptor (offset) for struct member 'co'.static long[]
__DNA__FIELD__data_a
Field descriptor (offset) for struct member 'data_a'.static long[]
__DNA__FIELD__data_b
Field descriptor (offset) for struct member 'data_b'.static long[]
__DNA__FIELD__data_g
Field descriptor (offset) for struct member 'data_g'.static long[]
__DNA__FIELD__data_luma
Field descriptor (offset) for struct member 'data_luma'.static long[]
__DNA__FIELD__data_r
Field descriptor (offset) for struct member 'data_r'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__height
Field descriptor (offset) for struct member 'height'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__x_resolution
Field descriptor (offset) for struct member 'x_resolution'.static long[]
__DNA__FIELD__xmax
Field descriptor (offset) for struct member 'xmax'.static long[]
__DNA__FIELD__ymax
Field descriptor (offset) for struct member 'ymax'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Histogram.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Histogram(long __address, Block __block, BlockTable __blockTable)
protected
Histogram(Histogram that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Histogram>
__io__addressof()
Instantiates a pointer on this instance.int
getChannels()
Get method for struct member 'channels'.CArrayFacade<CArrayFacade<java.lang.Float>>
getCo()
Get method for struct member 'co'.CArrayFacade<java.lang.Float>
getData_a()
Get method for struct member 'data_a'.CArrayFacade<java.lang.Float>
getData_b()
Get method for struct member 'data_b'.CArrayFacade<java.lang.Float>
getData_g()
Get method for struct member 'data_g'.CArrayFacade<java.lang.Float>
getData_luma()
Get method for struct member 'data_luma'.CArrayFacade<java.lang.Float>
getData_r()
Get method for struct member 'data_r'.short
getFlag()
Get method for struct member 'flag'.int
getHeight()
Get method for struct member 'height'.short
getMode()
Get method for struct member 'mode'.int
getX_resolution()
Get method for struct member 'x_resolution'.float
getXmax()
Get method for struct member 'xmax'.float
getYmax()
Get method for struct member 'ymax'.void
setChannels(int channels)
Set method for struct member 'channels'.void
setCo(CArrayFacade<CArrayFacade<java.lang.Float>> co)
Set method for struct member 'co'.void
setData_a(CArrayFacade<java.lang.Float> data_a)
Set method for struct member 'data_a'.void
setData_b(CArrayFacade<java.lang.Float> data_b)
Set method for struct member 'data_b'.void
setData_g(CArrayFacade<java.lang.Float> data_g)
Set method for struct member 'data_g'.void
setData_luma(CArrayFacade<java.lang.Float> data_luma)
Set method for struct member 'data_luma'.void
setData_r(CArrayFacade<java.lang.Float> data_r)
Set method for struct member 'data_r'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setHeight(int height)
Set method for struct member 'height'.void
setMode(short mode)
Set method for struct member 'mode'.void
setX_resolution(int x_resolution)
Set method for struct member 'x_resolution'.void
setXmax(float xmax)
Set method for struct member 'xmax'.void
setYmax(float ymax)
Set method for struct member 'ymax'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct Histogram.It is required when allocating a new block to store data for Histogram.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__channels
public static final long[] __DNA__FIELD__channels
Field descriptor (offset) for struct member 'channels'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__channels); CPointer<Integer> p_channels = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'channels'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__x_resolution
public static final long[] __DNA__FIELD__x_resolution
Field descriptor (offset) for struct member 'x_resolution'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__x_resolution); CPointer<Integer> p_x_resolution = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'x_resolution'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__data_luma
public static final long[] __DNA__FIELD__data_luma
Field descriptor (offset) for struct member 'data_luma'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__data_luma); CPointer<CArrayFacade<Float>> p_data_luma = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'data_luma'
- Signature: 'float[256]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__data_r
public static final long[] __DNA__FIELD__data_r
Field descriptor (offset) for struct member 'data_r'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__data_r); CPointer<CArrayFacade<Float>> p_data_r = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'data_r'
- Signature: 'float[256]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__data_g
public static final long[] __DNA__FIELD__data_g
Field descriptor (offset) for struct member 'data_g'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__data_g); CPointer<CArrayFacade<Float>> p_data_g = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'data_g'
- Signature: 'float[256]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__data_b
public static final long[] __DNA__FIELD__data_b
Field descriptor (offset) for struct member 'data_b'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__data_b); CPointer<CArrayFacade<Float>> p_data_b = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'data_b'
- Signature: 'float[256]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__data_a
public static final long[] __DNA__FIELD__data_a
Field descriptor (offset) for struct member 'data_a'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__data_a); CPointer<CArrayFacade<Float>> p_data_a = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'data_a'
- Signature: 'float[256]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__xmax
public static final long[] __DNA__FIELD__xmax
Field descriptor (offset) for struct member 'xmax'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__xmax); CPointer<Float> p_xmax = p.cast(new Class[]{Float.class});
Metadata
- Field: 'xmax'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__ymax
public static final long[] __DNA__FIELD__ymax
Field descriptor (offset) for struct member 'ymax'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__ymax); CPointer<Float> p_ymax = p.cast(new Class[]{Float.class});
Metadata
- Field: 'ymax'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Field Documentation
Blender Python API
Channels to display when drawing the histogramPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__mode); CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
Metadata
- Field: 'mode'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__height
public static final long[] __DNA__FIELD__height
Field descriptor (offset) for struct member 'height'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__height); CPointer<Integer> p_height = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'height'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__co
public static final long[] __DNA__FIELD__co
Field descriptor (offset) for struct member 'co'.Field Documentation
Blender Source Code
sample line only image coords src -> dst
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Histogram histogram = ...; CPointer<Object> p = histogram.__dna__addressof(Histogram.__DNA__FIELD__co); CPointer<CArrayFacade<CArrayFacade<Float>>> p_co = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'co'
- Signature: 'float[2][2]'
- Actual Size (32bit/64bit): 16/16
-
-
Constructor Detail
-
Histogram
public Histogram(long __address, Block __block, BlockTable __blockTable)
-
Histogram
protected Histogram(Histogram that)
-
-
Method Detail
-
getChannels
public int getChannels() throws java.io.IOException
Get method for struct member 'channels'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__channels
-
setChannels
public void setChannels(int channels) throws java.io.IOException
Set method for struct member 'channels'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__channels
-
getX_resolution
public int getX_resolution() throws java.io.IOException
Get method for struct member 'x_resolution'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__x_resolution
-
setX_resolution
public void setX_resolution(int x_resolution) throws java.io.IOException
Set method for struct member 'x_resolution'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__x_resolution
-
getData_luma
public CArrayFacade<java.lang.Float> getData_luma() throws java.io.IOException
Get method for struct member 'data_luma'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_luma
-
setData_luma
public void setData_luma(CArrayFacade<java.lang.Float> data_luma) throws java.io.IOException
Set method for struct member 'data_luma'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_luma
-
getData_r
public CArrayFacade<java.lang.Float> getData_r() throws java.io.IOException
Get method for struct member 'data_r'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_r
-
setData_r
public void setData_r(CArrayFacade<java.lang.Float> data_r) throws java.io.IOException
Set method for struct member 'data_r'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_r
-
getData_g
public CArrayFacade<java.lang.Float> getData_g() throws java.io.IOException
Get method for struct member 'data_g'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_g
-
setData_g
public void setData_g(CArrayFacade<java.lang.Float> data_g) throws java.io.IOException
Set method for struct member 'data_g'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_g
-
getData_b
public CArrayFacade<java.lang.Float> getData_b() throws java.io.IOException
Get method for struct member 'data_b'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_b
-
setData_b
public void setData_b(CArrayFacade<java.lang.Float> data_b) throws java.io.IOException
Set method for struct member 'data_b'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_b
-
getData_a
public CArrayFacade<java.lang.Float> getData_a() throws java.io.IOException
Get method for struct member 'data_a'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_a
-
setData_a
public void setData_a(CArrayFacade<java.lang.Float> data_a) throws java.io.IOException
Set method for struct member 'data_a'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data_a
-
getXmax
public float getXmax() throws java.io.IOException
Get method for struct member 'xmax'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__xmax
-
setXmax
public void setXmax(float xmax) throws java.io.IOException
Set method for struct member 'xmax'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__xmax
-
getYmax
public float getYmax() throws java.io.IOException
Get method for struct member 'ymax'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ymax
-
setYmax
public void setYmax(float ymax) throws java.io.IOException
Set method for struct member 'ymax'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ymax
-
getMode
public short getMode() throws java.io.IOException
Get method for struct member 'mode'.Field Documentation
Blender Python API
Channels to display when drawing the histogram- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(short mode) throws java.io.IOException
Set method for struct member 'mode'.Field Documentation
Blender Python API
Channels to display when drawing the histogram- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getHeight
public int getHeight() throws java.io.IOException
Get method for struct member 'height'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__height
-
setHeight
public void setHeight(int height) throws java.io.IOException
Set method for struct member 'height'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__height
-
getCo
public CArrayFacade<CArrayFacade<java.lang.Float>> getCo() throws java.io.IOException
Get method for struct member 'co'.Field Documentation
Blender Source Code
sample line only image coords src -> dst
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__co
-
setCo
public void setCo(CArrayFacade<CArrayFacade<java.lang.Float>> co) throws java.io.IOException
Set method for struct member 'co'.Field Documentation
Blender Source Code
sample line only image coords src -> dst
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__co
-
-