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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkXMLMaterial)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkXMLMaterial GetMaterial()
        {
            vtkXMLMaterial vtkXMLMaterial = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkXMLMaterialReader.vtkXMLMaterialReader_GetMaterial_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkXMLMaterial = (vtkXMLMaterial)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkXMLMaterial.Register(null);
                }
            }
            return(vtkXMLMaterial);
        }
Ejemplo n.º 4
0
 public void SetMaterial(vtkXMLMaterial arg0)
 {
     vtkXMLMaterialParser.vtkXMLMaterialParser_SetMaterial_11(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Ejemplo n.º 5
0
 public void LoadMaterial(vtkXMLMaterial arg0)
 {
     vtkProperty.vtkProperty_LoadMaterial_83(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Ejemplo n.º 6
0
 public virtual void SetMaterial(vtkXMLMaterial arg0)
 {
     vtkShaderProgram.vtkShaderProgram_SetMaterial_18(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }