Blender
V3.3
|
#include <StrokeTesselator.h>
Public Member Functions | |
StrokeTesselator () | |
virtual | ~StrokeTesselator () |
LineRep * | Tesselate (Stroke *iStroke) |
template<class StrokeIterator > | |
NodeGroup * | Tesselate (StrokeIterator begin, StrokeIterator end) |
void | setFrsMaterial (const FrsMaterial &iMaterial) |
const FrsMaterial & | frs_material () const |
template<class StrokeVertexIterator > | |
NodeGroup * | Tesselate (StrokeVertexIterator begin, StrokeVertexIterator end) |
Definition at line 20 of file StrokeTesselator.h.
|
inline |
Definition at line 22 of file StrokeTesselator.h.
References Freestyle::FrsMaterial::setDiffuse().
|
inlinevirtual |
Definition at line 28 of file StrokeTesselator.h.
|
inline |
Definition at line 46 of file StrokeTesselator.h.
|
inline |
Definition at line 40 of file StrokeTesselator.h.
Builds a line rep contained from a Stroke
Definition at line 17 of file StrokeTesselator.cpp.
References A, Freestyle::LineRep::AddVertex(), B, Freestyle::LineRep::ComputeBBox(), Freestyle::Stroke::getId(), Freestyle::LineRep::LINE_STRIP, Freestyle::LineRep::LINES, Freestyle::Rep::setFrsMaterial(), Freestyle::Rep::setId(), Freestyle::LineRep::setStyle(), V, v, Freestyle::Stroke::vertices_begin(), Freestyle::Stroke::vertices_end(), and Freestyle::Stroke::vertices_size().
Referenced by Tesselate().
NodeGroup* Freestyle::StrokeTesselator::Tesselate | ( | StrokeIterator | begin, |
StrokeIterator | end | ||
) |
NodeGroup* Freestyle::StrokeTesselator::Tesselate | ( | StrokeVertexIterator | begin, |
StrokeVertexIterator | end | ||
) |
Definition at line 58 of file StrokeTesselator.cpp.
References Freestyle::NodeGroup::AddChild(), Freestyle::NodeShape::AddRep(), Freestyle::c, Freestyle::NodeShape::setFrsMaterial(), and Tesselate().