Example #1
0
        public new static vtkLODActor New()
        {
            vtkLODActor result      = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkLODActor.vtkLODActor_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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