public new vtkImplicitPlaneRepresentation NewInstance()
        {
            vtkImplicitPlaneRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImplicitPlaneRepresentation.vtkImplicitPlaneRepresentation_NewInstance_37(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkImplicitPlaneRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
示例#2
0
        public vtkImplicitPlaneRepresentation GetImplicitPlaneRepresentation()
        {
            vtkImplicitPlaneRepresentation vtkImplicitPlaneRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImplicitPlaneWidget2.vtkImplicitPlaneWidget2_GetImplicitPlaneRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImplicitPlaneRepresentation = (vtkImplicitPlaneRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImplicitPlaneRepresentation.Register(null);
                }
            }
            return(vtkImplicitPlaneRepresentation);
        }
示例#4
0
 public void SetRepresentation(vtkImplicitPlaneRepresentation r)
 {
     vtkImplicitPlaneWidget2.vtkImplicitPlaneWidget2_SetRepresentation_08(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }