Ejemplo n.º 1
0
        public new vtkOpenFOAMReader NewInstance()
        {
            vtkOpenFOAMReader result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkOpenFOAMReader.vtkOpenFOAMReader_NewInstance_45(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkOpenFOAMReader = (vtkOpenFOAMReader)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkOpenFOAMReader.Register(null);
                }
            }
            return(vtkOpenFOAMReader);
        }
Ejemplo n.º 3
0
 public void SetParent(vtkOpenFOAMReader parent)
 {
     vtkOpenFOAMReader.vtkOpenFOAMReader_SetParent_59(base.GetCppThis(), (parent == null) ? default(HandleRef) : parent.GetCppThis());
 }