public new vtkDirectionEncoder NewInstance()
        {
            vtkDirectionEncoder result = null;
            uint   mteStatus           = 0u;
            uint   mteIndex            = 4294967295u;
            uint   rawRefCount         = 0u;
            IntPtr intPtr = vtkDirectionEncoder.vtkDirectionEncoder_NewInstance_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDirectionEncoder = (vtkDirectionEncoder)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDirectionEncoder.Register(null);
                }
            }
            return(vtkDirectionEncoder);
        }
Exemple #3
0
        public virtual vtkDirectionEncoder GetDirectionEncoder()
        {
            vtkDirectionEncoder vtkDirectionEncoder = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkEncodedGradientEstimator.vtkEncodedGradientEstimator_GetDirectionEncoder_15(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDirectionEncoder = (vtkDirectionEncoder)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDirectionEncoder.Register(null);
                }
            }
            return(vtkDirectionEncoder);
        }
Exemple #4
0
 public void SetDirectionEncoder(vtkDirectionEncoder direnc)
 {
     vtkEncodedGradientEstimator.vtkEncodedGradientEstimator_SetDirectionEncoder_46(base.GetCppThis(), (direnc == null) ? default(HandleRef) : direnc.GetCppThis());
 }