コード例 #1
0
        public new vtkEncodedGradientEstimator NewInstance()
        {
            vtkEncodedGradientEstimator result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkEncodedGradientEstimator.vtkEncodedGradientEstimator_NewInstance_39(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkEncodedGradientEstimator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public virtual vtkEncodedGradientEstimator GetGradientEstimator()
        {
            vtkEncodedGradientEstimator vtkEncodedGradientEstimator = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkVolumeTextureMapper.vtkVolumeTextureMapper_GetGradientEstimator_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkEncodedGradientEstimator = (vtkEncodedGradientEstimator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkEncodedGradientEstimator.Register(null);
                }
            }
            return(vtkEncodedGradientEstimator);
        }
コード例 #4
0
 public virtual void SetGradientEstimator(vtkEncodedGradientEstimator gradest)
 {
     vtkVolumeTextureMapper.vtkVolumeTextureMapper_SetGradientEstimator_28(base.GetCppThis(), (gradest == null) ? default(HandleRef) : gradest.GetCppThis());
 }
コード例 #5
0
 public void UpdateShadingTable(vtkRenderer ren, vtkVolume vol, vtkEncodedGradientEstimator gradest)
 {
     vtkEncodedGradientShader.vtkEncodedGradientShader_UpdateShadingTable_24(base.GetCppThis(), (ren == null) ? default(HandleRef) : ren.GetCppThis(), (vol == null) ? default(HandleRef) : vol.GetCppThis(), (gradest == null) ? default(HandleRef) : gradest.GetCppThis());
 }