Package openalea :: Package plantgl :: Package codec :: Module svg :: Class SvgCodec
[frames] | no frames]

Class SvgCodec

              object --+        
                       |        
             ??.instance --+    
                           |    
scenegraph._pglsg.SceneCodec --+
                               |
                              SvgCodec


codec that try to transform an svg file into a pgl scene
and try to save all 2D objects into an svg file

Nested Classes

Inherited from scenegraph._pglsg.SceneCodec: Mode

Instance Methods
 
__init__(self)
__init__( (object)arg1 [, (str)name [, (Mode)mode]]) -> None : SceneCodec([name,mode])
 
formats(self)
formats( (SceneCodec)arg1) -> SceneFormatList :
 
read(self, filename)
read( (SceneCodec)arg1, (str)arg2) -> Scene :
 
write(self, filename, scene)
write( (SceneCodec)arg1, (str)arg2, (Scene)arg3) -> None :

Inherited from scenegraph._pglsg.SceneCodec: __reduce__, test

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables

Inherited from scenegraph._pglsg.SceneCodec: __instance_size__

Properties

Inherited from scenegraph._pglsg.SceneCodec: mode, name

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

__init__( (object)arg1 [, (str)name [, (Mode)mode]]) -> None :
    SceneCodec([name,mode])

    C++ signature :
        void __init__(struct _object * [,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > [,enum PGL::SceneCodec::Mode]])

Overrides: object.__init__
(inherited documentation)

formats(self)

 

formats( (SceneCodec)arg1) -> SceneFormatList :

    C++ signature :
        class std::vector<struct PGL::SceneFormat,class std::allocator<struct PGL::SceneFormat> > formats(class PGL::SceneCodec {lvalue})

formats( (SceneCodec)arg1) -> None :

    C++ signature :
        void formats(class TOOLS::RefCountPtr<class PySceneCodec> {lvalue})

Overrides: scenegraph._pglsg.SceneCodec.formats
(inherited documentation)

read(self, filename)

 

read( (SceneCodec)arg1, (str)arg2) -> Scene :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::Scene> read(class PGL::SceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

read( (SceneCodec)arg1, (str)arg2) -> Scene :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::Scene> read(class PySceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

Overrides: scenegraph._pglsg.SceneCodec.read
(inherited documentation)

write(self, filename, scene)

 

write( (SceneCodec)arg1, (str)arg2, (Scene)arg3) -> None :

    C++ signature :
        void write(class PGL::SceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class TOOLS::RefCountPtr<class PGL::Scene>)

write( (SceneCodec)arg1, (str)arg2, (Scene)arg3) -> None :

    C++ signature :
        void write(class PySceneCodec {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class TOOLS::RefCountPtr<class PGL::Scene>)

Overrides: scenegraph._pglsg.SceneCodec.write
(inherited documentation)