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___pad
Field descriptor (offset) for struct member '_pad'.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__h1_loc
Field descriptor (offset) for struct member 'h1_loc'.static long[]
__DNA__FIELD__h2
Field descriptor (offset) for struct member 'h2'.static long[]
__DNA__FIELD__h2_loc
Field descriptor (offset) for struct member 'h2_loc'.static long[]
__DNA__FIELD__profile
Field descriptor (offset) for struct member 'profile'.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.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.short
getFlag()
Get method for struct member 'flag'.byte
getH1()
Get method for struct member 'h1'.CArrayFacade<java.lang.Float>
getH1_loc()
Get method for struct member 'h1_loc'.byte
getH2()
Get method for struct member 'h2'.CArrayFacade<java.lang.Float>
getH2_loc()
Get method for struct member 'h2_loc'.CPointer<CurveProfile>
getProfile()
Get method for struct member 'profile'.float
getX()
Get method for struct member 'x'.float
getY()
Get method for struct member 'y'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setH1(byte h1)
Set method for struct member 'h1'.void
setH1_loc(CArrayFacade<java.lang.Float> h1_loc)
Set method for struct member 'h1_loc'.void
setH2(byte h2)
Set method for struct member 'h2'.void
setH2_loc(CArrayFacade<java.lang.Float> h2_loc)
Set method for struct member 'h2_loc'.void
setProfile(CPointer<CurveProfile> profile)
Set method for struct member 'profile'.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 auto, vect, free, and aligned supported).
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
-
__DNA__FIELD__h1_loc
public static final long[] __DNA__FIELD__h1_loc
Field descriptor (offset) for struct member 'h1_loc'.Field Documentation
Blender Source Code
Handle locations, keep together.
Note
For now the two handle types are set to the same type in RNA.
For now the two handle types are set to the same type in RNA.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_loc); CPointer<CArrayFacade<Float>> p_h1_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'h1_loc'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__h2_loc
public static final long[] __DNA__FIELD__h2_loc
Field descriptor (offset) for struct member 'h2_loc'.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_loc); CPointer<CArrayFacade<Float>> p_h2_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'h2_loc'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.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___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__profile
public static final long[] __DNA__FIELD__profile
Field descriptor (offset) for struct member 'profile'.Field Documentation
Blender Source Code
Runtime pointer to the point's profile for updating the curve with no direct reference.
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__profile); CPointer<CPointer<CurveProfile>> p_profile = p.cast(new Class[]{CPointer.class, CurveProfile.class});
Metadata
- Field: 'profile'
- Signature: 'CurveProfile*'
- Actual Size (32bit/64bit): 4/8
-
-
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 auto, vect, free, and aligned supported).
- 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 auto, vect, free, and aligned supported).
- 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
-
getH1_loc
public CArrayFacade<java.lang.Float> getH1_loc() throws java.io.IOException
Get method for struct member 'h1_loc'.Field Documentation
Blender Source Code
Handle locations, keep together.
Note
For now the two handle types are set to the same type in RNA.
For now the two handle types are set to the same type in RNA.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h1_loc
-
setH1_loc
public void setH1_loc(CArrayFacade<java.lang.Float> h1_loc) throws java.io.IOException
Set method for struct member 'h1_loc'.Field Documentation
Blender Source Code
Handle locations, keep together.
Note
For now the two handle types are set to the same type in RNA.
For now the two handle types are set to the same type in RNA.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h1_loc
-
getH2_loc
public CArrayFacade<java.lang.Float> getH2_loc() throws java.io.IOException
Get method for struct member 'h2_loc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h2_loc
-
setH2_loc
public void setH2_loc(CArrayFacade<java.lang.Float> h2_loc) throws java.io.IOException
Set method for struct member 'h2_loc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h2_loc
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getProfile
public CPointer<CurveProfile> getProfile() throws java.io.IOException
Get method for struct member 'profile'.Field Documentation
Blender Source Code
Runtime pointer to the point's profile for updating the curve with no direct reference.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__profile
-
setProfile
public void setProfile(CPointer<CurveProfile> profile) throws java.io.IOException
Set method for struct member 'profile'.Field Documentation
Blender Source Code
Runtime pointer to the point's profile for updating the curve with no direct reference.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__profile
-
__io__addressof
public CPointer<CurveProfilePoint> __io__addressof()
Instantiates a pointer on this instance.
-
-