|
SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Classes | |
| class | ShapeOptions |
Public Member Functions | |
| smtkTypeMacro (smtk::markup::UnstructuredData) | |
| smtkSuperclassMacro (smtk::markup::DiscreteGeometry) | |
| template<typename... Args> | |
| UnstructuredData (Args &&... args) | |
| template<typename... Args> | |
| UnstructuredData (const std::shared_ptr< AssignedIds > &pointIds, const std::shared_ptr< AssignedIds > &cellIds, Args &&... args) | |
| void | initialize (const nlohmann::json &data, smtk::resource::json::Helper &helper) override |
| Used by Resource::addNode and others immediately after construction. | |
| std::unordered_set< Domain * > | domains () const override |
| Return the domains this data participates in (points and cells). More... | |
| AssignedIds * | domainExtent (smtk::string::Token domainName) const override |
| Return the AssignedIds object given a domain. More... | |
| void | assignedIds (std::vector< AssignedIds * > &assignments) const override |
| Return all the point and cell IDs assigned to this instance. | |
| bool | setShapeData (vtkSmartPointer< vtkDataObject > mesh, ShapeOptions &options) |
| Assign the mesh data as this object's shape and update Field children to match. | |
| vtkSmartPointer< vtkDataObject > | shapeData () const |
| Return the geometric content for this node as a vtkDataObject. More... | |
| vtkSmartPointer< vtkDataObject > | shape () const override |
| Return the geometric content for this node. More... | |
| const AssignedIds & | pointIds () const |
| const AssignedIds & | cellIds () const |
| ArcEndpointInterface< arcs::BoundariesToShapes, ConstArc, OutgoingArc > | parents () const |
| Return arcs pointing to parent (higher-dimensional) shapes that this shape bounds. | |
| ArcEndpointInterface< arcs::BoundariesToShapes, NonConstArc, OutgoingArc > | parents () |
| ArcEndpointInterface< arcs::BoundariesToShapes, ConstArc, IncomingArc > | children () const |
| Return arcs pointing to children (lower-dimensional) shapes that bound this shape. | |
| ArcEndpointInterface< arcs::BoundariesToShapes, NonConstArc, IncomingArc > | children () |
| bool | assign (const smtk::graph::Component::ConstPtr &source, smtk::resource::CopyOptions &options) override |
| Assign this node's state from source. | |
Public Member Functions inherited from smtk::markup::DiscreteGeometry | |
| smtkTypeMacro (smtk::markup::DiscreteGeometry) | |
| smtkSuperclassMacro (smtk::markup::SpatialData) | |
| template<typename... Args> | |
| DiscreteGeometry (Args &&... args) | |
Public Member Functions inherited from smtk::markup::SpatialData | |
| smtkTypeMacro (smtk::markup::SpatialData) | |
| smtkSuperclassMacro (smtk::markup::Component) | |
| template<typename... Args> | |
| SpatialData (Args &&... args) | |
| virtual AssignedIds * | domainExtent (Domain *domain) const |
| Given a domain or its name, return an object recording the data's extent in the domain. More... | |
| bool | isBlanked () const |
| Return whether or not this node has its geometry blanked (i.e., not rendered). | |
| bool | setBlanking (bool shouldBlank) |
| Set whether or not this node has its geometry blanked. More... | |
Public Member Functions inherited from smtk::markup::Component | |
| smtkTypeMacro (smtk::markup::Component) | |
| smtkSuperclassMacro (smtk::graph::Component) | |
| template<typename... Args> | |
| Component (Args &&... args) | |
| Component::Index | index () const |
| The index is a compile-time intrinsic of the derived resource; as such, it cannot be set. | |
| std::string | name () const override |
| Return the component's name. | |
| bool | setName (const std::string &name) |
| Set the component's name. | |
| ArcEndpointInterface< arcs::GroupsToMembers, ConstArc, IncomingArc > | groups () const |
| Return the container of groups this component belongs to. | |
| ArcEndpointInterface< arcs::GroupsToMembers, NonConstArc, IncomingArc > | groups () |
| ArcEndpointInterface< arcs::LabelsToSubjects, ConstArc, IncomingArc > | labels () const |
| Return the container of labels that reference this component. | |
| ArcEndpointInterface< arcs::LabelsToSubjects, NonConstArc, IncomingArc > | labels () |
| ArcEndpointInterface< arcs::URLsToImportedData, ConstArc, IncomingArc > | importedFrom () const |
| Return the container of URLs from which this component was imported (if any). | |
| ArcEndpointInterface< arcs::URLsToImportedData, NonConstArc, IncomingArc > | importedFrom () |
| ArcEndpointInterface< arcs::OntologyIdentifiersToIndividuals, ConstArc, IncomingArc > | ontologyClasses () const |
| Return the container of ontology identifiers this component realizes. More... | |
| ArcEndpointInterface< arcs::OntologyIdentifiersToIndividuals, NonConstArc, IncomingArc > | ontologyClasses () |
| bool | assign (const smtk::graph::Component::ConstPtr &source, smtk::resource::CopyOptions &options) override |
| Assign this node's state from source. | |
Public Member Functions inherited from smtk::graph::Component | |
| smtkTypeMacro (smtk::graph::Component) | |
| smtkSuperclassMacro (smtk::resource::Component) | |
| const smtk::resource::ResourcePtr | resource () const override |
| Access the containing resource. | |
| smtk::resource::Resource * | parentResource () const override |
| Return a raw (not shared) pointer to the resource that owns this object. More... | |
| const smtk::common::UUID & | id () const override |
| Access the component's id. | |
| bool | setId (const smtk::common::UUID &uid) override |
| Set the component's id. | |
| template<typename ArcType > | |
| ArcEndpointInterface< ArcType, ConstArc, OutgoingArc > | outgoing () const |
| Return an endpoint-interface object for arcs of ArcType outgoing from this node. More... | |
| template<typename ArcType > | |
| ArcEndpointInterface< ArcType, NonConstArc, OutgoingArc > | outgoing () |
| template<typename ArcType > | |
| ArcEndpointInterface< ArcType, ConstArc, IncomingArc > | incoming () const |
| Return an endpoint-interface object for arcs of ArcType incoming to this node. More... | |
| template<typename ArcType > | |
| ArcEndpointInterface< ArcType, NonConstArc, IncomingArc > | incoming () |
| bool | disconnect (bool onlyExplicit=false) |
| Remove all (editable) arcs from this node. More... | |
| RuntimeArcEndpoint< NonConstArc > | outgoing (smtk::string::Token arcType) |
| Given a runtime arc type-name, return a runtime endpoint interface. More... | |
| RuntimeArcEndpoint< ConstArc > | outgoing (smtk::string::Token arcType) const |
| RuntimeArcEndpoint< NonConstArc > | incoming (smtk::string::Token arcType) |
| RuntimeArcEndpoint< ConstArc > | incoming (smtk::string::Token arcType) const |
| virtual bool | assign (const ConstPtr &source, smtk::resource::CopyOptions &options) |
| Assign state data from the source node to this instance. More... | |
Public Member Functions inherited from smtk::resource::Component | |
| smtkTypeMacro (smtk::resource::Component) | |
| smtkSuperclassMacro (smtk::resource::PersistentObject) | |
| smtkSharedFromThisMacro (smtk::resource::PersistentObject) | |
| Resource * | parentResource () const override |
| Return a raw (not shared) pointer to the resource that owns this component. More... | |
| template<typename ResourceType > | |
| ResourceType * | parentResourceAs () const |
| This variant of parentResource casts the result to the given ResourceType. | |
| Links & | links () override |
| Return the links that connect this component to external resources/components. | |
| const Links & | links () const override |
| Properties & | properties () override |
| Return properties defined on this component. | |
| const Properties & | properties () const override |
Public Member Functions inherited from smtk::resource::PersistentObject | |
| smtkTypeMacroBase (smtk::resource::PersistentObject) | |
| template<typename T > | |
| T::Ptr | as () |
| Attempt to cast this object to a subclass. | |
| template<typename T > | |
| T::ConstPtr | as () const |
| Attempt to cast this object to a subclass. | |
Protected Attributes | |
| std::shared_ptr< AssignedIds > | m_pointIds |
| std::shared_ptr< AssignedIds > | m_cellIds |
| vtkSmartPointer< vtkDataObject > | m_mesh |
Protected Attributes inherited from smtk::markup::Component | |
| std::string | m_name |
Protected Attributes inherited from smtk::graph::Component | |
| smtk::WeakReferenceWrapper< smtk::graph::ResourceBase > | m_resource |
| smtk::common::UUID | m_id |
Additional Inherited Members | |
Public Types inherited from smtk::markup::Component | |
| using | Serialize = std::true_type |
| using | Index = std::size_t |
Public Types inherited from smtk::resource::Component | |
| typedef std::function< void(const ComponentPtr &)> | Visitor |
| typedef detail::ComponentLinks | Links |
| typedef detail::ComponentProperties | Properties |
Static Public Attributes inherited from smtk::markup::Component | |
| static const Component::Index | type_index |
| A unique integer corresponding to the component type. | |
Protected Member Functions inherited from smtk::markup::DiscreteGeometry | |
| bool | updateChildren (vtkSmartPointer< vtkDataObject > newShape, ShapeOptions &options) |
| Method for subclasses to use when updating their VTK data. More... | |
Protected Member Functions inherited from smtk::markup::Component | |
| bool | copyAssignment (const AssignedIds &sourceAssignment, std::shared_ptr< AssignedIds > &targetAssignment) |
| Copy the sourceAssignment's IDs into the targetAssignment. More... | |
| bool | copyBaseData (const vtkSmartPointer< vtkDataObject > &baseSourceData, vtkSmartPointer< vtkDataObject > &baseTargetData, smtk::resource::CopyOptions &options) |
| Use copyData<T>() instead. It calls this method. | |
| template<typename DataType > | |
| bool | copyData (const vtkSmartPointer< DataType > &sourceData, vtkSmartPointer< DataType > &targetData, smtk::resource::CopyOptions &options) |
| Copy the sourceData into the targetData. More... | |
Protected Member Functions inherited from smtk::graph::Component | |
| Component (const std::shared_ptr< smtk::graph::ResourceBase > &) | |
| Component (const std::shared_ptr< smtk::graph::ResourceBase > &, const smtk::common::UUID &) | |
| const ArcImplementationBase * | arcsOfType (smtk::string::Token arcType) const |
| ArcImplementationBase * | arcsOfType (smtk::string::Token arcType) |
| virtual void | createDependentArcs () |
|
overridevirtual |
Return the AssignedIds object given a domain.
Note that you should own a lock on the resource for the duration of this call plus the time you dereference any of its returned pointers.
Reimplemented from smtk::markup::SpatialData.
|
overridevirtual |
Return the domains this data participates in (points and cells).
Note that you should own a lock on the resource for the duration of this call plus the time you dereference any of its returned pointers.
Reimplemented from smtk::markup::SpatialData.
|
inlineoverridevirtual |
Return the geometric content for this node.
This method is inherited from DiscreteGeometry and does not make any assumptions about the type of data returned.
Reimplemented from smtk::markup::DiscreteGeometry.
| vtkSmartPointer< vtkDataObject > smtk::markup::UnstructuredData::shapeData | ( | ) | const |
Return the geometric content for this node as a vtkDataObject.
Because unstructured data may be modeled with vtkPolyData, vtkUnstructuredGrid, or vtkCellGrid data, there is no better type to return.
1.8.17