Blender
V3.3
|
#include <StrokeRep.h>
Public Member Functions | |
StrokeRep () | |
StrokeRep (const StrokeRep &) | |
StrokeRep (Stroke *iStroke) | |
virtual | ~StrokeRep () |
virtual void | create () |
virtual void | Render (const StrokeRenderer *iRenderer) |
Stroke::MediumType | getMediumType () const |
unsigned | getTextureId () const |
MTex * | getMTex (int idx) const |
Material * | getMaterial () const |
bNodeTree * | getNodeTree () const |
bool | hasTex () const |
vector< Strip * > & | getStrips () |
unsigned int | getNumberOfStrips () const |
Stroke * | getStroke () |
void | setMediumType (Stroke::MediumType itype) |
void | setTextureId (unsigned textureId) |
void | setMaterial (Material *mat) |
Protected Attributes | |
Stroke * | _stroke |
vector< Strip * > | _strips |
Stroke::MediumType | _strokeType |
unsigned int | _textureId |
float | _textureStep |
MTex * | _mtex [MAX_MTEX] |
bNodeTree * | _nodeTree |
Material * | _material |
bool | _hasTex |
Definition at line 166 of file StrokeRep.h.
Freestyle::StrokeRep::StrokeRep | ( | ) |
Definition at line 737 of file StrokeRep.cpp.
References Freestyle::a, Freestyle::TextureManager::getDefaultTextureId(), and MAX_MTEX.
Freestyle::StrokeRep::StrokeRep | ( | const StrokeRep & | iBrother | ) |
Definition at line 797 of file StrokeRep.cpp.
References _hasTex, _mtex, _nodeTree, _strips, _stroke, _strokeType, _textureId, _textureStep, Freestyle::a, and MAX_MTEX.
Freestyle::StrokeRep::StrokeRep | ( | Stroke * | iStroke | ) |
Definition at line 762 of file StrokeRep.cpp.
References Freestyle::a, blender::bke::idprop::create(), Freestyle::TextureManager::getDefaultTextureId(), Freestyle::Stroke::getMediumType(), Freestyle::Stroke::getMTex(), Freestyle::Stroke::getNodeTree(), Freestyle::Stroke::getTextureId(), Freestyle::Stroke::getTextureStep(), Freestyle::Stroke::hasTex(), and MAX_MTEX.
|
virtual |
Definition at line 821 of file StrokeRep.cpp.
|
virtual |
|
inline |
Definition at line 208 of file StrokeRep.h.
|
inline |
accessors
Definition at line 193 of file StrokeRep.h.
|
inline |
Definition at line 203 of file StrokeRep.h.
|
inline |
Definition at line 213 of file StrokeRep.h.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().
|
inline |
Definition at line 228 of file StrokeRep.h.
Definition at line 223 of file StrokeRep.h.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic(), and Freestyle::PSStrokeRenderer::RenderStrokeRepBasic().
|
inline |
Definition at line 233 of file StrokeRep.h.
Referenced by Freestyle::TextStrokeRenderer::RenderStrokeRepBasic().
|
inline |
Definition at line 198 of file StrokeRep.h.
|
inline |
Definition at line 218 of file StrokeRep.h.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().
|
virtual |
Renders the stroke using a Renderer
Definition at line 863 of file StrokeRep.cpp.
References Freestyle::StrokeRenderer::RenderStrokeRep().
Definition at line 249 of file StrokeRep.h.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().
|
inline |
|
inline |
Definition at line 244 of file StrokeRep.h.
|
protected |
Definition at line 176 of file StrokeRep.h.
Referenced by StrokeRep().
|
protected |
Definition at line 175 of file StrokeRep.h.
Definition at line 173 of file StrokeRep.h.
Referenced by StrokeRep().
|
protected |
Definition at line 174 of file StrokeRep.h.
Referenced by StrokeRep().
Definition at line 169 of file StrokeRep.h.
Referenced by StrokeRep().
|
protected |
Definition at line 168 of file StrokeRep.h.
Referenced by StrokeRep().
|
protected |
Definition at line 170 of file StrokeRep.h.
Referenced by StrokeRep().
|
protected |
Definition at line 171 of file StrokeRep.h.
Referenced by StrokeRep().
|
protected |
Definition at line 172 of file StrokeRep.h.
Referenced by StrokeRep().