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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkScalarTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkScalarTree GetScalarTree()
        {
            vtkScalarTree vtkScalarTree = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkContourFilter.vtkContourFilter_GetScalarTree_17(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkScalarTree = (vtkScalarTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkScalarTree.Register(null);
                }
            }
            return(vtkScalarTree);
        }
 public virtual void SetScalarTree(vtkScalarTree arg0)
 {
     vtkContourFilter.vtkContourFilter_SetScalarTree_33(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }