Exemplo n.º 1
0
        public override vtkFieldData GetAttributesAsFieldData(int type)
        {
            vtkFieldData vtkFieldData = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkGraph.vtkGraph_GetAttributesAsFieldData_12(base.GetCppThis(), type, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkFieldData = (vtkFieldData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkFieldData.Register(null);
                }
            }
            return(vtkFieldData);
        }
Exemplo n.º 3
0
        public vtkFieldData ReadFieldData()
        {
            vtkFieldData vtkFieldData = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkDataReader.vtkDataReader_ReadFieldData_69(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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