Skip to main content
#include <rocky_plugin_data.h>

Public Member Functions

Detailed Description

IRockyPluginDataEntry is a data unit corresponding to a single entity in Rocky (a geometry, a material interaction, etc). It gives access to values of custom module data entered manually through the Rocky UI. IRockyPluginDataEntry may contain boolean, integer, double precision, and string data. Data arranged in lists of IRockyPluginDataEntry is also allowed. The value of a parameter is retrieved passing to the corresponding function the name string, as specified in the Python file that defines the components of the module.

Member Function Documentation

get_bool()

Returns The boolean value specified for the given parameter in the Rocky UI through a checkbox. Parameters

get_double()

Returns The double precision value specified for the given parameter in the Rocky UI. Parameters

get_int()

Returns The integer value specified for the given parameter in the Rocky UI. Parameters

get_list_item()

Returns An IRockyPluginDataEntry object contained in the list. Parameters

get_list_size()

Returns The number of IRockyPluginDataEntry objects that the list contains. Parameters

get_string()

Returns The string value specified for the given parameter in the Rocky UI. Parameters

has()

Returns True if the parameter specified by name actually exists in the IRockyPluginDataEntry object. Otherwise, it returns false. Parameters