10#include "Engine/Parameter/Parameter.h"
11#include "Engine/Parameter/PrmName.h"
12#include "Engine/Parameter/Template.h"
17namespace enzo::prm::style {
37 std::vector<std::shared_ptr<prm::Parameter>> options = {
38 std::make_shared<prm::Parameter>(
41 std::make_shared<prm::Parameter>(
48 bool ordered()
const {
return options[ORDERED]->evalInt() != 0; }
51 String caption()
const {
return options[CAPTION]->evalString(); }
63 std::vector<std::shared_ptr<prm::Parameter>> options = {
64 std::make_shared<prm::Parameter>(
67 std::make_shared<prm::Parameter>(
72 String icon()
const {
return options[ICON]->evalString(); }
73 floatT scale()
const {
return options[SCALE]->evalFloat(); }
86 std::vector<std::shared_ptr<prm::Parameter>> options = {
87 std::make_shared<prm::Parameter>(
90 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:126
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:99
String owners() const
Returns the parts of the geometry the attributes come from, e.g. "point vertex".
Definition Styles.h:96