Blender  V3.3
Public Types | Public Member Functions | Protected Attributes | List of all members
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.

◆ StrokeLayer() [2/3]

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

Definition at line 32 of file StrokeLayer.h.

References _strokes.

◆ StrokeLayer() [3/3]

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

Definition at line 37 of file StrokeLayer.h.

References _strokes.

◆ ~StrokeLayer()

Freestyle::StrokeLayer::~StrokeLayer ( )
virtual

Definition at line 14 of file StrokeLayer.cpp.

References clear().

Member Function Documentation

◆ AddStroke()

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

Definition at line 79 of file StrokeLayer.h.

References _strokes.

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

◆ clear()

void Freestyle::StrokeLayer::clear ( )

clears the layer

Definition at line 46 of file StrokeLayer.cpp.

References _strokes.

Referenced by ~StrokeLayer().

◆ empty()

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

Definition at line 68 of file StrokeLayer.h.

References _strokes.

◆ Render()

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

Definition at line 28 of file StrokeLayer.cpp.

References _strokes.

◆ RenderBasic()

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

Definition at line 37 of file StrokeLayer.cpp.

References _strokes.

◆ ScaleThickness()

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

Render method

Definition at line 19 of file StrokeLayer.cpp.

References _strokes.

◆ setStrokes()

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

modifiers

Definition at line 74 of file StrokeLayer.h.

References _strokes.

◆ strokes_begin()

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

accessors

Definition at line 53 of file StrokeLayer.h.

References _strokes.

◆ strokes_end()

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

Definition at line 58 of file StrokeLayer.h.

References _strokes.

◆ strokes_size()

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

Definition at line 63 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: