Class MovieTrackingMarker


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        2d position of marker on frame (in unified 0..1 space).

        Pointer Arithmetics

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

         MovieTrackingMarker movietrackingmarker = ...;
         CPointer<Object> p = movietrackingmarker.__dna__addressof(MovieTrackingMarker.__DNA__FIELD__pos);
         CPointer<CArrayFacade<Float>> p_pos = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'pos'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__pattern_corners

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

        Field Documentation

        Blender Python API

        Array of coordinates which represents pattern's corners in normalized coordinates relative to marker position

        Blender Source Code

        corners of pattern in the following order:

         Y
          ^
          | (3) --- (2)
          |  |       |
          |  |       |
          |  |       |
          | (0) --- (1)
          +-------------> X
         
        Y ^ | (3) --- (2) | | | | | | | | | | (0) --- (1) +-------------> X the coordinates are stored relative to pos.

        Pointer Arithmetics

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

         MovieTrackingMarker movietrackingmarker = ...;
         CPointer<Object> p = movietrackingmarker.__dna__addressof(MovieTrackingMarker.__DNA__FIELD__pattern_corners);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_pattern_corners = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Left-bottom corner of search area in normalized coordinates relative to marker position

        Blender Source Code

        positions of left-bottom and right-top corners of search area (in unified 0..1 units, relative to marker->pos

        Pointer Arithmetics

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

         MovieTrackingMarker movietrackingmarker = ...;
         CPointer<Object> p = movietrackingmarker.__dna__addressof(MovieTrackingMarker.__DNA__FIELD__search_min);
         CPointer<CArrayFacade<Float>> p_search_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'search_min'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__search_max

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

        Field Documentation

        Blender Python API

        Right-bottom corner of search area in normalized coordinates relative to marker position

        Pointer Arithmetics

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

         MovieTrackingMarker movietrackingmarker = ...;
         CPointer<Object> p = movietrackingmarker.__dna__addressof(MovieTrackingMarker.__DNA__FIELD__search_max);
         CPointer<CArrayFacade<Float>> p_search_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'search_max'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __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 marker is associated with.

        Pointer Arithmetics

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

         MovieTrackingMarker movietrackingmarker = ...;
         CPointer<Object> p = movietrackingmarker.__dna__addressof(MovieTrackingMarker.__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:

         MovieTrackingMarker movietrackingmarker = ...;
         CPointer<Object> p = movietrackingmarker.__dna__addressof(MovieTrackingMarker.__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

      • MovieTrackingMarker

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

      • getPos

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

        Field Documentation

        Blender Source Code

        2d position of marker on frame (in unified 0..1 space).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pos
      • setPos

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

        Field Documentation

        Blender Source Code

        2d position of marker on frame (in unified 0..1 space).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pos
      • getPattern_corners

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

        Field Documentation

        Blender Python API

        Array of coordinates which represents pattern's corners in normalized coordinates relative to marker position

        Blender Source Code

        corners of pattern in the following order:

         Y
          ^
          | (3) --- (2)
          |  |       |
          |  |       |
          |  |       |
          | (0) --- (1)
          +-------------> X
         
        Y ^ | (3) --- (2) | | | | | | | | | | (0) --- (1) +-------------> X the coordinates are stored relative to pos.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pattern_corners
      • setPattern_corners

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

        Field Documentation

        Blender Python API

        Array of coordinates which represents pattern's corners in normalized coordinates relative to marker position

        Blender Source Code

        corners of pattern in the following order:

         Y
          ^
          | (3) --- (2)
          |  |       |
          |  |       |
          |  |       |
          | (0) --- (1)
          +-------------> X
         
        Y ^ | (3) --- (2) | | | | | | | | | | (0) --- (1) +-------------> X the coordinates are stored relative to pos.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pattern_corners
      • getSearch_min

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

        Field Documentation

        Blender Python API

        Left-bottom corner of search area in normalized coordinates relative to marker position

        Blender Source Code

        positions of left-bottom and right-top corners of search area (in unified 0..1 units, relative to marker->pos

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__search_min
      • setSearch_min

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

        Field Documentation

        Blender Python API

        Left-bottom corner of search area in normalized coordinates relative to marker position

        Blender Source Code

        positions of left-bottom and right-top corners of search area (in unified 0..1 units, relative to marker->pos

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__search_min
      • getSearch_max

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

        Field Documentation

        Blender Python API

        Right-bottom corner of search area in normalized coordinates relative to marker position
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__search_max
      • setSearch_max

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

        Field Documentation

        Blender Python API

        Right-bottom corner of search area in normalized coordinates relative to marker position
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__search_max
      • getFramenr

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

        Field Documentation

        Blender Source Code

        Number of frame 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 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