public new static vtkActor2DCollection New()
        {
            vtkActor2DCollection result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkActor2DCollection.vtkActor2DCollection_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkActor2DCollection = (vtkActor2DCollection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkActor2DCollection.Register(null);
                }
            }
            return(vtkActor2DCollection);
        }