Blender
V3.3
|
#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_container & | vertices () |
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 |
Definition at line 123 of file StrokeRep.h.
typedef std::vector<StrokeVertexRep *> Freestyle::Strip::vertex_container |
Definition at line 125 of file StrokeRep.h.
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::Strip | ( | const Strip & | iBrother | ) |
Definition at line 56 of file StrokeRep.cpp.
References _averageThickness, _vertices, and v.
|
virtual |
Definition at line 69 of file StrokeRep.cpp.
References v.
|
protected |
Definition at line 375 of file StrokeRep.cpp.
References G, G_DEBUG_FREESTYLE, Freestyle::StrokeVertex::getPoint(), Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::notValid(), v, v2, and ZERO.
|
protected |
Definition at line 530 of file StrokeRep.cpp.
References Freestyle::StrokeVertex::curvilinearAbscissa(), and v.
|
protected |
Definition at line 546 of file StrokeRep.cpp.
References Freestyle::StrokeVertex::attribute(), color, Freestyle::StrokeVertex::curvilinearAbscissa(), fabs(), float(), Freestyle::StrokeAttribute::getAlpha(), Freestyle::StrokeAttribute::getColorRGB(), l, Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::StrokeVertexRep::setAlpha(), Freestyle::StrokeVertexRep::setColor(), Freestyle::StrokeVertexRep::setTexCoord(), t, tiles, v, and ZERO.
|
protected |
Definition at line 102 of file StrokeRep.cpp.
References Freestyle::StrokeVertex::attribute(), Freestyle::GeomUtils::DO_INTERSECT, e, EPS_SINGULARITY_RENDERER, fabs(), float(), G, G_DEBUG_FREESTYLE, Freestyle::StrokeAttribute::getAttributeVec2f(), Freestyle::StrokeVertex::getPoint(), Freestyle::StrokeAttribute::getThickness(), Freestyle::GeomUtils::intersect2dLine2dLine(), Freestyle::StrokeAttribute::isAttributeAvailableVec2f(), MAX_RATIO_LENGTH_SINGU, Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::notValid(), v, v2, and ZERO.
|
protected |
Definition at line 507 of file StrokeRep.cpp.
References Freestyle::StrokeVertex::attribute(), Freestyle::StrokeAttribute::getAlpha(), Freestyle::StrokeAttribute::getColor(), Freestyle::StrokeAttribute::getColorRGB(), and v.
|
inline |
Definition at line 151 of file StrokeRep.h.
|
inline |
Definition at line 156 of file StrokeRep.h.
|
protected |
Definition at line 129 of file StrokeRep.h.
Referenced by Strip().
|
protected |
Definition at line 128 of file StrokeRep.h.
Referenced by Strip().