Пример #1
0
        public new vtkTetra NewInstance()
        {
            vtkTetra result      = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkTetra.vtkTetra_NewInstance_29(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTetra = (vtkTetra)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTetra.Register(null);
                }
            }
            return(vtkTetra);
        }
 public int GetNextTetra(int classification, vtkTetra tet, vtkDataArray cellScalars, vtkDoubleArray tetScalars)
 {
     return(vtkOrderedTriangulator.vtkOrderedTriangulator_GetNextTetra_07(base.GetCppThis(), classification, (tet == null) ? default(HandleRef) : tet.GetCppThis(), (cellScalars == null) ? default(HandleRef) : cellScalars.GetCppThis(), (tetScalars == null) ? default(HandleRef) : tetScalars.GetCppThis()));
 }