|
Blender V4.3
|
#include <Stroke.h>
Inherits Freestyle::CurvePoint.
Public Member Functions | |
| virtual string | getExactTypeName () const |
| StrokeVertex () | |
| StrokeVertex (const StrokeVertex &iBrother) | |
| StrokeVertex (SVertex *iSVertex) | |
| StrokeVertex (CurvePoint *iPoint) | |
| StrokeVertex (StrokeVertex *iA, StrokeVertex *iB, float t3) | |
| StrokeVertex (SVertex *iSVertex, const StrokeAttribute &iAttribute) | |
| StrokeVertex & | operator= (const StrokeVertex &iBrother) |
| real | x () const |
| real | y () const |
| Vec2r | getPoint () const |
| real | operator[] (const int i) const |
| const StrokeAttribute & | attribute () const |
| StrokeAttribute & | attribute () |
| float | curvilinearAbscissa () const |
| float | strokeLength () const |
| float | u () const |
| void | setX (real x) |
| void | setY (real y) |
| void | setPoint (real x, real y) |
| void | setPoint (const Vec2r &p) |
| real & | operator[] (const int i) |
| void | setAttribute (const StrokeAttribute &iAttribute) |
| void | setCurvilinearAbscissa (float iAbscissa) |
| void | setStrokeLength (float iLength) |
Public Member Functions inherited from Freestyle::CurvePoint | |
| virtual real | getX () const |
| virtual real | getY () const |
| virtual real | getZ () const |
| virtual Vec3r | getPoint3D () const |
| virtual real | getProjectedX () const |
| virtual real | getProjectedY () const |
| virtual real | getProjectedZ () const |
| virtual Vec2r | getPoint2D () const |
| virtual FEdge * | getFEdge (Interface0D &inter) |
| virtual Id | getId () const |
| virtual Nature::VertexNature | getNature () const |
| virtual SVertex * | castToSVertex () |
| virtual ViewVertex * | castToViewVertex () |
| virtual NonTVertex * | castToNonTVertex () |
| virtual TVertex * | castToTVertex () |
| CurvePoint () | |
| CurvePoint (SVertex *iA, SVertex *iB, float t) | |
| CurvePoint (CurvePoint *iA, CurvePoint *iB, float t) | |
| CurvePoint (const CurvePoint &iBrother) | |
| CurvePoint & | operator= (const CurvePoint &iBrother) |
| virtual | ~CurvePoint ()=default |
| bool | operator== (const CurvePoint &b) |
| SVertex * | A () |
| SVertex * | B () |
| float | t2d () const |
| void | setA (SVertex *iA) |
| void | setB (SVertex *iB) |
| void | setT2d (float t) |
| FEdge * | fedge () |
| const Vec3r & | point2d () const |
| const Vec3r & | point3d () const |
| Vec3r | normal () const |
| const SShape * | shape () const |
| occluder_container::const_iterator | occluders_begin () const |
| occluder_container::const_iterator | occluders_end () const |
| bool | occluders_empty () const |
| int | occluders_size () const |
| const Polygon3r & | occludee () const |
| const SShape * | occluded_shape () const |
| bool | occludee_empty () const |
| real | z_discontinuity () const |
Public Member Functions inherited from Freestyle::Interface0D | |
| Interface0D () | |
| virtual | ~Interface0D () |
Additional Inherited Members | |
Public Types inherited from Freestyle::CurvePoint | |
| typedef SVertex | vertex_type |
Protected Attributes inherited from Freestyle::CurvePoint | |
| SVertex * | __A |
| SVertex * | __B |
| float | _t2d |
| Vec3r | _Point2d |
| Vec3r | _Point3d |
| Freestyle::StrokeVertex::StrokeVertex | ( | ) |
default constructor
Definition at line 333 of file Stroke.cpp.
| Freestyle::StrokeVertex::StrokeVertex | ( | const StrokeVertex & | iBrother | ) |
Copy constructor
Definition at line 339 of file Stroke.cpp.
| Freestyle::StrokeVertex::StrokeVertex | ( | SVertex * | iSVertex | ) |
Builds a stroke vertex from a SVertex
Definition at line 346 of file Stroke.cpp.
| Freestyle::StrokeVertex::StrokeVertex | ( | CurvePoint * | iPoint | ) |
Builds a stroke vertex from a CurvePoint
Definition at line 352 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 358 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 366 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 376 of file Stroke.h.
Referenced by Freestyle::Strip::computeTexCoordWithTips(), Freestyle::Strip::createStrip(), Freestyle::operator<<(), Freestyle::Strip::setVertexColor(), Freestyle::CalligraphicShader::shade(), Freestyle::StrokeShaders::MaterialColorShader::shade(), and StrokeVertex().
|
inline |
Returns the curvilinear abscissa
Definition at line 388 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 364 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 374 of file Stroke.cpp.
Returns a reference to the i-th 2D point coordinate (i=0 or 1).
Definition at line 433 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
Returns the i-th 2D point coordinate (i=0 or 1).
Definition at line 370 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
|
inline |
|
inline |
sets the curvilinear abscissa of this StrokeVertex in the Stroke
Definition at line 445 of file Stroke.h.
Referenced by Freestyle::createStroke().
|
inline |
sets the 2D x and y values
Definition at line 426 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
sets the 2D x and y values
Definition at line 419 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d, x(), and y().
Referenced by Freestyle::createStroke(), and Freestyle::StrokeShaders::ExternalContourStretcherShader::shade().
|
inline |
|
inline |
sets the 2D x value
Definition at line 407 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d, and x().
Referenced by Freestyle::StrokeShaders::BezierCurveShader::shade().
|
inline |
sets the 2D y value
Definition at line 413 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d, and y().
|
inline |
Returns the length of the Stroke to which this StrokeVertex belongs
Definition at line 394 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 352 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 358 of file Stroke.h.
References Freestyle::CurvePoint::_Point2d.
Referenced by setPoint(), setY(), and Freestyle::StrokeShaders::ExternalContourStretcherShader::shade().