Class VolumeDisplay


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Thickness of volume display in the viewport

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__density);
         CPointer<Float> p_density = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'density'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wireframe_type

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

        Field Documentation

        Blender Python API

        Type of wireframe display

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__wireframe_type);
         CPointer<Integer> p_wireframe_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'wireframe_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wireframe_detail

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

        Field Documentation

        Blender Python API

        Amount of detail for wireframe display

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__wireframe_detail);
         CPointer<Integer> p_wireframe_detail = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'wireframe_detail'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__interpolation_method

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

        Field Documentation

        Blender Python API

        Interpolation method to use for volumes in solid mode

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__interpolation_method);
         CPointer<Integer> p_interpolation_method = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'interpolation_method'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__axis_slice_method

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

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__axis_slice_method);
         CPointer<Integer> p_axis_slice_method = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'axis_slice_method'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__slice_axis

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

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__slice_axis);
         CPointer<Integer> p_slice_axis = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'slice_axis'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__slice_depth

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

        Field Documentation

        Blender Python API

        Position of the slice

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__slice_depth);
         CPointer<Float> p_slice_depth = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'slice_depth'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Integer>> p__pad = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'int[1]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • VolumeDisplay

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

      • getDensity

        public float getDensity()
                         throws java.io.IOException
        Get method for struct member 'density'.

        Field Documentation

        Blender Python API

        Thickness of volume display in the viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density
      • setDensity

        public void setDensity​(float density)
                        throws java.io.IOException
        Set method for struct member 'density'.

        Field Documentation

        Blender Python API

        Thickness of volume display in the viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density
      • getWireframe_type

        public int getWireframe_type()
                              throws java.io.IOException
        Get method for struct member 'wireframe_type'.

        Field Documentation

        Blender Python API

        Type of wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_type
      • setWireframe_type

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

        Field Documentation

        Blender Python API

        Type of wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_type
      • getWireframe_detail

        public int getWireframe_detail()
                                throws java.io.IOException
        Get method for struct member 'wireframe_detail'.

        Field Documentation

        Blender Python API

        Amount of detail for wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_detail
      • setWireframe_detail

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

        Field Documentation

        Blender Python API

        Amount of detail for wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_detail
      • getInterpolation_method

        public int getInterpolation_method()
                                    throws java.io.IOException
        Get method for struct member 'interpolation_method'.

        Field Documentation

        Blender Python API

        Interpolation method to use for volumes in solid mode
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__interpolation_method
      • setInterpolation_method

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

        Field Documentation

        Blender Python API

        Interpolation method to use for volumes in solid mode
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__interpolation_method
      • getAxis_slice_method

        public int getAxis_slice_method()
                                 throws java.io.IOException
        Get method for struct member 'axis_slice_method'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axis_slice_method
      • setAxis_slice_method

        public void setAxis_slice_method​(int axis_slice_method)
                                  throws java.io.IOException
        Set method for struct member 'axis_slice_method'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axis_slice_method
      • getSlice_axis

        public int getSlice_axis()
                          throws java.io.IOException
        Get method for struct member 'slice_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__slice_axis
      • setSlice_axis

        public void setSlice_axis​(int slice_axis)
                           throws java.io.IOException
        Set method for struct member 'slice_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__slice_axis
      • getSlice_depth

        public float getSlice_depth()
                             throws java.io.IOException
        Get method for struct member 'slice_depth'.

        Field Documentation

        Blender Python API

        Position of the slice
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__slice_depth
      • setSlice_depth

        public void setSlice_depth​(float slice_depth)
                            throws java.io.IOException
        Set method for struct member 'slice_depth'.

        Field Documentation

        Blender Python API

        Position of the slice
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__slice_depth
      • get_pad

        public CArrayFacade<java.lang.Integer> 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.Integer> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

        public CPointer<VolumeDisplay> __io__addressof()
        Instantiates a pointer on this instance.