Blender  V3.3
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Freestyle::Strip Class Reference

#include <StrokeRep.h>

Public Types

typedef std::vector< StrokeVertexRep * > vertex_container
 

Public Member Functions

 Strip (const std::vector< StrokeVertex * > &iStrokeVertices, bool hasTex=false, bool tipBegin=false, bool tipEnd=false, float texStep=1.0)
 
 Strip (const Strip &iBrother)
 
virtual ~Strip ()
 
int sizeStrip () const
 
vertex_containervertices ()
 

Protected Member Functions

void createStrip (const std::vector< StrokeVertex * > &iStrokeVertices)
 
void cleanUpSingularities (const std::vector< StrokeVertex * > &iStrokeVertices)
 
void setVertexColor (const std::vector< StrokeVertex * > &iStrokeVertices)
 
void computeTexCoord (const std::vector< StrokeVertex * > &iStrokeVertices, float texStep)
 
void computeTexCoordWithTips (const std::vector< StrokeVertex * > &iStrokeVertices, bool tipBegin, bool tipEnd, float texStep)
 

Protected Attributes

vertex_container _vertices
 
float _averageThickness
 

Detailed Description

Definition at line 123 of file StrokeRep.h.

Member Typedef Documentation

◆ vertex_container

typedef std::vector<StrokeVertexRep *> Freestyle::Strip::vertex_container

Definition at line 125 of file StrokeRep.h.

Constructor & Destructor Documentation

◆ Strip() [1/2]

Strip::Strip ( const std::vector< StrokeVertex * > &  iStrokeVertices,
bool  hasTex = false,
bool  tipBegin = false,
bool  tipEnd = false,
float  texStep = 1.0 
)

Definition at line 39 of file StrokeRep.cpp.

◆ Strip() [2/2]

Strip::Strip ( const Strip iBrother)

Definition at line 56 of file StrokeRep.cpp.

References _averageThickness, _vertices, and v.

◆ ~Strip()

Strip::~Strip ( )
virtual

Definition at line 69 of file StrokeRep.cpp.

References v.

Member Function Documentation

◆ cleanUpSingularities()

void Strip::cleanUpSingularities ( const std::vector< StrokeVertex * > &  iStrokeVertices)
protected

◆ computeTexCoord()

void Strip::computeTexCoord ( const std::vector< StrokeVertex * > &  iStrokeVertices,
float  texStep 
)
protected

Definition at line 530 of file StrokeRep.cpp.

References Freestyle::StrokeVertex::curvilinearAbscissa(), and v.

◆ computeTexCoordWithTips()

void Strip::computeTexCoordWithTips ( const std::vector< StrokeVertex * > &  iStrokeVertices,
bool  tipBegin,
bool  tipEnd,
float  texStep 
)
protected

◆ createStrip()

void Strip::createStrip ( const std::vector< StrokeVertex * > &  iStrokeVertices)
protected

◆ setVertexColor()

void Strip::setVertexColor ( const std::vector< StrokeVertex * > &  iStrokeVertices)
protected

◆ sizeStrip()

int Freestyle::Strip::sizeStrip ( ) const
inline

Definition at line 151 of file StrokeRep.h.

◆ vertices()

vertex_container& Freestyle::Strip::vertices ( )
inline

Definition at line 156 of file StrokeRep.h.

Member Data Documentation

◆ _averageThickness

float Freestyle::Strip::_averageThickness
protected

Definition at line 129 of file StrokeRep.h.

Referenced by Strip().

◆ _vertices

vertex_container Freestyle::Strip::_vertices
protected

Definition at line 128 of file StrokeRep.h.

Referenced by Strip().


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