public class View2D extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__align
Field descriptor (offset) for struct member 'align'.
|
static long[] |
__DNA__FIELD__around
Field descriptor (offset) for struct member 'around'.
|
static long[] |
__DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__hor
Field descriptor (offset) for struct member 'hor'.
|
static long[] |
__DNA__FIELD__keepofs
Field descriptor (offset) for struct member 'keepofs'.
|
static long[] |
__DNA__FIELD__keeptot
Field descriptor (offset) for struct member 'keeptot'.
|
static long[] |
__DNA__FIELD__keepzoom
Field descriptor (offset) for struct member 'keepzoom'.
|
static long[] |
__DNA__FIELD__mask
Field descriptor (offset) for struct member 'mask'.
|
static long[] |
__DNA__FIELD__max
Field descriptor (offset) for struct member 'max'.
|
static long[] |
__DNA__FIELD__maxzoom
Field descriptor (offset) for struct member 'maxzoom'.
|
static long[] |
__DNA__FIELD__min
Field descriptor (offset) for struct member 'min'.
|
static long[] |
__DNA__FIELD__minzoom
Field descriptor (offset) for struct member 'minzoom'.
|
static long[] |
__DNA__FIELD__oldwinx
Field descriptor (offset) for struct member 'oldwinx'.
|
static long[] |
__DNA__FIELD__oldwiny
Field descriptor (offset) for struct member 'oldwiny'.
|
static long[] |
__DNA__FIELD__scroll
Field descriptor (offset) for struct member 'scroll'.
|
static long[] |
__DNA__FIELD__scroll_ui
Field descriptor (offset) for struct member 'scroll_ui'.
|
static long[] |
__DNA__FIELD__smooth_timer
Field descriptor (offset) for struct member 'smooth_timer'.
|
static long[] |
__DNA__FIELD__sms
Field descriptor (offset) for struct member 'sms'.
|
static long[] |
__DNA__FIELD__tab_cur
Field descriptor (offset) for struct member 'tab_cur'.
|
static long[] |
__DNA__FIELD__tab_num
Field descriptor (offset) for struct member 'tab_num'.
|
static long[] |
__DNA__FIELD__tab_offset
Field descriptor (offset) for struct member 'tab_offset'.
|
static long[] |
__DNA__FIELD__tot
Field descriptor (offset) for struct member 'tot'.
|
static long[] |
__DNA__FIELD__vert
Field descriptor (offset) for struct member 'vert'.
|
static long[] |
__DNA__FIELD__winx
Field descriptor (offset) for struct member 'winx'.
|
static long[] |
__DNA__FIELD__winy
Field descriptor (offset) for struct member 'winy'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct View2D.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
View2D(long __address,
Block __block,
BlockTable __blockTable) |
protected |
View2D(View2D that) |
Modifier and Type | Method and Description |
---|---|
CPointer<View2D> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getAlign()
Get method for struct member 'align'.
|
short |
getAround()
Get method for struct member 'around'.
|
rctf |
getCur()
Get method for struct member 'cur'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
rcti |
getHor()
Get method for struct member 'hor'.
|
short |
getKeepofs()
Get method for struct member 'keepofs'.
|
short |
getKeeptot()
Get method for struct member 'keeptot'.
|
short |
getKeepzoom()
Get method for struct member 'keepzoom'.
|
rcti |
getMask()
Get method for struct member 'mask'.
|
CArrayFacade<java.lang.Float> |
getMax()
Get method for struct member 'max'.
|
float |
getMaxzoom()
Get method for struct member 'maxzoom'.
|
CArrayFacade<java.lang.Float> |
getMin()
Get method for struct member 'min'.
|
float |
getMinzoom()
Get method for struct member 'minzoom'.
|
short |
getOldwinx()
Get method for struct member 'oldwinx'.
|
short |
getOldwiny()
Get method for struct member 'oldwiny'.
|
short |
getScroll_ui()
Get method for struct member 'scroll_ui'.
|
short |
getScroll()
Get method for struct member 'scroll'.
|
CPointer<java.lang.Object> |
getSmooth_timer()
Get method for struct member 'smooth_timer'.
|
CPointer<java.lang.Object> |
getSms()
Get method for struct member 'sms'.
|
int |
getTab_cur()
Get method for struct member 'tab_cur'.
|
int |
getTab_num()
Get method for struct member 'tab_num'.
|
CPointer<java.lang.Float> |
getTab_offset()
Get method for struct member 'tab_offset'.
|
rctf |
getTot()
Get method for struct member 'tot'.
|
rcti |
getVert()
Get method for struct member 'vert'.
|
short |
getWinx()
Get method for struct member 'winx'.
|
short |
getWiny()
Get method for struct member 'winy'.
|
void |
setAlign(short align)
Set method for struct member 'align'.
|
void |
setAround(short around)
Set method for struct member 'around'.
|
void |
setCur(rctf cur)
Set method for struct member 'cur'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setHor(rcti hor)
Set method for struct member 'hor'.
|
void |
setKeepofs(short keepofs)
Set method for struct member 'keepofs'.
|
void |
setKeeptot(short keeptot)
Set method for struct member 'keeptot'.
|
void |
setKeepzoom(short keepzoom)
Set method for struct member 'keepzoom'.
|
void |
setMask(rcti mask)
Set method for struct member 'mask'.
|
void |
setMax(CArrayFacade<java.lang.Float> max)
Set method for struct member 'max'.
|
void |
setMaxzoom(float maxzoom)
Set method for struct member 'maxzoom'.
|
void |
setMin(CArrayFacade<java.lang.Float> min)
Set method for struct member 'min'.
|
void |
setMinzoom(float minzoom)
Set method for struct member 'minzoom'.
|
void |
setOldwinx(short oldwinx)
Set method for struct member 'oldwinx'.
|
void |
setOldwiny(short oldwiny)
Set method for struct member 'oldwiny'.
|
void |
setScroll_ui(short scroll_ui)
Set method for struct member 'scroll_ui'.
|
void |
setScroll(short scroll)
Set method for struct member 'scroll'.
|
void |
setSmooth_timer(CPointer<java.lang.Object> smooth_timer)
Set method for struct member 'smooth_timer'.
|
void |
setSms(CPointer<java.lang.Object> sms)
Set method for struct member 'sms'.
|
void |
setTab_cur(int tab_cur)
Set method for struct member 'tab_cur'.
|
void |
setTab_num(int tab_num)
Set method for struct member 'tab_num'.
|
void |
setTab_offset(CPointer<java.lang.Float> tab_offset)
Set method for struct member 'tab_offset'.
|
void |
setTot(rctf tot)
Set method for struct member 'tot'.
|
void |
setVert(rcti vert)
Set method for struct member 'vert'.
|
void |
setWinx(short winx)
Set method for struct member 'winx'.
|
void |
setWiny(short winy)
Set method for struct member 'winy'.
|
__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 View2D.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__tot
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tot); CPointer<rctf> p_tot = p.cast(new Class[]{rctf.class});
public static final long[] __DNA__FIELD__cur
tot - area that data can be drawn in; cur - region of tot that is visible in viewport
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__cur); CPointer<rctf> p_cur = p.cast(new Class[]{rctf.class});
public static final long[] __DNA__FIELD__vert
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__vert); CPointer<rcti> p_vert = p.cast(new Class[]{rcti.class});
public static final long[] __DNA__FIELD__hor
vert - vertical scrollbar region; hor - horizontal scrollbar region
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__hor); CPointer<rcti> p_hor = p.cast(new Class[]{rcti.class});
public static final long[] __DNA__FIELD__mask
mask - region (in screenspace) within which 'cur' can be viewed
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__mask); CPointer<rcti> p_mask = p.cast(new Class[]{rcti.class});
public static final long[] __DNA__FIELD__min
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__min); CPointer<CArrayFacade<Float>> p_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__max
min/max sizes of 'cur' rect (only when keepzoom not set)
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__max); CPointer<CArrayFacade<Float>> p_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__minzoom
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__minzoom); CPointer<Float> p_minzoom = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__maxzoom
allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__maxzoom); CPointer<Float> p_maxzoom = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__scroll
scroll - scrollbars to display (bitflag)
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__scroll); CPointer<Short> p_scroll = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__scroll_ui
scroll_ui - temp settings used for UI drawing of scrollers
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__scroll_ui); CPointer<Short> p_scroll_ui = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__keeptot
keeptot - 'cur' rect cannot move outside the 'tot' rect?
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__keeptot); CPointer<Short> p_keeptot = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__keepzoom
keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__keepzoom); CPointer<Short> p_keepzoom = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__keepofs
keepofs - axes that translation is not allowed to occur on
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__keepofs); CPointer<Short> p_keepofs = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
settings
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__align
alignment of content in totrect
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__align); CPointer<Short> p_align = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__winx
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__winx); CPointer<Short> p_winx = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__winy
storage of current winx/winy values, set in UI_view2d_size_update
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__winy); CPointer<Short> p_winy = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__oldwinx
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__oldwinx); CPointer<Short> p_oldwinx = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__oldwiny
storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__oldwiny); CPointer<Short> p_oldwiny = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__around
pivot point for transforms (rotate and scale)
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__around); CPointer<Short> p_around = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tab_offset
different offset per tab, for buttons
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tab_offset); CPointer<CPointer<Float>> p_tab_offset = p.cast(new Class[]{CPointer.class, Float.class});
public static final long[] __DNA__FIELD__tab_num
number of tabs stored
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tab_num); CPointer<Integer> p_tab_num = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__tab_cur
current tab
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tab_cur); CPointer<Integer> p_tab_cur = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__sms
animated smooth view
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__sms); CPointer<CPointer<Object>> p_sms = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__smooth_timer
This is how you get a reference on the corresponding field in the struct:
View2D view2d = ...; CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__smooth_timer); CPointer<CPointer<Object>> p_smooth_timer = p.cast(new Class[]{CPointer.class, Object.class});
public View2D(long __address, Block __block, BlockTable __blockTable)
protected View2D(View2D that)
public rctf getTot() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot
public void setTot(rctf tot) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot
public rctf getCur() throws java.io.IOException
tot - area that data can be drawn in; cur - region of tot that is visible in viewport
java.io.IOException
__DNA__FIELD__cur
public void setCur(rctf cur) throws java.io.IOException
tot - area that data can be drawn in; cur - region of tot that is visible in viewport
java.io.IOException
__DNA__FIELD__cur
public rcti getVert() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vert
public void setVert(rcti vert) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vert
public rcti getHor() throws java.io.IOException
vert - vertical scrollbar region; hor - horizontal scrollbar region
java.io.IOException
__DNA__FIELD__hor
public void setHor(rcti hor) throws java.io.IOException
vert - vertical scrollbar region; hor - horizontal scrollbar region
java.io.IOException
__DNA__FIELD__hor
public rcti getMask() throws java.io.IOException
mask - region (in screenspace) within which 'cur' can be viewed
java.io.IOException
__DNA__FIELD__mask
public void setMask(rcti mask) throws java.io.IOException
mask - region (in screenspace) within which 'cur' can be viewed
java.io.IOException
__DNA__FIELD__mask
public CArrayFacade<java.lang.Float> getMin() throws java.io.IOException
java.io.IOException
__DNA__FIELD__min
public void setMin(CArrayFacade<java.lang.Float> min) throws java.io.IOException
java.io.IOException
__DNA__FIELD__min
public CArrayFacade<java.lang.Float> getMax() throws java.io.IOException
min/max sizes of 'cur' rect (only when keepzoom not set)
java.io.IOException
__DNA__FIELD__max
public void setMax(CArrayFacade<java.lang.Float> max) throws java.io.IOException
min/max sizes of 'cur' rect (only when keepzoom not set)
java.io.IOException
__DNA__FIELD__max
public float getMinzoom() throws java.io.IOException
java.io.IOException
__DNA__FIELD__minzoom
public void setMinzoom(float minzoom) throws java.io.IOException
java.io.IOException
__DNA__FIELD__minzoom
public float getMaxzoom() throws java.io.IOException
allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set
java.io.IOException
__DNA__FIELD__maxzoom
public void setMaxzoom(float maxzoom) throws java.io.IOException
allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set
java.io.IOException
__DNA__FIELD__maxzoom
public short getScroll() throws java.io.IOException
scroll - scrollbars to display (bitflag)
java.io.IOException
__DNA__FIELD__scroll
public void setScroll(short scroll) throws java.io.IOException
scroll - scrollbars to display (bitflag)
java.io.IOException
__DNA__FIELD__scroll
public short getScroll_ui() throws java.io.IOException
scroll_ui - temp settings used for UI drawing of scrollers
java.io.IOException
__DNA__FIELD__scroll_ui
public void setScroll_ui(short scroll_ui) throws java.io.IOException
scroll_ui - temp settings used for UI drawing of scrollers
java.io.IOException
__DNA__FIELD__scroll_ui
public short getKeeptot() throws java.io.IOException
keeptot - 'cur' rect cannot move outside the 'tot' rect?
java.io.IOException
__DNA__FIELD__keeptot
public void setKeeptot(short keeptot) throws java.io.IOException
keeptot - 'cur' rect cannot move outside the 'tot' rect?
java.io.IOException
__DNA__FIELD__keeptot
public short getKeepzoom() throws java.io.IOException
keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits
java.io.IOException
__DNA__FIELD__keepzoom
public void setKeepzoom(short keepzoom) throws java.io.IOException
keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits
java.io.IOException
__DNA__FIELD__keepzoom
public short getKeepofs() throws java.io.IOException
keepofs - axes that translation is not allowed to occur on
java.io.IOException
__DNA__FIELD__keepofs
public void setKeepofs(short keepofs) throws java.io.IOException
keepofs - axes that translation is not allowed to occur on
java.io.IOException
__DNA__FIELD__keepofs
public short getFlag() throws java.io.IOException
settings
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
settings
java.io.IOException
__DNA__FIELD__flag
public short getAlign() throws java.io.IOException
alignment of content in totrect
java.io.IOException
__DNA__FIELD__align
public void setAlign(short align) throws java.io.IOException
alignment of content in totrect
java.io.IOException
__DNA__FIELD__align
public short getWinx() throws java.io.IOException
java.io.IOException
__DNA__FIELD__winx
public void setWinx(short winx) throws java.io.IOException
java.io.IOException
__DNA__FIELD__winx
public short getWiny() throws java.io.IOException
storage of current winx/winy values, set in UI_view2d_size_update
java.io.IOException
__DNA__FIELD__winy
public void setWiny(short winy) throws java.io.IOException
storage of current winx/winy values, set in UI_view2d_size_update
java.io.IOException
__DNA__FIELD__winy
public short getOldwinx() throws java.io.IOException
java.io.IOException
__DNA__FIELD__oldwinx
public void setOldwinx(short oldwinx) throws java.io.IOException
java.io.IOException
__DNA__FIELD__oldwinx
public short getOldwiny() throws java.io.IOException
storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect
java.io.IOException
__DNA__FIELD__oldwiny
public void setOldwiny(short oldwiny) throws java.io.IOException
storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect
java.io.IOException
__DNA__FIELD__oldwiny
public short getAround() throws java.io.IOException
pivot point for transforms (rotate and scale)
java.io.IOException
__DNA__FIELD__around
public void setAround(short around) throws java.io.IOException
pivot point for transforms (rotate and scale)
java.io.IOException
__DNA__FIELD__around
public CPointer<java.lang.Float> getTab_offset() throws java.io.IOException
different offset per tab, for buttons
java.io.IOException
__DNA__FIELD__tab_offset
public void setTab_offset(CPointer<java.lang.Float> tab_offset) throws java.io.IOException
different offset per tab, for buttons
java.io.IOException
__DNA__FIELD__tab_offset
public int getTab_num() throws java.io.IOException
number of tabs stored
java.io.IOException
__DNA__FIELD__tab_num
public void setTab_num(int tab_num) throws java.io.IOException
number of tabs stored
java.io.IOException
__DNA__FIELD__tab_num
public int getTab_cur() throws java.io.IOException
current tab
java.io.IOException
__DNA__FIELD__tab_cur
public void setTab_cur(int tab_cur) throws java.io.IOException
current tab
java.io.IOException
__DNA__FIELD__tab_cur
public CPointer<java.lang.Object> getSms() throws java.io.IOException
animated smooth view
java.io.IOException
__DNA__FIELD__sms
public void setSms(CPointer<java.lang.Object> sms) throws java.io.IOException
animated smooth view
java.io.IOException
__DNA__FIELD__sms
public CPointer<java.lang.Object> getSmooth_timer() throws java.io.IOException
java.io.IOException
__DNA__FIELD__smooth_timer
public void setSmooth_timer(CPointer<java.lang.Object> smooth_timer) throws java.io.IOException
java.io.IOException
__DNA__FIELD__smooth_timer