Example #1
0
        public new static vtkAnnotationLayers New()
        {
            vtkAnnotationLayers result = null;
            uint   mteStatus           = 0u;
            uint   mteIndex            = 4294967295u;
            uint   rawRefCount         = 0u;
            IntPtr intPtr = vtkAnnotationLayers.vtkAnnotationLayers_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAnnotationLayers)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
0
        public new static vtkAnnotationLayers SafeDownCast(vtkObjectBase o)
        {
            vtkAnnotationLayers vtkAnnotationLayers = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAnnotationLayers.vtkAnnotationLayers_SafeDownCast_16((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAnnotationLayers = (vtkAnnotationLayers)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAnnotationLayers.Register(null);
                }
            }
            return(vtkAnnotationLayers);
        }
Example #3
0
        public vtkAnnotationLayers GetOutput(int index)
        {
            vtkAnnotationLayers vtkAnnotationLayers = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAnnotationLayersAlgorithm.vtkAnnotationLayersAlgorithm_GetOutput_02(base.GetCppThis(), index, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAnnotationLayers = (vtkAnnotationLayers)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAnnotationLayers.Register(null);
                }
            }
            return(vtkAnnotationLayers);
        }
Example #4
0
        public new static vtkAnnotationLayers GetData(vtkInformationVector v, int i)
        {
            vtkAnnotationLayers vtkAnnotationLayers = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAnnotationLayers.vtkAnnotationLayers_GetData_07((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAnnotationLayers = (vtkAnnotationLayers)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAnnotationLayers.Register(null);
                }
            }
            return(vtkAnnotationLayers);
        }
Example #5
0
 public void Annotate(vtkView view, vtkAnnotationLayers annotations, bool extend)
 {
     vtkDataRepresentation.vtkDataRepresentation_Annotate_02(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (annotations == null) ? default(HandleRef) : annotations.GetCppThis(), extend ? (byte)1 : (byte)0);
 }
Example #6
0
 public void Annotate(vtkView view, vtkAnnotationLayers annotations)
 {
     vtkDataRepresentation.vtkDataRepresentation_Annotate_01(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (annotations == null) ? default(HandleRef) : annotations.GetCppThis());
 }
Example #7
0
 public void UpdateAnnotations(vtkAnnotationLayers annotations, bool extend)
 {
     vtkDataRepresentation.vtkDataRepresentation_UpdateAnnotations_35(base.GetCppThis(), (annotations == null) ? default(HandleRef) : annotations.GetCppThis(), extend ? (byte)1 : (byte)0);
 }
Example #8
0
 public void UpdateAnnotations(vtkAnnotationLayers annotations)
 {
     vtkDataRepresentation.vtkDataRepresentation_UpdateAnnotations_34(base.GetCppThis(), (annotations == null) ? default(HandleRef) : annotations.GetCppThis());
 }
Example #9
0
 public virtual void SetAnnotationLayers(vtkAnnotationLayers layers)
 {
     vtkAnnotationLink.vtkAnnotationLink_SetAnnotationLayers_14(base.GetCppThis(), (layers == null) ? default(HandleRef) : layers.GetCppThis());
 }