Example #1
0
        public new static vtkImageData GetData(vtkInformationVector v, int i)
        {
            vtkImageData vtkImageData = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkImageData.vtkImageData_GetData_32((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageData = (vtkImageData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageData.Register(null);
                }
            }
            return(vtkImageData);
        }
Example #2
0
        public vtkPolyData GetSurface(vtkInformationVector sourceInfo)
        {
            vtkPolyData vtkPolyData = null;
            uint        mteStatus   = 0u;
            uint        mteIndex    = 4294967295u;
            uint        rawRefCount = 0u;
            IntPtr      intPtr      = vtkSelectEnclosedPoints.vtkSelectEnclosedPoints_GetSurface_07(base.GetCppThis(), (sourceInfo == null) ? default(HandleRef) : sourceInfo.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPolyData = (vtkPolyData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPolyData.Register(null);
                }
            }
            return(vtkPolyData);
        }
Example #3
0
 public void SetSharedOutputInformation(vtkInformationVector outInfoVec)
 {
     vtkExecutive.vtkExecutive_SetSharedOutputInformation_28(base.GetCppThis(), (outInfoVec == null) ? default(HandleRef) : outInfoVec.GetCppThis());
 }
 public void Set(vtkInformation info, vtkInformationVector arg1)
 {
     vtkInformationInformationVectorKey.vtkInformationInformationVectorKey_Set_08(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), (arg1 == null) ? default(HandleRef) : arg1.GetCppThis());
 }
Example #5
0
 public int ProcessRequest(vtkInformation request, vtkCollection inInfo, vtkInformationVector outInfo)
 {
     return(vtkAlgorithm.vtkAlgorithm_ProcessRequest_47(base.GetCppThis(), (request == null) ? default(HandleRef) : request.GetCppThis(), (inInfo == null) ? default(HandleRef) : inInfo.GetCppThis(), (outInfo == null) ? default(HandleRef) : outInfo.GetCppThis()));
 }
Example #6
0
 public void Copy(vtkInformationVector from, int deep)
 {
     vtkInformationVector.vtkInformationVector_Copy_02(base.GetCppThis(), (from == null) ? default(HandleRef) : from.GetCppThis(), deep);
 }