|
Blender V4.3
|
#include <Node.h>
Inherits Freestyle::BaseObject.
Inherited by Freestyle::NodeCamera, Freestyle::NodeGroup, Freestyle::NodeLight, Freestyle::NodeShape, and Freestyle::NodeViewLayer.
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 () |
|
inline |
|
inlinevirtual |
Accept the corresponding visitor Each inherited node must overload this method
Reimplemented in Freestyle::NodeCamera, Freestyle::NodeDrawingStyle, Freestyle::NodeGroup, Freestyle::NodeLight, Freestyle::NodeShape, Freestyle::NodeTransform, and Freestyle::NodeViewLayer.
Definition at line 42 of file Node.h.
References v.
Makes the union of _BBox and iBox
Reimplemented in Freestyle::NodeTransform.
Definition at line 63 of file Node.h.
References Freestyle::BBox< Point >::empty().
Referenced by Freestyle::NodeTransform::AddBBox(), Freestyle::NodeShape::AddRep(), and Freestyle::NodeGroup::UpdateBBox().
bounding box management Returns the node bounding box If no bounding box exists, an empty bbox is returned
Definition at line 51 of file Node.h.
Referenced by Freestyle::AppView::AddModel(), Freestyle::AppView::AppView(), Freestyle::AppView::DetachModel(), Freestyle::AppView::distanceToSceneCenter(), Freestyle::Controller::LoadMesh(), Node(), Freestyle::AppView::scene3DBBox(), Freestyle::AppView::zfar(), and Freestyle::AppView::znear().
|
inlinevirtual |
Clears the bounding box
Definition at line 84 of file Node.h.
Referenced by Freestyle::Controller::ClearRootNode(), Freestyle::AppView::DetachModel(), Freestyle::AppView::setDebug(), Freestyle::AppView::setModel(), and Freestyle::NodeGroup::UpdateBBox().
Updates the BBox
Reimplemented in Freestyle::NodeGroup.
Definition at line 78 of file Node.h.
Referenced by Freestyle::NodeGroup::UpdateBBox().