예제 #1
0
        public new vtkDistanceRepresentation NewInstance()
        {
            vtkDistanceRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDistanceRepresentation.vtkDistanceRepresentation_NewInstance_26(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkDistanceRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public vtkDistanceRepresentation GetDistanceRepresentation()
        {
            vtkDistanceRepresentation vtkDistanceRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDistanceWidget.vtkDistanceWidget_GetDistanceRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDistanceRepresentation = (vtkDistanceRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDistanceRepresentation.Register(null);
                }
            }
            return(vtkDistanceRepresentation);
        }
예제 #4
0
 public void SetRepresentation(vtkDistanceRepresentation r)
 {
     vtkDistanceWidget.vtkDistanceWidget_SetRepresentation_11(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }