Blender
V3.3
|
#include <Stroke.h>
Additional Inherited Members | |
![]() | |
typedef SVertex | vertex_type |
![]() | |
SVertex * | __A |
SVertex * | __B |
float | _t2d |
Vec3r | _Point2d |
Vec3r | _Point3d |
Freestyle::StrokeVertex::StrokeVertex | ( | ) |
default constructor
Definition at line 331 of file Stroke.cpp.
Freestyle::StrokeVertex::StrokeVertex | ( | const StrokeVertex & | iBrother | ) |
Copy constructor
Definition at line 337 of file Stroke.cpp.
Freestyle::StrokeVertex::StrokeVertex | ( | SVertex * | iSVertex | ) |
Builds a stroke vertex from a SVertex
Definition at line 344 of file Stroke.cpp.
Freestyle::StrokeVertex::StrokeVertex | ( | CurvePoint * | iPoint | ) |
Builds a stroke vertex from a CurvePoint
Definition at line 350 of file Stroke.cpp.
Freestyle::StrokeVertex::StrokeVertex | ( | StrokeVertex * | iA, |
StrokeVertex * | iB, | ||
float | t3 | ||
) |
Builds Stroke Vertex from 2 stroke vertices and an interpolation parameter.
Definition at line 356 of file Stroke.cpp.
References attribute(), curvilinearAbscissa(), and strokeLength().
Freestyle::StrokeVertex::StrokeVertex | ( | SVertex * | iSVertex, |
const StrokeAttribute & | iAttribute | ||
) |
Builds a stroke from a view vertex and an attribute
Definition at line 364 of file Stroke.cpp.
|
inline |
Returns a non-const reference to the StrokeAttribute of this StrokeVertex
|
inline |
Returns the StrokeAttribute for this StrokeVertex
Definition at line 374 of file Stroke.h.
Referenced by Freestyle::Strip::computeTexCoordWithTips(), Freestyle::Strip::createStrip(), Freestyle::operator<<(), Freestyle::Strip::setVertexColor(), Freestyle::CalligraphicShader::shade(), Freestyle::StrokeShaders::MaterialColorShader::shade(), Freestyle::StrokeShaders::BezierCurveShader::shade(), and StrokeVertex().
|
inline |
Returns the curvilinear abscissa
Definition at line 386 of file Stroke.h.
Referenced by Freestyle::Strip::computeTexCoord(), Freestyle::Strip::computeTexCoordWithTips(), Freestyle::operator<<(), and StrokeVertex().
|
inlinevirtual |
Returns the string "StrokeVertex"
Reimplemented from Freestyle::CurvePoint.
|
inline |
Returns the 2D point coordinates as a Vec2r
Definition at line 362 of file Stroke.h.
References Freestyle::CurvePoint::getPoint2D().
Referenced by Freestyle::Strip::cleanUpSingularities(), Freestyle::Strip::createStrip(), and Freestyle::createStroke().
StrokeVertex & Freestyle::StrokeVertex::operator= | ( | const StrokeVertex & | iBrother | ) |
operator =
Definition at line 372 of file Stroke.cpp.
|
inline |
Returns a reference to the ith 2D point coordinate (i=0 or 1)
Definition at line 431 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
|
inline |
Returns the ith 2D point coordinate (i=0 or 1).
Definition at line 368 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
|
inline |
sets the curvilinear abscissa of this StrokeVertex in the Stroke
Definition at line 443 of file Stroke.h.
Referenced by Freestyle::createStroke().
sets the 2D x and y values
Definition at line 424 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
sets the 2D x and y values
Definition at line 417 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d, x(), and y().
Referenced by Freestyle::createStroke(), and Freestyle::StrokeShaders::ExternalContourStretcherShader::shade().
sets the 2D x value
Definition at line 405 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d, and x().
Referenced by Freestyle::StrokeShaders::BezierCurveShader::shade().
sets the 2D y value
Definition at line 411 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d, and y().
Referenced by Freestyle::StrokeShaders::BezierCurveShader::shade().
|
inline |
Returns the length of the Stroke to which this StrokeVertex belongs
Definition at line 392 of file Stroke.h.
Referenced by Freestyle::SpatialNoiseShader::shade(), and StrokeVertex().
|
inline |
Returns the curvilinear abscissa of this StrokeVertex in the Stroke
|
inline |
Returns the 2D point x coordinate
Definition at line 350 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
Referenced by setPoint(), setX(), and Freestyle::StrokeShaders::ExternalContourStretcherShader::shade().
|
inline |
Returns the 2D point y coordinate
Definition at line 356 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
Referenced by setPoint(), setY(), and Freestyle::StrokeShaders::ExternalContourStretcherShader::shade().