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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkStructuredGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkStructuredGrid GetStructuredGridOutput()
        {
            vtkStructuredGrid vtkStructuredGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPointSetAlgorithm.vtkPointSetAlgorithm_GetStructuredGridOutput_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkStructuredGrid = (vtkStructuredGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkStructuredGrid.Register(null);
                }
            }
            return(vtkStructuredGrid);
        }
        public vtkStructuredGrid GetOutput(int idx)
        {
            vtkStructuredGrid vtkStructuredGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLStructuredGridReader.vtkXMLStructuredGridReader_GetOutput_02(base.GetCppThis(), idx, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkStructuredGrid = (vtkStructuredGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkStructuredGrid.Register(null);
                }
            }
            return(vtkStructuredGrid);
        }
Ejemplo n.º 5
0
        public new static vtkStructuredGrid GetData(vtkInformationVector v, int i)
        {
            vtkStructuredGrid vtkStructuredGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkStructuredGrid.vtkStructuredGrid_GetData_16((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkStructuredGrid = (vtkStructuredGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkStructuredGrid.Register(null);
                }
            }
            return(vtkStructuredGrid);
        }
Ejemplo n.º 6
0
 public void SetOutput(vtkStructuredGrid output)
 {
     vtkStructuredGridReader.vtkStructuredGridReader_SetOutput_09(base.GetCppThis(), (output == null) ? default(HandleRef) : output.GetCppThis());
 }
Ejemplo n.º 7
0
 public void SetInput(vtkStructuredGrid input)
 {
     vtkStructuredGridToPolyDataFilter.vtkStructuredGridToPolyDataFilter_SetInput_06(base.GetCppThis(), (input == null) ? default(HandleRef) : input.GetCppThis());
 }
Ejemplo n.º 8
0
 public void SetOutput(int idx, vtkStructuredGrid output)
 {
     vtkPLOT3DReader.vtkPLOT3DReader_SetOutput_56(base.GetCppThis(), idx, (output == null) ? default(HandleRef) : output.GetCppThis());
 }