|
| template<typename OStream > |
| void | debugDump (OStream &os, Bifrost::Object const &object, size_t sampleSize=10) |
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getGeoPropTarget (const Bifrost::Object &object, const Bifrost::Object &geoProp) |
| | Get referenced counted pointer of the target of a specified geometry property. More...
|
| |
| Amino::String BIFROST_GEOMETRY_DECL | getGeoPropTargetName (const Bifrost::Object &object, Amino::StringView geoProp) |
| | Get the name of the target for the specified geo property. More...
|
| |
| Amino::String BIFROST_GEOMETRY_DECL | getGeoPropTargetName (const Bifrost::Object &geoProp) |
| | Get the name of the target for the specified geo property. More...
|
| |
| Amino::String BIFROST_GEOMETRY_DECL | getTargetComponent (const Bifrost::Object &object, Amino::StringView geoProp) |
| | Determines the topological component that the specified geometry property is defined over. More...
|
| |
| Amino::Array< Amino::String > BIFROST_GEOMETRY_DECL | getTargetChain (const Bifrost::Object &object, Amino::StringView geoProp) |
| | Walks the target chain from the given geo property to the terminal geo component property. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getComponentGeoPropPrototype () |
| | Returns the prototypical component geometry property object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateComponentGeoProperty (Amino::uint_t elementCount, Bifrost::Object &object) |
| | Populate a Geometry object with the required properties to conform to the component geometry property schema. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | setElementCount (Amino::StringView component, Amino::uint_t elementCount, Bifrost::Object &object) |
| | Set the number of elements in a component of a geometry. More...
|
| |
| Amino::uint_t BIFROST_GEOMETRY_DECL | getElementCount (const Bifrost::Object &object, Amino::StringView component) |
| | Get the number of elements in a component of a geometry. More...
|
| |
| Amino::uint_t BIFROST_GEOMETRY_DECL | getElementCount (const Bifrost::Object &compGeoProp) |
| | Get the number of component elements in a ComponentGeoProperty object. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getDataGeoPropPrototype (Amino::StringView property=Geometry::sGenericDataGeoProp) |
| | Returns the prototypical data geometry property object. More...
|
| |
| template<typename T > |
| void | populateDataGeoProperty (T defaultValue, Bifrost::Object &object) |
| | Populate a Geometry object with the required properties to conform to the data geometry property schema. More...
|
| |
| template<typename DataType > |
| void | populateDataGeoProperty (const DataType &defaultValue, Amino::Ptr< Amino::Array< DataType > > data, Amino::StringView target, Bifrost::Object &geoProp) |
| | Populate a Geometry object with the required properties to conform to the data geometry property schema. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getDataGeoProperty (const Bifrost::Object &object, Amino::StringView property) |
| | Get a geo property from an object, with the specified name. More...
|
| |
| template<typename T > |
| Amino::Ptr< Amino::Array< T > > | getDataGeoPropValues (const Bifrost::Object &object, Amino::StringView property) |
| | Get the actual data array from a data geometry property. More...
|
| |
| template<typename DataType > |
| bool | setDataGeoPropValues (Amino::StringView property, Amino::Ptr< Amino::Array< DataType > > dataPropValues, Bifrost::Object &object) |
| | Sets the actual data array in a data geometry property. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | isOffsetDataGeoProp (const Bifrost::Object &object, Amino::StringView property) |
| | Queries if the specified property is an offset array. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getRangeGeoPropPrototype () |
| | Returns the prototypical range geometry property object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateRangeGeoProperty (Bifrost::Object &object) |
| | Populate a Geometry object with the required properties to conform to the range geometry property schema. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | populateRangeGeoProperty (Amino::Ptr< Amino::Array< Index > > indices, Amino::StringView target, Bifrost::Object &geoProp) |
| | Populate a Geometry object with the required properties to conform to the range geometry property schema. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getRangeGeoProperty (const Bifrost::Object &object, Amino::StringView property) |
| | Get a range geo property from an object. More...
|
| |
| Amino::Ptr< Amino::Array< Index > > BIFROST_GEOMETRY_DECL | getRangeGeoPropIndices (const Bifrost::Object &object, Amino::StringView property) |
| | Get the indices for the specified range geometry property. More...
|
| |
| Amino::Ptr< Amino::Array< Index > > BIFROST_GEOMETRY_DECL | getRangeGeoPropIndices (const Bifrost::Object &rangeGeoProp) |
| | Get the indices for the specified range object. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | setRangeGeoPropIndices (Amino::StringView property, Amino::Ptr< Amino::Array< Index > > indices, Bifrost::Object &object) |
| | Get the indices for the specified range geometry property. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateTrivialRangeIndices (size_t count, Amino::Array< Index > &indices) |
| | Creates a trivial indexing with the specified size. More...
|
| |
| Amino::String BIFROST_GEOMETRY_DECL | getGeoPropRangeName (Amino::StringView geoProp) |
| | Gets the name of a data geo property's corresponding range geo property. More...
|
| |
| Amino::Array< Amino::Ptr< Bifrost::Object > > BIFROST_GEOMETRY_DECL | getGeoPropsByPrototype (Bifrost::Object const &object, Bifrost::Object const &prototype) |
| | Given a prototype, ex.: a geo property prototype (component, range, or data), return an array of objects that match the input prototype. More...
|
| |
| Amino::Array< Amino::Ptr< Bifrost::Object > > BIFROST_GEOMETRY_DECL | getGeoPropsByTarget (Bifrost::Object const &object, Amino::StringView target) |
| | Given a target string, return an array of geo prop objects that have that target. More...
|
| |
| Amino::Array< Amino::String > BIFROST_GEOMETRY_DECL | getGeoPropNamesByPrototype (Bifrost::Object const &object, Bifrost::Object const &prototype) |
| | Given a prototype, ex.: a geo property prototype (component, range, or data), return an array of property keys that match the input prototype. More...
|
| |
| Amino::Array< Amino::String > BIFROST_GEOMETRY_DECL | getGeoPropNamesByTarget (Bifrost::Object const &object, Amino::StringView target) |
| | Given a target string, return an array of property keys that have that target. More...
|
| |
| Amino::Array< Amino::String > BIFROST_GEOMETRY_DECL | getGeoPropsByName (Bifrost::Object const &object, Amino::StringView pattern) |
| | Given a pattern, return an array of property keys that have that pattern. More...
|
| |
| Amino::String BIFROST_GEOMETRY_DECL | getUniqueGeoPropName (Amino::StringView propertyName, Bifrost::Object const &object) |
| | Given a name, return a name that is similar but unique to the specified object. More...
|
| |
| template<typename T > |
| bool | hasDataGeoProperty (const Bifrost::Object &geometry, Amino::StringView property) |
| | Check if a geometry object has a valid geo property with type T and name property. More...
|
| |
| template<typename T > |
| DataGeoPropertyGuard< T > | createDataGeoPropGuard (Bifrost::Object &geometry, Amino::StringView propertyName) |
| | Create a DataGeoPropertyGuard for the specified geo property. More...
|
| |
| BIFROST_GEOMETRY_DECL bool | hasRangeGeoProperty (const Bifrost::Object &geometry, Amino::StringView property) |
| | Check if a geometry object has a valid Range geo property with name property. More...
|
| |
| BIFROST_GEOMETRY_DECL RangeGeoPropertyGuard | createRangeGeoPropGuard (Bifrost::Object &geometry, Amino::StringView propertyName) |
| | Create a RangeGeoPropertyGuard for the specified range geo property. More...
|
| |
| BIFROST_GEOMETRY_DECL Amino::Ptr< Amino::Array< Amino::Ptr< Bifrost::Object > > > | getGeometryTypes () |
| | Return a list of geometry prototypes, ordered from most to least specific. Can be used to find the type of an object, for example using the helper function Bifrost::Geometry::resolveType. More...
|
| |
| template<typename Prototypes > |
| decltype(auto) | findPrototype (Bifrost::Object const &obj, Prototypes const &prototypes) |
| | Finds the first prototype in the given prototypes such that the given object satisfies this prototype. More...
|
| |
| Common::GeometryType | resolveType (Bifrost::Object const &obj) |
| | Determine the type of an object. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getVolumePrototype () |
| | Returns the prototypical volume object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateVolume (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the volume geometry schema. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getLevelSetPrototype () |
| | Returns the prototypical level set object. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getFogVolumePrototype () |
| | Returns the prototypical fog volume object. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getFlipLiquidPrototype () |
| | Returns the prototypical liquid set object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateFlipLiquid (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the liquid geometry schema. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateLevelSet (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the level set geometry schema. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateFogVolume (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the fog volume geometry schema. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getPointCloudPrototype () |
| | Returns the prototypical point cloud object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populatePointCloud (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the point cloud geometry schema. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | populatePointCloud (Amino::Ptr< Amino::Array< Bifrost::Math::float3 > > position, Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the point cloud geometry schema. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getStrandPrototype () |
| | Returns the prototypical strand object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateStrand (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the strand geometry schema. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | populateStrand (Amino::Ptr< Amino::Array< Bifrost::Math::float3 > > positions, Amino::Ptr< Amino::Array< Bifrost::Geometry::Index > > strandOffsets, Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the strand geometry schema. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getMeshPrototype () |
| | Returns the prototypical mesh object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateMesh (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the Mesh geometry schema. More...
|
| |
| bool BIFROST_GEOMETRY_DECL | populateMesh (Amino::Ptr< Amino::Array< Bifrost::Math::float3 > > positions, Amino::Ptr< Amino::Array< Bifrost::Geometry::Index > > face_vertices, Amino::Ptr< Amino::Array< Bifrost::Geometry::Index > > face_offsets, Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the Mesh geometry schema. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateCubeMesh (float width, Bifrost::Object &object) |
| | Populate an object with the properties and values required to define a six-sided cube mesh. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateSphereMesh (float radius, Bifrost::Object &object) |
| | Populate an object with the properties of a mesh sphere. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populatePlaneMesh (float width, unsigned subdivisions, Bifrost::Object &object) |
| | Populate an object with the properties and values required to define a unit plane with the requested subdivisions on the X and Z axes. More...
|
| |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | getInstancesPrototype () |
| | Returns the prototypical Instances object. More...
|
| |
| void BIFROST_GEOMETRY_DECL | populateInstances (Bifrost::Object &object) |
| | Populate an object with the required properties to conform to the Instances schema. More...
|
| |
| void BIFROST_GEOMETRY_DECL | clearGeometryPrototypes () |
| | clear internal geometry structures kept as prototypes More...
|
| |
| GeoValidator::Status BIFROST_GEOMETRY_DECL | validateMesh (const Bifrost::Object &in_object) |
| | Convenience function to validate the specified object with a Bifrost::Geometry::MeshValidator. More...
|
| |