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

#include <NodeDrawingStyle.h>

Inheritance diagram for Freestyle::NodeDrawingStyle:
Freestyle::NodeGroup Freestyle::Node Freestyle::BaseObject

Public Member Functions

 NodeDrawingStyle ()
 
virtual ~NodeDrawingStyle ()
 
const DrawingStyledrawingStyle () const
 
void setDrawingStyle (const DrawingStyle &iDrawingStyle)
 
void setStyle (const DrawingStyle::STYLE iStyle)
 
void setLineWidth (const float iLineWidth)
 
void setPointSize (const float iPointSize)
 
void setLightingEnabled (const bool iEnableLighting)
 
virtual void accept (SceneVisitor &v)
 
DrawingStyle::STYLE style () const
 
float lineWidth () const
 
float pointSize () const
 
bool lightingEnabled () const
 
- Public Member Functions inherited from Freestyle::NodeGroup
 NodeGroup ()
 
virtual ~NodeGroup ()
 
virtual void AddChild (Node *iChild)
 
virtual int destroy ()
 
virtual void DetachChildren ()
 
virtual void DetachChild (Node *iChild)
 
virtual void RetrieveChildren (vector< Node * > &oNodes)
 
virtual const BBox< Vec3r > & UpdateBBox ()
 
virtual int numberOfChildren ()
 
- 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 void clearBBox ()
 
- Public Member Functions inherited from Freestyle::BaseObject
 BaseObject ()
 
virtual ~BaseObject ()
 
int addRef ()
 
int release ()
 

Additional Inherited Members

- Protected Attributes inherited from Freestyle::NodeGroup
vector< Node * > _Children
 

Detailed Description

Definition at line 18 of file NodeDrawingStyle.h.

Constructor & Destructor Documentation

◆ NodeDrawingStyle()

Freestyle::NodeDrawingStyle::NodeDrawingStyle ( )
inline

Definition at line 20 of file NodeDrawingStyle.h.

◆ ~NodeDrawingStyle()

virtual Freestyle::NodeDrawingStyle::~NodeDrawingStyle ( )
inlinevirtual

Definition at line 23 of file NodeDrawingStyle.h.

Member Function Documentation

◆ accept()

void Freestyle::NodeDrawingStyle::accept ( SceneVisitor v)
virtual

Accept the corresponding visitor

Reimplemented from Freestyle::NodeGroup.

Definition at line 13 of file NodeDrawingStyle.cpp.

References Freestyle::NodeGroup::_Children, node, and v.

◆ drawingStyle()

const DrawingStyle& Freestyle::NodeDrawingStyle::drawingStyle ( ) const
inline

Definition at line 27 of file NodeDrawingStyle.h.

◆ lightingEnabled()

bool Freestyle::NodeDrawingStyle::lightingEnabled ( ) const
inline

Definition at line 80 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::lightingEnabled().

◆ lineWidth()

float Freestyle::NodeDrawingStyle::lineWidth ( ) const
inline

Definition at line 70 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::lineWidth().

◆ pointSize()

float Freestyle::NodeDrawingStyle::pointSize ( ) const
inline

Definition at line 75 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::pointSize().

◆ setDrawingStyle()

void Freestyle::NodeDrawingStyle::setDrawingStyle ( const DrawingStyle iDrawingStyle)
inline

Definition at line 32 of file NodeDrawingStyle.h.

◆ setLightingEnabled()

void Freestyle::NodeDrawingStyle::setLightingEnabled ( const bool  iEnableLighting)
inline

Enables or disables the lighting. true = enable

Definition at line 56 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::setLightingEnabled().

Referenced by Freestyle::AppView::AppView().

◆ setLineWidth()

void Freestyle::NodeDrawingStyle::setLineWidth ( const float  iLineWidth)
inline

Sets the line width in the LINES style case

Definition at line 44 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::setLineWidth().

Referenced by Freestyle::AppView::AppView().

◆ setPointSize()

void Freestyle::NodeDrawingStyle::setPointSize ( const float  iPointSize)
inline

Sets the Point size in the POINTS style case

Definition at line 50 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::setPointSize().

Referenced by Freestyle::AppView::AppView().

◆ setStyle()

void Freestyle::NodeDrawingStyle::setStyle ( const DrawingStyle::STYLE  iStyle)
inline

Sets the style. Must be one of FILLED, LINES, POINTS, INVISIBLE.

Definition at line 38 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::setStyle().

Referenced by Freestyle::AppView::AppView().

◆ style()

DrawingStyle::STYLE Freestyle::NodeDrawingStyle::style ( ) const
inline

accessors

Definition at line 65 of file NodeDrawingStyle.h.

References Freestyle::DrawingStyle::style().


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