コード例 #1
0
        public new static vtkPointHandleRepresentation3D New()
        {
            vtkPointHandleRepresentation3D result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPointHandleRepresentation3D.vtkPointHandleRepresentation3D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPointHandleRepresentation3D = (vtkPointHandleRepresentation3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPointHandleRepresentation3D.Register(null);
                }
            }
            return(vtkPointHandleRepresentation3D);
        }
コード例 #3
0
        public virtual vtkPointHandleRepresentation3D GetPoint2Representation()
        {
            vtkPointHandleRepresentation3D vtkPointHandleRepresentation3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLineRepresentation.vtkLineRepresentation_GetPoint2Representation_26(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPointHandleRepresentation3D = (vtkPointHandleRepresentation3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPointHandleRepresentation3D.Register(null);
                }
            }
            return(vtkPointHandleRepresentation3D);
        }
コード例 #4
0
 public void SetHandleRepresentation(vtkPointHandleRepresentation3D handle)
 {
     vtkLineRepresentation.vtkLineRepresentation_SetHandleRepresentation_54(base.GetCppThis(), (handle == null) ? default(HandleRef) : handle.GetCppThis());
 }
コード例 #5
0
 public void SetAnchorRepresentation(vtkPointHandleRepresentation3D arg0)
 {
     vtkCaptionRepresentation.vtkCaptionRepresentation_SetAnchorRepresentation_21(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }