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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkHandleRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
示例#2
0
        public vtkHandleRepresentation GetHandleRepresentation(int index)
        {
            vtkHandleRepresentation vtkHandleRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkParallelopipedRepresentation.vtkParallelopipedRepresentation_GetHandleRepresentation_08(base.GetCppThis(), index, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkHandleRepresentation = (vtkHandleRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkHandleRepresentation.Register(null);
                }
            }
            return(vtkHandleRepresentation);
        }
示例#4
0
        public virtual vtkHandleRepresentation GetSelectionRepresentation()
        {
            vtkHandleRepresentation vtkHandleRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAxesTransformRepresentation.vtkAxesTransformRepresentation_GetSelectionRepresentation_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkHandleRepresentation = (vtkHandleRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkHandleRepresentation.Register(null);
                }
            }
            return(vtkHandleRepresentation);
        }
示例#5
0
 public void SetHandleRepresentation(vtkHandleRepresentation handle)
 {
     vtkParallelopipedRepresentation.vtkParallelopipedRepresentation_SetHandleRepresentation_30(base.GetCppThis(), (handle == null) ? default(HandleRef) : handle.GetCppThis());
 }
 public void SetHandleRepresentation(vtkHandleRepresentation handle)
 {
     vtkSeedRepresentation.vtkSeedRepresentation_SetHandleRepresentation_21(base.GetCppThis(), (handle == null) ? default(HandleRef) : handle.GetCppThis());
 }
示例#7
0
 public void SetHandleRepresentation(vtkHandleRepresentation handle)
 {
     vtkBiDimensionalRepresentation.vtkBiDimensionalRepresentation_SetHandleRepresentation_38(base.GetCppThis(), (handle == null) ? default(HandleRef) : handle.GetCppThis());
 }
 public void SetRepresentation(vtkHandleRepresentation r)
 {
     vtkHandleWidget.vtkHandleWidget_SetRepresentation_17(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }