Esempio n. 1
0
        public vtkScalarsToColors GetTransferFunction()
        {
            vtkScalarsToColors vtkScalarsToColors = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlotHistogram2D.vtkPlotHistogram2D_GetTransferFunction_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkScalarsToColors = (vtkScalarsToColors)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkScalarsToColors.Register(null);
                }
            }
            return(vtkScalarsToColors);
        }
        public vtkScalarsToColors GetLookupTable()
        {
            vtkScalarsToColors vtkScalarsToColors = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPolyDataMapper2D.vtkPolyDataMapper2D_GetLookupTable_11(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkScalarsToColors = (vtkScalarsToColors)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkScalarsToColors.Register(null);
                }
            }
            return(vtkScalarsToColors);
        }