Class uipc::geometry::GeometryAtlas
ClassList > uipc > geometry > GeometryAtlas
Public Functions
| Type | Name |
|---|---|
| GeometryAtlas () |
|
| SizeT | attribute_collection_count () noexcept const |
| vector< std::string > | attribute_collection_names () noexcept const |
| IndexT | create (const Geometry & geo, bool evolving_only=false) Create a geometry in the atlas. |
| void | create (std::string_view name, const AttributeCollection & ac, bool evolving_only=false) Create a named AttributeCollection in the atlas. |
| S< const GeometrySlot > | find (IndexT id) const Find the geometry slot by id. |
| S< const AttributeCollection > | find (std::string_view name) const Find the AttributeCollection by name. |
| void | from_json (const Json & j) Create geometry atlas from json. |
| SizeT | geometry_count () noexcept const |
| Json | to_json () const Create json representation of the geometry atlas. |
| ~GeometryAtlas () |
Public Functions Documentation
function GeometryAtlas
function attribute_collection_count
function attribute_collection_names
function create [1/2]
Create a geometry in the atlas.
function create [2/2]
Create a named AttributeCollection in the atlas.
void uipc::geometry::GeometryAtlas::create (
std::string_view name,
const AttributeCollection & ac,
bool evolving_only=false
)
function find [1/2]
Find the geometry slot by id.
Only return const version, not allow to modify the geometry.
function find [2/2]
Find the AttributeCollection by name.
Only return const version, not allow to modify the geometry.
function from_json
Create geometry atlas from json.
Parameters:
jThe json representation of the geometry atlasattributesThe attributes to be used in the geometry
function geometry_count
function to_json
Create json representation of the geometry atlas.
function ~GeometryAtlas
The documentation for this class was generated from the following file include/uipc/geometry/geometry_atlas.h