|
| smtkTypeMacro (smtk::markup::Resource) |
|
| smtkCreateMacro (smtk::resource::PersistentObject) |
|
| smtkSuperclassMacro (smtk::resource::DerivedFrom< Resource, GraphResource >) |
|
| Resource (const Resource &)=delete |
|
bool | setLocation (const std::string &location) override |
| Override methods that revise the location of the resource so we can reset resource-relative URLs.
|
|
template<typename componentT , typename... Args> |
smtk::shared_ptr< componentT > | createNode (Args &&... args) |
|
std::function< bool(const smtk::resource::Component &)> | queryOperation (const std::string &query) const override |
| Return a boolean functor that classifies components according to query.
|
|
DomainMap & | domains () |
| Return the resource's catalog of domains.
|
|
const DomainMap & | domains () const |
|
bool | isOfType (const Resource::Index &index) const override |
| given a resource index, return whether or not this resource is or is derived from the resource described by the index.
|
|
bool | isOfType (const std::string &typeName) const override |
| given a resource's unique name, return whether or not this resource is or is derived from the resource described by the name.
|
|
int | numberOfGenerationsFromBase (const std::string &typeName) const override |
|
| DerivedFrom (const DerivedFrom &)=delete |
|
A resource for annotating geometric models.
The key concept this resource embodies is a set-theoretic approach to referencing geometry. The resource itself owns a catalog of domains, each of which provides a way to enumerate its members and reference sets members (and in some cases, the geometric boundaries of those members).
There are two types of domains: discrete and parametric. Discrete domains have members represented by integer identifiers which live in an "ID space". Parametric domains have members represented by continuous ranges which live in a "parameter space".