Exemplo n.º 1
0
        public new static vtkSphere New()
        {
            vtkSphere result      = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkSphere.vtkSphere_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSphere = (vtkSphere)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSphere.Register(null);
                }
            }
            return(vtkSphere);
        }
Exemplo n.º 3
0
 public void GetSphere(vtkSphere sphere)
 {
     vtkSphereWidget.vtkSphereWidget_GetSphere_20(base.GetCppThis(), (sphere == null) ? default(HandleRef) : sphere.GetCppThis());
 }
Exemplo n.º 4
0
 public void GetSphere(vtkSphere sphere)
 {
     vtkSphereRepresentation.vtkSphereRepresentation_GetSphere_26(base.GetCppThis(), (sphere == null) ? default(HandleRef) : sphere.GetCppThis());
 }