Skip to main content
#include <rocky_plugin_data.h>

Public Member Functions

Detailed Description

IRockyPluginData gathers custom module data entered manually through the Rocky UI. In order to appear on the Rocky UI, custom modules parameters must be specified in the Python file that defines the components of the module. An IRockyPluginData object is only available during the configuration step in ROCKY_PLUGIN_CONFIGURE.

Member Function Documentation

get_geometry_data()

Returns An IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters associated specifically to the module defined in the geometry (boundaries) section. Parameters

get_material_data()

Returns An IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters associated specifically to the module defined in the material section. Parameters

get_material_interaction_data()

Returns An IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters defined in the material interactions section of the module. Parameters

get_model()

Returns An IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI for all parameters in the model section of the module. These parameters are displayed in the [Data Editors] panel when the module is selected in the data tree.

get_number_geometries()

Returns The total number of geometries (boundaries) in the project.

get_number_material_interactions()

Returns The total number of material interactions that it is possible to define with the current materials defined in the Rocky project.

get_number_materials()

Returns The total number of materials defined in the project.

get_number_particle_groups()

Returns The total number of particle groups defined in the project.

get_particle_group_data()

Returns An IRockyPluginDataEntry object that gives access to the values entered through the Rocky UI, if they exist, for all parameters associated specifically to the module defined in the particle group section. Parameters

has_geometry_data()

Returns True if there is geometry data defined for the module, false otherwise.

has_material_data()

Returns True if there is any material property data defined for the module, false otherwise.

has_material_interaction_data()

Returns True if there is custom material interaction data defined for the module, false otherwise.

has_particle_group_data()

Returns True if there is particle group data defined for the module, false otherwise.