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

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

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