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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkEdgeSubdivisionCriterion = (vtkEdgeSubdivisionCriterion)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkEdgeSubdivisionCriterion.Register(null);
                }
            }
            return(vtkEdgeSubdivisionCriterion);
        }
示例#3
0
        public virtual vtkEdgeSubdivisionCriterion GetSubdivisionAlgorithm()
        {
            vtkEdgeSubdivisionCriterion vtkEdgeSubdivisionCriterion = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkStreamingTessellator.vtkStreamingTessellator_GetSubdivisionAlgorithm_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkEdgeSubdivisionCriterion = (vtkEdgeSubdivisionCriterion)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkEdgeSubdivisionCriterion.Register(null);
                }
            }
            return(vtkEdgeSubdivisionCriterion);
        }
示例#4
0
 public virtual void SetSubdivisionAlgorithm(vtkEdgeSubdivisionCriterion arg0)
 {
     vtkStreamingTessellator.vtkStreamingTessellator_SetSubdivisionAlgorithm_29(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }