|
Blender V4.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 |
| uint | getTextureId () const |
| MTex * | getMTex (int idx) const |
| Material * | getMaterial () const |
| bNodeTree * | getNodeTree () const |
| bool | hasTex () const |
| vector< Strip * > & | getStrips () |
| uint | getNumberOfStrips () const |
| Stroke * | getStroke () |
| void | setMediumType (Stroke::MediumType itype) |
| void | setTextureId (uint textureId) |
| void | setMaterial (Material *mat) |
Protected Attributes | |
| Stroke * | _stroke |
| vector< Strip * > | _strips |
| Stroke::MediumType | _strokeType |
| uint | _textureId |
| float | _textureStep |
| MTex * | _mtex [MAX_MTEX] |
| bNodeTree * | _nodeTree |
| Material * | _material |
| bool | _hasTex |
Definition at line 164 of file StrokeRep.h.
| Freestyle::StrokeRep::StrokeRep | ( | ) |
Definition at line 742 of file StrokeRep.cpp.
References _hasTex, _mtex, _nodeTree, _stroke, _strokeType, _textureId, _textureStep, Freestyle::a, Freestyle::TextureManager::getDefaultTextureId(), Freestyle::TextureManager::getInstance(), MAX_MTEX, and Freestyle::Stroke::OPAQUE_MEDIUM.
| Freestyle::StrokeRep::StrokeRep | ( | const StrokeRep & | iBrother | ) |
Definition at line 802 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 767 of file StrokeRep.cpp.
References _hasTex, _mtex, _nodeTree, _stroke, _strokeType, _textureId, _textureStep, Freestyle::a, create(), Freestyle::TextureManager::getDefaultTextureId(), Freestyle::TextureManager::getInstance(), 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 827 of file StrokeRep.cpp.
References _strips.
|
virtual |
Creates the strips
Definition at line 837 of file StrokeRep.cpp.
References _hasTex, _strips, _stroke, _textureStep, Freestyle::Stroke::strokeVerticesBegin(), Freestyle::Stroke::strokeVerticesEnd(), and v.
Referenced by StrokeRep().
|
inline |
Definition at line 206 of file StrokeRep.h.
References _material.
|
inline |
Definition at line 201 of file StrokeRep.h.
References _mtex.
|
inline |
Definition at line 211 of file StrokeRep.h.
References _nodeTree.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().
|
inline |
Definition at line 226 of file StrokeRep.h.
References _strips.
Definition at line 221 of file StrokeRep.h.
References _strips.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic(), and Freestyle::PSStrokeRenderer::RenderStrokeRepBasic().
|
inline |
Definition at line 231 of file StrokeRep.h.
References _stroke.
Referenced by Freestyle::TextStrokeRenderer::RenderStrokeRepBasic().
|
inline |
Definition at line 196 of file StrokeRep.h.
References _textureId.
|
inline |
Definition at line 216 of file StrokeRep.h.
References _hasTex.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().
|
virtual |
Renders the stroke using a Renderer
Definition at line 869 of file StrokeRep.cpp.
References Freestyle::StrokeRenderer::RenderStrokeRep().
|
inline |
Definition at line 247 of file StrokeRep.h.
References _material.
Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().
|
inline |
|
inline |
Definition at line 242 of file StrokeRep.h.
References _textureId.
|
protected |
Definition at line 174 of file StrokeRep.h.
Referenced by create(), hasTex(), StrokeRep(), StrokeRep(), and StrokeRep().
|
protected |
Definition at line 173 of file StrokeRep.h.
Referenced by getMaterial(), and setMaterial().
Definition at line 171 of file StrokeRep.h.
Referenced by getMTex(), StrokeRep(), StrokeRep(), and StrokeRep().
|
protected |
Definition at line 172 of file StrokeRep.h.
Referenced by getNodeTree(), StrokeRep(), StrokeRep(), and StrokeRep().
Definition at line 167 of file StrokeRep.h.
Referenced by create(), getNumberOfStrips(), getStrips(), StrokeRep(), and ~StrokeRep().
|
protected |
Definition at line 166 of file StrokeRep.h.
Referenced by create(), getStroke(), StrokeRep(), StrokeRep(), and StrokeRep().
|
protected |
Definition at line 168 of file StrokeRep.h.
Referenced by getMediumType(), setMediumType(), StrokeRep(), StrokeRep(), and StrokeRep().
|
protected |
Definition at line 169 of file StrokeRep.h.
Referenced by getTextureId(), setTextureId(), StrokeRep(), StrokeRep(), and StrokeRep().
|
protected |
Definition at line 170 of file StrokeRep.h.
Referenced by create(), StrokeRep(), StrokeRep(), and StrokeRep().