Blender V4.3
Freestyle::NodeShape Class Reference

#include <NodeShape.h>

Inherits Freestyle::Node.

Public Member Functions

 NodeShape ()
 
virtual ~NodeShape ()
 
virtual void AddRep (Rep *iRep)
 
virtual void accept (SceneVisitor &v)
 
void setFrsMaterial (const FrsMaterial &iMaterial)
 
FrsMaterialfrs_material ()
 
const vector< Rep * > & shapes ()
 
- Public Member Functions inherited from Freestyle::Node
 Node ()
 
 Node (const Node &iBrother)
 
virtual ~Node ()
 
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 29 of file NodeShape.h.

Constructor & Destructor Documentation

◆ NodeShape()

Freestyle::NodeShape::NodeShape ( )
inline

Definition at line 31 of file NodeShape.h.

◆ ~NodeShape()

Freestyle::NodeShape::~NodeShape ( )
virtual

Definition at line 14 of file NodeShape.cpp.

Member Function Documentation

◆ accept()

void Freestyle::NodeShape::accept ( SceneVisitor & v)
virtual

Accept the corresponding visitor

Reimplemented from Freestyle::Node.

Definition at line 30 of file NodeShape.cpp.

References v.

◆ AddRep()

virtual void Freestyle::NodeShape::AddRep ( Rep * iRep)
inlinevirtual

Adds a Rep to the _Shapes list The delete of the rep is done when it is not used any more by the Scene Manager. So, it must not be deleted by the caller

Definition at line 39 of file NodeShape.h.

References Freestyle::Node::AddBBox(), Freestyle::BaseObject::addRef(), and Freestyle::Rep::bbox().

Referenced by Freestyle::Controller::ComputeSteerableViewMap(), Freestyle::StrokeTesselator::Tesselate(), and Freestyle::ViewMapTesselator::Tesselate().

◆ frs_material()

FrsMaterial & Freestyle::NodeShape::frs_material ( )
inline

accessors returns the shape's material

Definition at line 62 of file NodeShape.h.

◆ setFrsMaterial()

void Freestyle::NodeShape::setFrsMaterial ( const FrsMaterial & iMaterial)
inline

Sets the shape material

Definition at line 55 of file NodeShape.h.

Referenced by Freestyle::StrokeTesselator::Tesselate(), and Freestyle::ViewMapTesselator::Tesselate().

◆ shapes()

const vector< Rep * > & Freestyle::NodeShape::shapes ( )
inline

Definition at line 67 of file NodeShape.h.


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