コード例 #1
0
        public new vtkModelMetadata NewInstance()
        {
            vtkModelMetadata result      = null;
            uint             mteStatus   = 0u;
            uint             mteIndex    = 4294967295u;
            uint             rawRefCount = 0u;
            IntPtr           intPtr      = vtkModelMetadata.vtkModelMetadata_NewInstance_86(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkModelMetadata)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public virtual vtkModelMetadata GetModelMetadata()
        {
            vtkModelMetadata vtkModelMetadata = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkEnSightWriter.vtkEnSightWriter_GetModelMetadata_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkModelMetadata = (vtkModelMetadata)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkModelMetadata.Register(null);
                }
            }
            return(vtkModelMetadata);
        }
コード例 #4
0
        public vtkModelMetadata ExtractModelMetadata(vtkIdTypeArray globalCellIdList, vtkDataSet grid)
        {
            vtkModelMetadata vtkModelMetadata = null;
            uint             mteStatus        = 0u;
            uint             mteIndex         = 4294967295u;
            uint             rawRefCount      = 0u;
            IntPtr           intPtr           = vtkModelMetadata.vtkModelMetadata_ExtractModelMetadata_09(base.GetCppThis(), (globalCellIdList == null) ? default(HandleRef) : globalCellIdList.GetCppThis(), (grid == null) ? default(HandleRef) : grid.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkModelMetadata = (vtkModelMetadata)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkModelMetadata.Register(null);
                }
            }
            return(vtkModelMetadata);
        }
コード例 #5
0
 public virtual void SetModelMetadata(vtkModelMetadata model)
 {
     vtkEnSightWriter.vtkEnSightWriter_SetModelMetadata_22(base.GetCppThis(), (model == null) ? default(HandleRef) : model.GetCppThis());
 }
コード例 #6
0
 public void SetModelMetadata(vtkModelMetadata emData)
 {
     vtkExodusModel.vtkExodusModel_SetModelMetadata_18(base.GetCppThis(), (emData == null) ? default(HandleRef) : emData.GetCppThis());
 }
コード例 #7
0
 public void SetModelMetadata(vtkModelMetadata arg0)
 {
     vtkExodusIIWriter.vtkExodusIIWriter_SetModelMetadata_18(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
コード例 #8
0
 public int MergeModelMetadata(vtkModelMetadata em)
 {
     return(vtkModelMetadata.vtkModelMetadata_MergeModelMetadata_84(base.GetCppThis(), (em == null) ? default(HandleRef) : em.GetCppThis()));
 }
コード例 #9
0
 public int MergeGlobalInformation(vtkModelMetadata em)
 {
     return(vtkModelMetadata.vtkModelMetadata_MergeGlobalInformation_83(base.GetCppThis(), (em == null) ? default(HandleRef) : em.GetCppThis()));
 }