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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUniformGrid = (vtkUniformGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUniformGrid.Register(null);
                }
            }
            return(vtkUniformGrid);
        }
Exemple #3
0
        public new static vtkUniformGrid GetData(vtkInformationVector v, int i)
        {
            vtkUniformGrid vtkUniformGrid = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkUniformGrid.vtkUniformGrid_GetData_15((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUniformGrid = (vtkUniformGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUniformGrid.Register(null);
                }
            }
            return(vtkUniformGrid);
        }
 public void SetDataSet(uint level, uint id, IntPtr LoCorner, IntPtr HiCorner, vtkUniformGrid dataSet)
 {
     vtkHierarchicalBoxDataSet.vtkHierarchicalBoxDataSet_SetDataSet_30(base.GetCppThis(), level, id, LoCorner, HiCorner, (dataSet == null) ? default(HandleRef) : dataSet.GetCppThis());
 }