org.ogre4j
Interface IPixelBox

All Superinterfaces:
IBox, INativeObject
All Known Implementing Classes:
PixelBox

public interface IPixelBox
extends INativeObject, IBox


Method Summary
 int getConsecutiveSize()
          Return the size (in bytes) this image would take if it was laid out consecutive in memory
 VoidPointer getdata()
           
 PixelFormat getformat()
           
 int getrowPitch()
           
 int getRowSkip()
          Get the number of elements between one past the rightmost pixel of one row and the leftmost pixel of the next row.
 int getslicePitch()
           
 int getSliceSkip()
          Get the number of elements between one past the right bottom pixel of one slice and the left top pixel of the next slice.
 void getSubVolume(IPixelBox returnValue, IBox def)
          Return a subvolume of this .
 boolean isConsecutive()
          Return whether this buffer is laid out consecutive in memory (ie the pitches are equal to the dimensions)
 void setConsecutive()
          Set the rowPitch and slicePitch so that the buffer is laid out consecutive in memory.
 void setdata(VoidPointer _jni_value_)
           
 void setformat(PixelFormat _jni_value_)
           
 void setrowPitch(int _jni_value_)
           
 void setslicePitch(int _jni_value_)
           
 
Methods inherited from interface org.ogre4j.IBox
contains, getback, getbottom, getDepth, getfront, getHeight, getleft, getright, gettop, getWidth, setback, setbottom, setfront, setleft, setright, settop
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setConsecutive

void setConsecutive()
Set the rowPitch and slicePitch so that the buffer is laid out consecutive in memory.


getRowSkip

int getRowSkip()
Get the number of elements between one past the rightmost pixel of one row and the leftmost pixel of the next row. (IE this is zero if rows are consecutive).


getSliceSkip

int getSliceSkip()
Get the number of elements between one past the right bottom pixel of one slice and the left top pixel of the next slice. (IE this is zero if slices are consecutive).


isConsecutive

boolean isConsecutive()
Return whether this buffer is laid out consecutive in memory (ie the pitches are equal to the dimensions)


getConsecutiveSize

int getConsecutiveSize()
Return the size (in bytes) this image would take if it was laid out consecutive in memory


getSubVolume

void getSubVolume(IPixelBox returnValue,
                  IBox def)
Return a subvolume of this .


getdata

VoidPointer getdata()

setdata

void setdata(VoidPointer _jni_value_)

getformat

PixelFormat getformat()

setformat

void setformat(PixelFormat _jni_value_)

getrowPitch

int getrowPitch()

setrowPitch

void setrowPitch(int _jni_value_)

getslicePitch

int getslicePitch()

setslicePitch

void setslicePitch(int _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.