예제 #1
0
        public virtual vtkDataSetAttributes GetVertexData()
        {
            vtkDataSetAttributes vtkDataSetAttributes = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGraph.vtkGraph_GetVertexData_42(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataSetAttributes = (vtkDataSetAttributes)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataSetAttributes.Register(null);
                }
            }
            return(vtkDataSetAttributes);
        }
예제 #2
0
        public override vtkDataSetAttributes GetAttributes(int type)
        {
            vtkDataSetAttributes vtkDataSetAttributes = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGenericDataSet.vtkGenericDataSet_GetAttributes_06(base.GetCppThis(), type, ref mteStatus, ref mteIndex, ref rawRefCount);

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

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