10#include "Engine/Parameter/Parameter.h"
11#include "Engine/Parameter/PrmName.h"
12#include "Engine/Parameter/Template.h"
17namespace enzo::prm::style {
42 std::vector<std::shared_ptr<prm::Parameter>> options = {
43 std::make_shared<prm::Parameter>(
46 std::make_shared<prm::Parameter>(
53 bool ordered()
const {
return options[ORDERED]->evalInt() != 0; }
56 String caption()
const {
return options[CAPTION]->evalString(); }
68 std::vector<std::shared_ptr<prm::Parameter>> options = {
69 std::make_shared<prm::Parameter>(
72 std::make_shared<prm::Parameter>(
77 String icon()
const {
return options[ICON]->evalString(); }
78 floatT scale()
const {
return options[SCALE]->evalFloat(); }
91 std::vector<std::shared_ptr<prm::Parameter>> options = {
92 std::make_shared<prm::Parameter>(
95 std::make_shared<prm::Parameter>(
std::vector< std::shared_ptr< prm::Parameter > > options(const std::any &style)
Returns the options a style exposes to node.yaml.
Definition StyleAccess.h:129
Basic attribute, parameter, and node types for Enzo.
String attributeTypes() const
Returns the value types the attributes can hold, e.g. "float vector".
Definition Styles.h:104
String owners() const
Returns the parts of the geometry the attributes come from, e.g. "point vertex".
Definition Styles.h:101