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

#include <NodeShape.h>

Inheritance diagram for Freestyle::NodeShape:
Freestyle::Node Freestyle::BaseObject

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 27 of file NodeShape.h.

Constructor & Destructor Documentation

◆ NodeShape()

Freestyle::NodeShape::NodeShape ( )
inline

Definition at line 29 of file NodeShape.h.

◆ ~NodeShape()

Freestyle::NodeShape::~NodeShape ( )
virtual

Definition at line 12 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 28 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::BaseObject::addRef(), Freestyle::Rep::bbox(), and NULL.

Referenced by Freestyle::Controller::ComputeSteerableViewMap(), Freestyle::BlenderFileLoader::insertShapeNode(), 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

◆ 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: