Class CurveProfilePoint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CurveProfilePoint
-
public class CurveProfilePoint extends CFacade
Generated facet for DNA struct type 'CurveProfilePoint'.Class Documentation
Blender Source Code
Each control point that makes up the profile.
Note
The flags use the same enum as Bezier curves, but they aren't guaranteed to have identical functionality, and all types aren't implemented.
The flags use the same enum as Bezier curves, but they aren't guaranteed to have identical functionality, and all types aren't implemented.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__h1
Field descriptor (offset) for struct member 'h1'.static long[]
__DNA__FIELD__h2
Field descriptor (offset) for struct member 'h2'.static long[]
__DNA__FIELD__x
Field descriptor (offset) for struct member 'x'.static long[]
__DNA__FIELD__y
Field descriptor (offset) for struct member 'y'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CurveProfilePoint.-
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 CurveProfilePoint(long __address, Block __block, BlockTable __blockTable)
protected
CurveProfilePoint(CurveProfilePoint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<CurveProfilePoint>
__io__addressof()
Instantiates a pointer on this instance.short
getFlag()
Get method for struct member 'flag'.byte
getH1()
Get method for struct member 'h1'.byte
getH2()
Get method for struct member 'h2'.float
getX()
Get method for struct member 'x'.float
getY()
Get method for struct member 'y'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setH1(byte h1)
Set method for struct member 'h1'.void
setH2(byte h2)
Set method for struct member 'h2'.void
setX(float x)
Set method for struct member 'x'.void
setY(float y)
Set method for struct member 'y'.-
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 CurveProfilePoint.It is required when allocating a new block to store data for CurveProfilePoint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__x
public static final long[] __DNA__FIELD__x
Field descriptor (offset) for struct member 'x'.Field Documentation
Blender Source Code
Location of the point, keep together.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__x); CPointer<Float> p_x = p.cast(new Class[]{Float.class});
Metadata
- Field: 'x'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__y
public static final long[] __DNA__FIELD__y
Field descriptor (offset) for struct member 'y'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__y); CPointer<Float> p_y = p.cast(new Class[]{Float.class});
Metadata
- Field: 'y'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Flag selection state and others.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__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__h1
public static final long[] __DNA__FIELD__h1
Field descriptor (offset) for struct member 'h1'.Field Documentation
Blender Source Code
Flags for both handle's type (eBezTriple_Handle).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__h1); CPointer<Byte> p_h1 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'h1'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__h2
public static final long[] __DNA__FIELD__h2
Field descriptor (offset) for struct member 'h2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__h2); CPointer<Byte> p_h2 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'h2'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
-
Constructor Detail
-
CurveProfilePoint
public CurveProfilePoint(long __address, Block __block, BlockTable __blockTable)
-
CurveProfilePoint
protected CurveProfilePoint(CurveProfilePoint that)
-
-
Method Detail
-
getX
public float getX() throws java.io.IOException
Get method for struct member 'x'.Field Documentation
Blender Source Code
Location of the point, keep together.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__x
-
setX
public void setX(float x) throws java.io.IOException
Set method for struct member 'x'.Field Documentation
Blender Source Code
Location of the point, keep together.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__x
-
getY
public float getY() throws java.io.IOException
Get method for struct member 'y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__y
-
setY
public void setY(float y) throws java.io.IOException
Set method for struct member 'y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__y
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Flag selection state and others.
- 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'.Field Documentation
Blender Source Code
Flag selection state and others.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getH1
public byte getH1() throws java.io.IOException
Get method for struct member 'h1'.Field Documentation
Blender Source Code
Flags for both handle's type (eBezTriple_Handle).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h1
-
setH1
public void setH1(byte h1) throws java.io.IOException
Set method for struct member 'h1'.Field Documentation
Blender Source Code
Flags for both handle's type (eBezTriple_Handle).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h1
-
getH2
public byte getH2() throws java.io.IOException
Get method for struct member 'h2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h2
-
setH2
public void setH2(byte h2) throws java.io.IOException
Set method for struct member 'h2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h2
-
__io__addressof
public CPointer<CurveProfilePoint> __io__addressof()
Instantiates a pointer on this instance.
-
-