Runtime for distance filter. More...
#include <kanzi/core.ui/graphics3d/distance_filter_runtime.hpp>
Public Member Functions | |
Node3DSharedPtr | getTargetNode () const |
Gets the target object node. | |
void | setTargetNode (Node3DSharedPtr node) |
Sets the target object node. | |
Public Member Functions inherited from kanzi::FilterObjectSourceRuntime | |
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. | |
Static Public Member Functions | |
static DistanceFilterRuntimeSharedPtr | create (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter) |
Creates a distance filter runtime. | |
Protected Attributes | |
Vector3 | m_referencePosition |
Position of the target node. | |
Node3DWeakPtr | m_targetNode |
Node to filter against. | |
Protected Attributes inherited from kanzi::FilterObjectSourceRuntime | |
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. | |
Runtime for distance filter.
|
inlineexplicitprotected |
Constructor.
nodeList | Node list to filter. |
filter | Parent filter. |
|
static |
Creates a distance filter runtime.
nodeList | Node list to filter. |
filter | Parent filter. |
|
inline |
Gets the target object node.
|
inline |
Sets the target object node.
node | Node to use. |
FilterObjectSourceRuntime::filterNodeOverride() implementation.
Reimplemented from kanzi::FilterObjectSourceRuntime.
|
overrideprotectedvirtual |
ObjectSourceRuntime::filterOverride() implementation.
Reimplemented from kanzi::ObjectSourceRuntime.
|
overrideprotectedvirtual |
ObjectSourceRuntime::isDirtyOverride() implementation.
Reimplemented from kanzi::ObjectSourceRuntime.
|
protected |
Node to filter against.
|
protected |
Position of the target node.