Sources module¶
A module containing objects that wrap CUDS objects and files to Mayavi
compatible sources. Please use the simphony_mayavi.sources.api
module to access the provided tools.
Classes
CUDSSource |
A mayavi source of a SimPhoNy CUDS container. |
CUDSFileSource |
A mayavi source of a SimPhoNy CUDS File. |
Description¶
-
class
simphony_mayavi.sources.cuds_source.
CUDSSource
[source]¶ Bases:
mayavi.sources.vtk_data_source.VTKDataSource
A mayavi source of a SimPhoNy CUDS container.
-
cuds
= Property(depends_on='_cuds')¶ The CUDS container
-
output_info
= PipelineInfo(datasets=['image_data', 'poly_data', 'unstructured_grid'], attribute_types=['any'], attributes=['scalars', 'vectors'])¶ Output information for the processing pipeline.
-
-
class
simphony_mayavi.sources.cuds_file_source.
CUDSFileSource
[source]¶ Bases:
simphony_mayavi.sources.cuds_source.CUDSSource
A mayavi source of a SimPhoNy CUDS File.
-
dataset
= DEnum(values_name='datasets')¶ The name of the CUDS container that is currently loaded.
-
datasets
= ListStr¶ The names of the contained datasets.
-
file_path
= Instance(FilePath, '', desc='the current file name')¶ The file path of the cuds file to read.
-