Blender V5.0
Freestyle::StrokeLayer Class Reference

#include <StrokeLayer.h>

Public Types

typedef std::deque< Stroke * > stroke_container

Public Member Functions

 StrokeLayer ()
 StrokeLayer (const stroke_container &iStrokes)
 StrokeLayer (const StrokeLayer &iBrother)
virtual ~StrokeLayer ()
void ScaleThickness (float iFactor)
void Render (const StrokeRenderer *iRenderer)
void RenderBasic (const StrokeRenderer *iRenderer)
void clear ()
stroke_container::iterator strokes_begin ()
stroke_container::iterator strokes_end ()
int strokes_size () const
bool empty () const
void setStrokes (stroke_container &iStrokes)
void AddStroke (Stroke *iStroke)

Protected Attributes

stroke_container _strokes

Detailed Description

Definition at line 20 of file StrokeLayer.h.

Member Typedef Documentation

◆ stroke_container

Definition at line 22 of file StrokeLayer.h.

Constructor & Destructor Documentation

◆ StrokeLayer() [1/3]

Freestyle::StrokeLayer::StrokeLayer ( )
inline

Definition at line 28 of file StrokeLayer.h.

Referenced by StrokeLayer().

◆ StrokeLayer() [2/3]

Freestyle::StrokeLayer::StrokeLayer ( const stroke_container & iStrokes)
inline

Definition at line 30 of file StrokeLayer.h.

References _strokes.

◆ StrokeLayer() [3/3]

Freestyle::StrokeLayer::StrokeLayer ( const StrokeLayer & iBrother)
inline

Definition at line 35 of file StrokeLayer.h.

References _strokes, and StrokeLayer().

◆ ~StrokeLayer()

Freestyle::StrokeLayer::~StrokeLayer ( )
virtual

Definition at line 16 of file StrokeLayer.cpp.

References clear().

Member Function Documentation

◆ AddStroke()

void Freestyle::StrokeLayer::AddStroke ( Stroke * iStroke)
inline

Definition at line 77 of file StrokeLayer.h.

References _strokes.

Referenced by Freestyle::StyleModule::execute().

◆ clear()

void Freestyle::StrokeLayer::clear ( )

clears the layer

Definition at line 51 of file StrokeLayer.cpp.

References _strokes.

Referenced by ~StrokeLayer().

◆ empty()

bool Freestyle::StrokeLayer::empty ( ) const
inline

Definition at line 66 of file StrokeLayer.h.

References _strokes.

◆ Render()

void Freestyle::StrokeLayer::Render ( const StrokeRenderer * iRenderer)

Definition at line 31 of file StrokeLayer.cpp.

References _strokes.

◆ RenderBasic()

void Freestyle::StrokeLayer::RenderBasic ( const StrokeRenderer * iRenderer)

Definition at line 41 of file StrokeLayer.cpp.

References _strokes.

◆ ScaleThickness()

void Freestyle::StrokeLayer::ScaleThickness ( float iFactor)

Render method

Definition at line 21 of file StrokeLayer.cpp.

References _strokes.

◆ setStrokes()

void Freestyle::StrokeLayer::setStrokes ( stroke_container & iStrokes)
inline

modifiers

Definition at line 72 of file StrokeLayer.h.

References _strokes.

◆ strokes_begin()

stroke_container::iterator Freestyle::StrokeLayer::strokes_begin ( )
inline

accessors

Definition at line 51 of file StrokeLayer.h.

References _strokes.

◆ strokes_end()

stroke_container::iterator Freestyle::StrokeLayer::strokes_end ( )
inline

Definition at line 56 of file StrokeLayer.h.

References _strokes.

◆ strokes_size()

int Freestyle::StrokeLayer::strokes_size ( ) const
inline

Definition at line 61 of file StrokeLayer.h.

References _strokes.

Member Data Documentation

◆ _strokes

stroke_container Freestyle::StrokeLayer::_strokes
protected

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