示例#1
0
        public new static vtkStreamingTessellator New()
        {
            vtkStreamingTessellator result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkStreamingTessellator.vtkStreamingTessellator_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkStreamingTessellator = (vtkStreamingTessellator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkStreamingTessellator.Register(null);
                }
            }
            return(vtkStreamingTessellator);
        }
 public virtual void SetTessellator(vtkStreamingTessellator arg0)
 {
     vtkTessellatorFilter.vtkTessellatorFilter_SetTessellator_24(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
 public virtual bool DontPassField(int sourceId, vtkStreamingTessellator t)
 {
     return(vtkEdgeSubdivisionCriterion.vtkEdgeSubdivisionCriterion_DontPassField_01(base.GetCppThis(), sourceId, (t == null) ? default(HandleRef) : t.GetCppThis()) != 0);
 }
 public virtual int PassField(int sourceId, int sourceSize, vtkStreamingTessellator t)
 {
     return(vtkEdgeSubdivisionCriterion.vtkEdgeSubdivisionCriterion_PassField_10(base.GetCppThis(), sourceId, sourceSize, (t == null) ? default(HandleRef) : t.GetCppThis()));
 }