|
Blender V4.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 121 of file StrokeRep.h.
| typedef std::vector<StrokeVertexRep *> Freestyle::Strip::vertex_container |
Definition at line 123 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 41 of file StrokeRep.cpp.
References computeTexCoord(), computeTexCoordWithTips(), createStrip(), and setVertexColor().
| Strip::Strip | ( | const Strip & | iBrother | ) |
Definition at line 58 of file StrokeRep.cpp.
References _averageThickness, _vertices, and v.
|
virtual |
Definition at line 72 of file StrokeRep.cpp.
|
protected |
Definition at line 380 of file StrokeRep.cpp.
References _vertices, G, G_DEBUG_FREESTYLE, Freestyle::StrokeVertex::getPoint(), Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::notValid(), sizeStrip(), v, v2, and ZERO.
Referenced by createStrip().
|
protected |
Definition at line 535 of file StrokeRep.cpp.
References _averageThickness, _vertices, Freestyle::StrokeVertex::curvilinearAbscissa(), and v.
Referenced by Strip().
|
protected |
Definition at line 551 of file StrokeRep.cpp.
References _averageThickness, _vertices, 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(), tiles, v, and ZERO.
Referenced by Strip().
|
protected |
Definition at line 105 of file StrokeRep.cpp.
References _averageThickness, _vertices, Freestyle::StrokeVertex::attribute(), cleanUpSingularities(), 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.
Referenced by Strip().
|
protected |
Definition at line 512 of file StrokeRep.cpp.
References _vertices, Freestyle::StrokeVertex::attribute(), Freestyle::StrokeAttribute::getAlpha(), Freestyle::StrokeAttribute::getColor(), Freestyle::StrokeAttribute::getColorRGB(), and v.
Referenced by Strip().
|
inline |
Definition at line 149 of file StrokeRep.h.
References _vertices.
Referenced by cleanUpSingularities().
|
inline |
Definition at line 154 of file StrokeRep.h.
References _vertices.
|
protected |
Definition at line 127 of file StrokeRep.h.
Referenced by computeTexCoord(), computeTexCoordWithTips(), createStrip(), and Strip().
|
protected |
Definition at line 126 of file StrokeRep.h.
Referenced by cleanUpSingularities(), computeTexCoord(), computeTexCoordWithTips(), createStrip(), setVertexColor(), sizeStrip(), Strip(), vertices(), and ~Strip().