v_sim.Dump

g GObject.Object GObject.Object v_sim.FileFormat v_sim.FileFormat GObject.Object->v_sim.FileFormat v_sim.Dump v_sim.Dump v_sim.FileFormat->v_sim.Dump

Subclasses:

v_sim.DumpData, v_sim.DumpScene

Methods

Inherited:

v_sim.FileFormat (19), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

abinit_getStatic ()

class

abort (obj, data)

class

ascii_getStatic ()

class

bitmap_pdf_getStatic ()

class

bitmap_ps_getStatic ()

class

cairo_pdf_getStatic ()

class

cairo_setPostFunc (func)

class

cairo_svg_getStatic ()

class

getNModules ()

class

jpeg_getStatic ()

class

png_getStatic ()

class

pool_finalize ()

class

pool_getAllModules ()

class

tiff_getStatic ()

class

xyz_getStatic ()

class

yaml_getStatic ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

v_sim.FileFormat (3)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

v_sim.FileFormat

r

Class Details

class v_sim.Dump(**kwargs)
Bases:

v_sim.FileFormat

Abstract:

No

Structure:

v_sim.DumpClass

This structure is used to store a dumping extension. Such an extension is characterized by its v_sim.FileFormat and a method that can write a file from the current rendered data.

classmethod abinit_getStatic()
Returns:

a newly created dump object to create ABINIT files.

Return type:

v_sim.DumpData

This routine returns the ABINIT dump object.

classmethod abort(obj, data)
Parameters:

Does nothing for the moment.

classmethod ascii_getStatic()
Returns:

the static dump object to create ASCII files.

Return type:

v_sim.DumpData

This routine is used to get the static v_sim.Dump object for ASCII exportation.

classmethod bitmap_pdf_getStatic()
Returns:

a newly created dump object to create PDF files.

Return type:

v_sim.Dump

This routine returns the dump object to PDF (bitmap).

classmethod bitmap_ps_getStatic()
Returns:

a newly created dump object to create PS files.

Return type:

v_sim.Dump

This routine returns the dump object to PS (bitmap).

classmethod cairo_pdf_getStatic()
Returns:

a newly created dump object to create SVG files.

Return type:

v_sim.Dump

This routine returns the dump object to PDF format.

classmethod cairo_setPostFunc(func)
Parameters:

func (v_sim.DumpCairoAdd or None) – a v_sim.DumpCairoAdd function or None.

Allow to add a function that will be called on every Cairo exportation after V_Sim rendering to allow post-processing.

New in version 3.7.

classmethod cairo_svg_getStatic()
Returns:

a newly created dump object to create SVG files.

Return type:

v_sim.Dump

This routine returns the dump object to SVG format.

classmethod getNModules()
Returns:

the number of known dumping extensions.

Return type:

int

A convenient way to know how many dumping extensions are registered.

classmethod jpeg_getStatic()
Returns:

a newly created dump object to create JPEG files.

Return type:

v_sim.Dump

This routine returns the JPG dump object.

classmethod png_getStatic()
Returns:

a newly created dump object to create PNG files.

Return type:

v_sim.Dump

This routine returns the PNG dump object.

classmethod pool_finalize()

Free the list of v_sim.Dump modules.

New in version 3.8.

classmethod pool_getAllModules()
Returns:

a list of all the known dumping extensions. This list is own by V_Sim and should be considered read-only.

Return type:

[v_sim.Dump]

All dumping extensions are stored in an opaque way in V_Sim. But they can be listed by a call to this method.

classmethod tiff_getStatic()
Returns:

a newly created dump object to create TIFF files.

Return type:

v_sim.Dump

This routine returns the dump object in TIFF format.

classmethod xyz_getStatic()
Returns:

a newly created dump object to create XYZ files.

Return type:

v_sim.DumpData

This routine returns the dump object for XYZ format.

classmethod yaml_getStatic()
Returns:

the static dump object to create YAML files.

Return type:

v_sim.DumpData

This routine is used to get the static v_sim.Dump object for YAML exportation.