NodeList is a container that works as input and output node listing for filtering and rendering.
More...
#include <kanzi/core.ui/graphics3d/node_list.hpp>
NodeList is a container that works as input and output node listing for filtering and rendering.
Main usage points are:
Viewport2D contains a root NodeListRenderPass used as input for other node list or draw objects render passes. It is used if no specific input NodeListRenderPass is defined.
- Since
- Kanzi 3.9.0
Container type for Nodes.
Container type for added or removed nodes.
Create a node list render pass.
- Parameters
-
| domain | The domain to use. |
| name | The name for the render pass. |
| void kanzi::NodeList::clear |
( |
| ) |
|
| iterator kanzi::NodeList::filterPassBegin |
( |
| ) |
|
Begins the extract or filtering pass.
During the pass, the node list is assumed to be in the same state as on the last pass. Inconsistencies during insertion alter the internal state for removed nodes and mark the list dirty. The user must call insert() to insert a node into the node list into the current iterator location. The cycle must be manually ended when the iteration stops.
| void kanzi::NodeList::filterPassEnd |
( |
iterator |
lastLocation | ) |
|
Ends the extract or filtering pass.
- Parameters
-
| lastLocation | Last location returned from insert(). |
Insert new node into the end of the list.
- Parameters
-
- Returns
- Next insert location.
| void kanzi::NodeList::copyListData |
( |
const NodeList & |
other | ) |
|
Assign contents from another node list.
Dirty flag is not modified.
- Parameters
-
Returns an iterator to the beginning of the node list.
- Returns
- Iterator to the beginning.
Returns an iterator to the beginning of the node list.
- Returns
- Iterator to the beginning.
Returns an iterator to the beginning of the node list.
- Returns
- Iterator to the beginning.
Returns an iterator to the end of the node list.
- Returns
- Iterator to the end.
Returns an iterator to the end of the node list.
- Returns
- Iterator to the end.
Returns an iterator to the end of the node list.
- Returns
- Iterator to the end.
| DiffNodeContainer::const_iterator kanzi::NodeList::beginAddedNodes |
( |
| ) |
const |
|
inline |
Returns an iterator to the beginning of the added nodes list.
- Returns
- Iterator to the beginning of added nodes.
| DiffNodeContainer::const_iterator kanzi::NodeList::endAddedNodes |
( |
| ) |
const |
|
inline |
Returns an iterator to the beginning of the added nodes list.
- Returns
- Iterator to the beginning of added nodes.
| DiffNodeContainer::const_iterator kanzi::NodeList::beginRemovedNodes |
( |
| ) |
const |
|
inline |
Returns an iterator to the beginning of the removed nodes list.
- Returns
- Iterator to the beginning of removed nodes.
| DiffNodeContainer::const_iterator kanzi::NodeList::endRemovedNodes |
( |
| ) |
const |
|
inline |
Returns an iterator to the beginning of the removed nodes list.
- Returns
- Iterator to the beginning of removed nodes.
| bool kanzi::NodeList::isDirty |
( |
| ) |
const |
|
inline |
Indicates whether the node list is dirty, i.e.
has changed in any way.
- Returns
- True if the list is in dirty state, false otherwise.
| void kanzi::NodeList::setDirty |
( |
bool |
flag | ) |
|
|
inline |
Sets the dirty flag in the node list.
- Parameters
-
| flag | New dirty flag state. |
| size_t kanzi::NodeList::size |
( |
| ) |
const |
|
inline |
Tells the number of nodes in the list.
- Returns
- Node count.
List of nodes after running the filter.
List of added nodes that became a part of the list.
List of removed nodes no longer part of the list.
| bool kanzi::NodeList::m_dirty |
|
protected |
Was the node list dirty (changed in any way)?
The documentation for this class was generated from the following file: