Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGNodeVisitor Class Reference

The QSGNodeVisitor class is a helper class for traversing the scene graph. More...

#include <qsgnode.h>

+ Inheritance diagram for QSGNodeVisitor:
+ Collaboration diagram for QSGNodeVisitor:

Public Member Functions

virtual ~QSGNodeVisitor ()
 

Protected Member Functions

virtual void enterTransformNode (QSGTransformNode *)
 
virtual void leaveTransformNode (QSGTransformNode *)
 
virtual void enterClipNode (QSGClipNode *)
 
virtual void leaveClipNode (QSGClipNode *)
 
virtual void enterGeometryNode (QSGGeometryNode *)
 
virtual void leaveGeometryNode (QSGGeometryNode *)
 
virtual void enterOpacityNode (QSGOpacityNode *)
 
virtual void leaveOpacityNode (QSGOpacityNode *)
 
virtual void visitNode (QSGNode *n)
 
virtual void visitChildren (QSGNode *n)
 

Detailed Description

The QSGNodeVisitor class is a helper class for traversing the scene graph.

Definition at line 294 of file qsgnode.h.

Constructor & Destructor Documentation

◆ ~QSGNodeVisitor()

QSGNodeVisitor::~QSGNodeVisitor ( )
virtual

Definition at line 1379 of file qsgnode.cpp.

Member Function Documentation

◆ enterClipNode()

virtual void QSGNodeVisitor::enterClipNode ( QSGClipNode * )
inlineprotectedvirtual

Definition at line 301 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ enterGeometryNode()

virtual void QSGNodeVisitor::enterGeometryNode ( QSGGeometryNode * )
inlineprotectedvirtual

Definition at line 303 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ enterOpacityNode()

virtual void QSGNodeVisitor::enterOpacityNode ( QSGOpacityNode * )
inlineprotectedvirtual

Definition at line 305 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ enterTransformNode()

virtual void QSGNodeVisitor::enterTransformNode ( QSGTransformNode * )
inlineprotectedvirtual

Definition at line 299 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ leaveClipNode()

virtual void QSGNodeVisitor::leaveClipNode ( QSGClipNode * )
inlineprotectedvirtual

Definition at line 302 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ leaveGeometryNode()

virtual void QSGNodeVisitor::leaveGeometryNode ( QSGGeometryNode * )
inlineprotectedvirtual

Definition at line 304 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ leaveOpacityNode()

virtual void QSGNodeVisitor::leaveOpacityNode ( QSGOpacityNode * )
inlineprotectedvirtual

Definition at line 306 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ leaveTransformNode()

virtual void QSGNodeVisitor::leaveTransformNode ( QSGTransformNode * )
inlineprotectedvirtual

Definition at line 300 of file qsgnode.h.

Referenced by visitNode().

+ Here is the caller graph for this function:

◆ visitChildren()

void QSGNodeVisitor::visitChildren ( QSGNode * n)
protectedvirtual

Reimplemented in QSGNodeDumper.

Definition at line 1418 of file qsgnode.cpp.

References QSGNode::firstChild(), and visitNode().

Referenced by QSGNodeDumper::visitChildren(), and visitNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visitNode()

void QSGNodeVisitor::visitNode ( QSGNode * n)
protectedvirtual

Reimplemented in QSGNodeDumper.

Definition at line 1385 of file qsgnode.cpp.

References QSGNode::ClipNodeType, enterClipNode(), enterGeometryNode(), enterOpacityNode(), enterTransformNode(), QSGNode::GeometryNodeType, leaveClipNode(), leaveGeometryNode(), leaveOpacityNode(), leaveTransformNode(), o, QSGNode::OpacityNodeType, QSGNode::TransformNodeType, and visitChildren().

Referenced by visitChildren(), and QSGNodeDumper::visitNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: