예제 #1
0
        public new static vtkSpherePuzzle New()
        {
            vtkSpherePuzzle result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkSpherePuzzle.vtkSpherePuzzle_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSpherePuzzle = (vtkSpherePuzzle)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSpherePuzzle.Register(null);
                }
            }
            return(vtkSpherePuzzle);
        }
예제 #3
0
 public void SetPermutation(vtkSpherePuzzle puz)
 {
     vtkSpherePuzzleArrows.vtkSpherePuzzleArrows_SetPermutation_09(base.GetCppThis(), (puz == null) ? default(HandleRef) : puz.GetCppThis());
 }