|
Enzo
|
Basic attribute, parameter, and node types for Enzo. More...
#include <Eigen/Dense>#include <cstdint>Go to the source code of this file.
Typedefs | |
| using | enzo::attr::AttrType = AttributeType |
| using | enzo::attr::AttrOwner = AttributeOwner |
| using | enzo::floatT = float |
| using | enzo::intT = int64_t |
| using | enzo::boolT = bool |
| using | enzo::Vector2 = Eigen::Vector2f |
| using | enzo::Vector3 = Eigen::Vector3f |
| using | enzo::Vector4 = Eigen::Vector4f |
| using | enzo::Matrix3 = Eigen::Matrix3f |
| using | enzo::Matrix4 = Eigen::Matrix4f |
| using | enzo::String = std::string |
| using | enzo::Index = size_t |
| enzo::Index is the continuous index of an element in a given AttributeOwner. | |
| using | enzo::Offset = size_t |
| enzo::Offset is the internal discontinuous index of an element in a given AttributeOwner. | |
| using | enzo::nt::OpId = uint64_t |
| The unique ID assigned to each node in the network. | |
Enumerations | |
| enum class | enzo::attr::AttributeOwner { POINT , VERTEX , FACE , PRIMITIVE } |
| The segment of geometry that owns a particular attribute. More... | |
| enum class | enzo::attr::AttributeType { intT , floatT , listT , vectorT , boolT , matrixT } |
| Data types available to store attribute values in. | |
| enum class | PrimType { MESH , CAMERA } |
| enum class | TransformClass : uint8_t { NONE = 0 , POINT = 1 , PRIMITIVE = 2 , POINT_PRIORITY = 3 } |
| enum class | Type { STRING , FLOAT , BOOL , XYZ , INT , TOGGLE , GROUP , DROPDOWN , RAMP , SPACER } |
| enum class | Direction { HORIZONTAL , VERTICAL } |
| enum class | enzo::prm::ValueType { Float , Int , String } |
| Which kind of value a parameter stores. More... | |
| enum class | SocketIOType { Input , Output } |
Variables | |
| constexpr OpId | enzo::nt::nullOp = 0 |
| The id that names no operator, since real ids start at 1. | |
Basic attribute, parameter, and node types for Enzo.
| using enzo::Index = size_t |
enzo::Index is the continuous index of an element in a given AttributeOwner.
Eg. point index, vertex index, primitive index, or global index. This is usually provided by the user where enzo::Offset is used internally.
| using enzo::Offset = size_t |
enzo::Offset is the internal discontinuous index of an element in a given AttributeOwner.
Eg. point offset, vertex offset, primitive offset, or global offset. This different but similar in concept to the index. This value will stay consistant through geometry modification such as adding and deleting points unless defragmented.
|
strong |
The segment of geometry that owns a particular attribute.
|
strong |
Which kind of value a parameter stores.
Every prm::Type maps to one of these. Parameter::getValueType is the one place that mapping lives and the rest of the value handling switches on this tag.