Beispiel #1
0
        public new vtkSphereRepresentation NewInstance()
        {
            vtkSphereRepresentation result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSphereRepresentation.vtkSphereRepresentation_NewInstance_37(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkSphereRepresentation = (vtkSphereRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkSphereRepresentation.Register(null);
                }
            }
            return(vtkSphereRepresentation);
        }
Beispiel #3
0
 public void SetRepresentation(vtkSphereRepresentation r)
 {
     vtkSphereWidget2.vtkSphereWidget2_SetRepresentation_11(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }