Base class for filter runtime classes. More...
#include <kanzi/core.ui/graphics3d/filter_object_source_runtime.hpp>
Public Member Functions | |
| bool | filterNode (Node &node) |
| Runs a filter on the given node. | |
Public Member Functions inherited from kanzi::ObjectSourceRuntime | |
| void | filter (NodeList &outputNodes) |
| Runs the filter on a given node. | |
| NodeListSharedPtr | getInputNodeList () |
| Gets the input node list for this particular object source. | |
| ObjectSourceRuntimeSharedPtr | getParentRuntime () const |
| Gets the parent runtime. | |
| NodeListSharedPtr | getRootNodeList () |
| Gets the root node list, parents included. | |
| bool | isDirty () |
| Tells if the node filter considers itself dirty and needs re-executing. | |
| bool | matches (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter) |
| Tells if this filter runtime matches the given node list and filter. | |
| void | setCamera (CameraSharedPtr camera) |
| Sets the camera for this object source runtime. | |
| void | update (NodeList &nodes) |
| Perform implementation-dependent per-frame update for internal data of the filter. | |
| virtual | ~ObjectSourceRuntime ()=default |
| Destructor. | |
Protected Member Functions | |
| virtual bool | filterNodeOverride (Node &node) |
| Filter-specific implemention of the filtering process. | |
| FilterObjectSourceRuntime (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter) | |
| Constructor. | |
| void | filterOverride (NodeList &inputNodes, NodeList &outputNodes) override |
| ObjectSourceRuntime::filterOverride() implementation. | |
Protected Member Functions inherited from kanzi::ObjectSourceRuntime | |
| virtual bool | isDirtyOverride () |
| Object source -specific implementation of dirty check. | |
| ObjectSourceRuntime (NodeListSharedPtr nodeList, ObjectSourceSharedPtr objectSource) | |
| Constructor. | |
| virtual void | setCameraOverride (CameraSharedPtr camera) |
| Object source -specific camera assignment. | |
| virtual void | updateOverride (NodeList &nodes) |
| Object source -specific implementation of per-frame update. | |
Protected Attributes | |
| bool | m_isExclusive |
| Exclusivity flag, copied from the filter object source. | |
Protected Attributes inherited from kanzi::ObjectSourceRuntime | |
| NodeListWeakPtr | m_inputNodes |
| Input node list. | |
| ObjectSourceWeakPtr | m_objectSource |
| Parent object source. | |
| NodeListSharedPtr | m_parentNodeList |
| Node list that is the result of the parent runtime being executed. | |
| ObjectSourceRuntimeSharedPtr | m_parentRuntime |
| Runtime for the object source chain. | |
Base class for filter runtime classes.
|
explicitprotected |
Constructor.
Runs a filter on the given node.
| node | The node to apply the filter to. |
Filter-specific implemention of the filtering process.
| node | The node to apply the filter to. |
Reimplemented in kanzi::CombinerObjectSourceRuntime, kanzi::ContainsPropertyFilterRuntime, kanzi::DistanceFilterRuntime, kanzi::FrustumCullFilterRuntime, kanzi::ObjectTypeFilterRuntime, kanzi::PropertyIsEqualFilterRuntime, and kanzi::TagFilterRuntime.
|
overrideprotectedvirtual |
ObjectSourceRuntime::filterOverride() implementation.
Reimplemented from kanzi::ObjectSourceRuntime.
Reimplemented in kanzi::FrustumCullFilterRuntime.
|
protected |
Exclusivity flag, copied from the filter object source.