Exemple #1
0
        public new static vtkAttributeClustering2DLayoutStrategy New()
        {
            vtkAttributeClustering2DLayoutStrategy result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAttributeClustering2DLayoutStrategy.vtkAttributeClustering2DLayoutStrategy_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAttributeClustering2DLayoutStrategy = (vtkAttributeClustering2DLayoutStrategy)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAttributeClustering2DLayoutStrategy.Register(null);
                }
            }
            return(vtkAttributeClustering2DLayoutStrategy);
        }