Blender  V3.3
Public Member Functions | List of all members
Freestyle::Node Class Reference

#include <Node.h>

Inheritance diagram for Freestyle::Node:
Freestyle::BaseObject Freestyle::NodeCamera Freestyle::NodeGroup Freestyle::NodeLight Freestyle::NodeShape Freestyle::NodeViewLayer Freestyle::NodeOrthographicCamera Freestyle::NodePerspectiveCamera Freestyle::NodeDrawingStyle Freestyle::NodeTransform

Public Member Functions

 Node ()
 
 Node (const Node &iBrother)
 
virtual ~Node ()
 
virtual void accept (SceneVisitor &v)
 
virtual const BBox< Vec3r > & bbox () const
 
virtual void setBBox (const BBox< Vec3r > &iBox)
 
virtual void AddBBox (const BBox< Vec3r > &iBox)
 
virtual const BBox< Vec3r > & UpdateBBox ()
 
virtual void clearBBox ()
 
- Public Member Functions inherited from Freestyle::BaseObject
 BaseObject ()
 
virtual ~BaseObject ()
 
virtual int destroy ()
 
int addRef ()
 
int release ()
 

Detailed Description

Definition at line 26 of file Node.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

Freestyle::Node::Node ( )
inline

Definition at line 28 of file Node.h.

◆ Node() [2/2]

Freestyle::Node::Node ( const Node iBrother)
inline

Definition at line 32 of file Node.h.

References bbox().

◆ ~Node()

virtual Freestyle::Node::~Node ( )
inlinevirtual

Definition at line 37 of file Node.h.

Member Function Documentation

◆ accept()

virtual void Freestyle::Node::accept ( SceneVisitor v)
inlinevirtual

Accept the corresponding visitor Each inherited node must overload this method

Reimplemented in Freestyle::NodeViewLayer, Freestyle::NodeTransform, Freestyle::NodeShape, Freestyle::NodeLight, Freestyle::NodeGroup, Freestyle::NodeDrawingStyle, and Freestyle::NodeCamera.

Definition at line 44 of file Node.h.

References v.

◆ AddBBox()

virtual void Freestyle::Node::AddBBox ( const BBox< Vec3r > &  iBox)
inlinevirtual

Makes the union of _BBox and iBox

Reimplemented in Freestyle::NodeTransform.

Definition at line 65 of file Node.h.

References Freestyle::BBox< Point >::empty().

Referenced by Freestyle::NodeTransform::AddBBox(), and Freestyle::NodeGroup::UpdateBBox().

◆ bbox()

virtual const BBox<Vec3r>& Freestyle::Node::bbox ( ) const
inlinevirtual

bounding box management Returns the node bounding box If no bounding box exists, an empty bbox is returned

Definition at line 53 of file Node.h.

Referenced by Freestyle::AppView::AppView(), Freestyle::AppView::distanceToSceneCenter(), Freestyle::Controller::LoadMesh(), Node(), Freestyle::AppView::zfar(), and Freestyle::AppView::znear().

◆ clearBBox()

virtual void Freestyle::Node::clearBBox ( )
inlinevirtual

Clears the bounding box

Definition at line 86 of file Node.h.

Referenced by Freestyle::Controller::ClearRootNode(), and Freestyle::NodeGroup::UpdateBBox().

◆ setBBox()

virtual void Freestyle::Node::setBBox ( const BBox< Vec3r > &  iBox)
inlinevirtual

Sets the Node bounding box

Definition at line 59 of file Node.h.

◆ UpdateBBox()

virtual const BBox<Vec3r>& Freestyle::Node::UpdateBBox ( )
inlinevirtual

Updates the BBox

Reimplemented in Freestyle::NodeGroup.

Definition at line 80 of file Node.h.

Referenced by Freestyle::NodeGroup::UpdateBBox().


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