Exemplo n.º 1
0
        public new static vtkReebGraphSimplificationMetric New()
        {
            vtkReebGraphSimplificationMetric result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkReebGraphSimplificationMetric.vtkReebGraphSimplificationMetric_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkReebGraphSimplificationMetric = (vtkReebGraphSimplificationMetric)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkReebGraphSimplificationMetric.Register(null);
                }
            }
            return(vtkReebGraphSimplificationMetric);
        }
 public void SetSimplificationMetric(vtkReebGraphSimplificationMetric metric)
 {
     vtkReebGraphSimplificationFilter.vtkReebGraphSimplificationFilter_SetSimplificationMetric_08(base.GetCppThis(), (metric == null) ? default(HandleRef) : metric.GetCppThis());
 }
Exemplo n.º 4
0
 public int Simplify(double simplificationThreshold, vtkReebGraphSimplificationMetric simplificationMetric)
 {
     return(vtkReebGraph.vtkReebGraph_Simplify_15(base.GetCppThis(), simplificationThreshold, (simplificationMetric == null) ? default(HandleRef) : simplificationMetric.GetCppThis()));
 }