|
| void | addPrimitive (std::shared_ptr< enzo::geo::Primitive > primitive) |
| | Adds the primitive, numbering its path when another primitive holds it.
|
| |
|
void | attemptMerge (geo::PrimPtr prim) |
| | Merges the primitive into the one at its path, or adds it when either cannot merge.
|
| |
|
std::shared_ptr< enzo::geo::Primitive > | getPrimitive (unsigned int index) |
| |
|
std::shared_ptr< const enzo::geo::Primitive > | getPrimitive (unsigned int index) const |
| |
|
geo::PrimPtr | getPrimAtPath (const std::string &path) |
| |
|
std::shared_ptr< const geo::Primitive > | getPrimAtPath (const std::string &path) const |
| |
|
const std::vector< std::shared_ptr< enzo::geo::Primitive > > & | getPrimitives () const |
| |
|
std::vector< geo::PrimPtr > | getPrimitives (enzo::geo::PrimType type) const |
| |
|
void | movePrim (const geo::PrimPtr &primitive, const std::string &toPath) |
| | Moves the primitive to the path, numbering it when another primitive holds it.
|
| |
|
void | movePrim (const std::string &fromPath, const std::string &toPath) |
| | Moves the primitive at one path to another, numbering it when another primitive holds it.
|
| |
|
void | removePrim (std::string path) |
| |
|
Transforms | getTransforms (TransformClass transformClass) |
| |
|
size_t | size () const |
| |
|
NodePacket | deepCopy () const |
| |
◆ addPrimitive()
Adds the primitive, numbering its path when another primitive holds it.
Adding three primitives at /light gives /light, /light_1 and /light_2.
The documentation for this class was generated from the following files:
- src/Engine/Network/NodePacket.h
- src/Engine/Network/NodePacket.cpp