Пример #1
0
        public new vtkXMLDataElement NewInstance()
        {
            vtkXMLDataElement result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkXMLDataElement.vtkXMLDataElement_NewInstance_37(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public vtkXMLDataElement GetProperty(int id)
        {
            vtkXMLDataElement vtkXMLDataElement = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLMaterial.vtkXMLMaterial_GetProperty_07(base.GetCppThis(), id, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLDataElement = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLDataElement.Register(null);
                }
            }
            return(vtkXMLDataElement);
        }
Пример #3
0
        public vtkXMLDataElement LookupElementWithName(string name)
        {
            vtkXMLDataElement vtkXMLDataElement = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLDataElement.vtkXMLDataElement_LookupElementWithName_35(base.GetCppThis(), name, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLDataElement = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLDataElement.Register(null);
                }
            }
            return(vtkXMLDataElement);
        }
Пример #4
0
        public vtkXMLDataElement GetRootElement()
        {
            vtkXMLDataElement vtkXMLDataElement = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLDataParser.vtkXMLDataParser_GetRootElement_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLDataElement = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLDataElement.Register(null);
                }
            }
            return(vtkXMLDataElement);
        }
Пример #5
0
        public new static vtkXMLDataElement SafeDownCast(vtkObjectBase o)
        {
            vtkXMLDataElement vtkXMLDataElement = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLDataElement.vtkXMLDataElement_SafeDownCast_43((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLDataElement = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLDataElement.Register(null);
                }
            }
            return(vtkXMLDataElement);
        }
Пример #6
0
        public static vtkXMLDataElement ReadElementFromString(string str, int encoding)
        {
            vtkXMLDataElement vtkXMLDataElement = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLUtilities.vtkXMLUtilities_ReadElementFromString_07(str, encoding, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLDataElement = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLDataElement.Register(null);
                }
            }
            return(vtkXMLDataElement);
        }
Пример #7
0
        public vtkXMLDataElement FindNestedElementWithNameAndAttribute(string name, string att_name, string att_value)
        {
            vtkXMLDataElement vtkXMLDataElement = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLDataElement.vtkXMLDataElement_FindNestedElementWithNameAndAttribute_06(base.GetCppThis(), name, att_name, att_value, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLDataElement = (vtkXMLDataElement)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLDataElement.Register(null);
                }
            }
            return(vtkXMLDataElement);
        }
Пример #8
0
 public long ReadInlineData(vtkXMLDataElement element, int isAscii, string buffer, long startWord, long numWords)
 {
     return(vtkXMLDataParser.vtkXMLDataParser_ReadInlineData_20(base.GetCppThis(), (element == null) ? default(HandleRef) : element.GetCppThis(), isAscii, buffer, startWord, numWords));
 }
Пример #9
0
 public long ReadInlineData(vtkXMLDataElement element, int isAscii, IntPtr buffer, long startWord, long numWords, int wordType)
 {
     return(vtkXMLDataParser.vtkXMLDataParser_ReadInlineData_19(base.GetCppThis(), (element == null) ? default(HandleRef) : element.GetCppThis(), isAscii, buffer, startWord, numWords, wordType));
 }
Пример #10
0
 public virtual void DeepCopy(vtkXMLDataElement elem)
 {
     vtkXMLDataElement.vtkXMLDataElement_DeepCopy_03(base.GetCppThis(), (elem == null) ? default(HandleRef) : elem.GetCppThis());
 }
Пример #11
0
 public void AddNestedElement(vtkXMLDataElement element)
 {
     vtkXMLDataElement.vtkXMLDataElement_AddNestedElement_02(base.GetCppThis(), (element == null) ? default(HandleRef) : element.GetCppThis());
 }
Пример #12
0
 public void SetParent(vtkXMLDataElement parent)
 {
     vtkXMLDataElement.vtkXMLDataElement_SetParent_54(base.GetCppThis(), (parent == null) ? default(HandleRef) : parent.GetCppThis());
 }
Пример #13
0
 public void SetRootElement(vtkXMLDataElement arg0)
 {
     vtkXMLMaterial.vtkXMLMaterial_SetRootElement_18(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Пример #14
0
 public virtual int IsEqualTo(vtkXMLDataElement elem)
 {
     return(vtkXMLDataElement.vtkXMLDataElement_IsEqualTo_32(base.GetCppThis(), (elem == null) ? default(HandleRef) : elem.GetCppThis()));
 }
Пример #15
0
 public int SaveState(vtkXMLDataElement e)
 {
     return(vtkQuadratureSchemeDefinition.vtkQuadratureSchemeDefinition_SaveState_20(base.GetCppThis(), (e == null) ? default(HandleRef) : e.GetCppThis()));
 }
Пример #16
0
 public void SetRootElement(vtkXMLDataElement arg0)
 {
     vtkXMLShader.vtkXMLShader_SetRootElement_15(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Пример #17
0
 public int SaveState(vtkInformation info, vtkXMLDataElement element)
 {
     return(vtkInformationQuadratureSchemeDefinitionVectorKey.vtkInformationQuadratureSchemeDefinitionVectorKey_SaveState_12(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), (element == null) ? default(HandleRef) : element.GetCppThis()));
 }
Пример #18
0
 public static void FactorElements(vtkXMLDataElement tree)
 {
     vtkXMLUtilities.vtkXMLUtilities_FactorElements_01((tree == null) ? default(HandleRef) : tree.GetCppThis());
 }
Пример #19
0
 public virtual void RemoveNestedElement(vtkXMLDataElement arg0)
 {
     vtkXMLDataElement.vtkXMLDataElement_RemoveNestedElement_42(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }