Class MovieTrackingPlaneMarker


  • public class MovieTrackingPlaneMarker
    extends CFacade
    Generated facet for DNA struct type 'MovieTrackingPlaneMarker'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct MovieTrackingPlaneMarker.

        It is required when allocating a new block to store data for MovieTrackingPlaneMarker.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__corners

        public static final long[] __DNA__FIELD__corners
        Field descriptor (offset) for struct member 'corners'.

        Field Documentation

        Blender Python API

        Array of coordinates which represents UI rectangle corners in frame normalized coordinates

        Blender Source Code

        Corners of the plane in the following order:

         Y
          ^
          | (3) --- (2)
          |  |       |
          |  |       |
          |  |       |
          | (0) --- (1)
          +-------------> X
         
        Y ^ | (3) --- (2) | | | | | | | | | | (0) --- (1) +-------------> X The coordinates are stored in frame normalized coordinates.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MovieTrackingPlaneMarker movietrackingplanemarker = ...;
         CPointer<Object> p = movietrackingplanemarker.__dna__addressof(MovieTrackingPlaneMarker.__DNA__FIELD__corners);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_corners = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'corners'
        • Signature: 'float[4][2]'
        • Actual Size (32bit/64bit): 32/32
      • __DNA__FIELD__framenr

        public static final long[] __DNA__FIELD__framenr
        Field descriptor (offset) for struct member 'framenr'.

        Field Documentation

        Blender Source Code

        Number of frame plane marker is associated with.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MovieTrackingPlaneMarker movietrackingplanemarker = ...;
         CPointer<Object> p = movietrackingplanemarker.__dna__addressof(MovieTrackingPlaneMarker.__DNA__FIELD__framenr);
         CPointer<Integer> p_framenr = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'framenr'
        • Signature: 'int'
        • 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

        Marker's flag (alive, ...).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MovieTrackingPlaneMarker movietrackingplanemarker = ...;
         CPointer<Object> p = movietrackingplanemarker.__dna__addressof(MovieTrackingPlaneMarker.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • MovieTrackingPlaneMarker

        public MovieTrackingPlaneMarker​(long __address,
                                        Block __block,
                                        BlockTable __blockTable)
    • Method Detail

      • getCorners

        public CArrayFacade<CArrayFacade<java.lang.Float>> getCorners()
                                                               throws java.io.IOException
        Get method for struct member 'corners'.

        Field Documentation

        Blender Python API

        Array of coordinates which represents UI rectangle corners in frame normalized coordinates

        Blender Source Code

        Corners of the plane in the following order:

         Y
          ^
          | (3) --- (2)
          |  |       |
          |  |       |
          |  |       |
          | (0) --- (1)
          +-------------> X
         
        Y ^ | (3) --- (2) | | | | | | | | | | (0) --- (1) +-------------> X The coordinates are stored in frame normalized coordinates.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__corners
      • setCorners

        public void setCorners​(CArrayFacade<CArrayFacade<java.lang.Float>> corners)
                        throws java.io.IOException
        Set method for struct member 'corners'.

        Field Documentation

        Blender Python API

        Array of coordinates which represents UI rectangle corners in frame normalized coordinates

        Blender Source Code

        Corners of the plane in the following order:

         Y
          ^
          | (3) --- (2)
          |  |       |
          |  |       |
          |  |       |
          | (0) --- (1)
          +-------------> X
         
        Y ^ | (3) --- (2) | | | | | | | | | | (0) --- (1) +-------------> X The coordinates are stored in frame normalized coordinates.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__corners
      • getFramenr

        public int getFramenr()
                       throws java.io.IOException
        Get method for struct member 'framenr'.

        Field Documentation

        Blender Source Code

        Number of frame plane marker is associated with.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__framenr
      • setFramenr

        public void setFramenr​(int framenr)
                        throws java.io.IOException
        Set method for struct member 'framenr'.

        Field Documentation

        Blender Source Code

        Number of frame plane marker is associated with.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__framenr
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Marker's flag (alive, ...).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Marker's flag (alive, ...).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag