Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
Freestyle::StrokeRep Class Reference

#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
 
MTexgetMTex (int idx) const
 
MaterialgetMaterial () const
 
bNodeTreegetNodeTree () const
 
bool hasTex () const
 
vector< Strip * > & getStrips ()
 
unsigned int getNumberOfStrips () const
 
StrokegetStroke ()
 
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
 

Detailed Description

Definition at line 166 of file StrokeRep.h.

Constructor & Destructor Documentation

◆ StrokeRep() [1/3]

Freestyle::StrokeRep::StrokeRep ( )

◆ StrokeRep() [2/3]

Freestyle::StrokeRep::StrokeRep ( const StrokeRep iBrother)

◆ StrokeRep() [3/3]

Freestyle::StrokeRep::StrokeRep ( Stroke iStroke)

◆ ~StrokeRep()

Freestyle::StrokeRep::~StrokeRep ( )
virtual

Definition at line 821 of file StrokeRep.cpp.

Member Function Documentation

◆ create()

void Freestyle::StrokeRep::create ( )
virtual

Creates the strips

Definition at line 831 of file StrokeRep.cpp.

References v.

◆ getMaterial()

Material* Freestyle::StrokeRep::getMaterial ( ) const
inline

Definition at line 208 of file StrokeRep.h.

◆ getMediumType()

Stroke::MediumType Freestyle::StrokeRep::getMediumType ( ) const
inline

accessors

Definition at line 193 of file StrokeRep.h.

◆ getMTex()

MTex* Freestyle::StrokeRep::getMTex ( int  idx) const
inline

Definition at line 203 of file StrokeRep.h.

◆ getNodeTree()

bNodeTree* Freestyle::StrokeRep::getNodeTree ( ) const
inline

Definition at line 213 of file StrokeRep.h.

Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().

◆ getNumberOfStrips()

unsigned int Freestyle::StrokeRep::getNumberOfStrips ( ) const
inline

Definition at line 228 of file StrokeRep.h.

◆ getStrips()

vector<Strip *>& Freestyle::StrokeRep::getStrips ( )
inline

◆ getStroke()

Stroke* Freestyle::StrokeRep::getStroke ( )
inline

Definition at line 233 of file StrokeRep.h.

Referenced by Freestyle::TextStrokeRenderer::RenderStrokeRepBasic().

◆ getTextureId()

unsigned Freestyle::StrokeRep::getTextureId ( ) const
inline

Definition at line 198 of file StrokeRep.h.

◆ hasTex()

bool Freestyle::StrokeRep::hasTex ( ) const
inline

Definition at line 218 of file StrokeRep.h.

Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().

◆ Render()

void Freestyle::StrokeRep::Render ( const StrokeRenderer iRenderer)
virtual

Renders the stroke using a Renderer

Definition at line 863 of file StrokeRep.cpp.

References Freestyle::StrokeRenderer::RenderStrokeRep().

◆ setMaterial()

void Freestyle::StrokeRep::setMaterial ( Material mat)
inline

Definition at line 249 of file StrokeRep.h.

Referenced by Freestyle::BlenderStrokeRenderer::RenderStrokeRepBasic().

◆ setMediumType()

void Freestyle::StrokeRep::setMediumType ( Stroke::MediumType  itype)
inline

modifiers

Definition at line 239 of file StrokeRep.h.

References itype.

◆ setTextureId()

void Freestyle::StrokeRep::setTextureId ( unsigned  textureId)
inline

Definition at line 244 of file StrokeRep.h.

Member Data Documentation

◆ _hasTex

bool Freestyle::StrokeRep::_hasTex
protected

Definition at line 176 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _material

Material* Freestyle::StrokeRep::_material
protected

Definition at line 175 of file StrokeRep.h.

◆ _mtex

MTex* Freestyle::StrokeRep::_mtex[MAX_MTEX]
protected

Definition at line 173 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _nodeTree

bNodeTree* Freestyle::StrokeRep::_nodeTree
protected

Definition at line 174 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _strips

vector<Strip *> Freestyle::StrokeRep::_strips
protected

Definition at line 169 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _stroke

Stroke* Freestyle::StrokeRep::_stroke
protected

Definition at line 168 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _strokeType

Stroke::MediumType Freestyle::StrokeRep::_strokeType
protected

Definition at line 170 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _textureId

unsigned int Freestyle::StrokeRep::_textureId
protected

Definition at line 171 of file StrokeRep.h.

Referenced by StrokeRep().

◆ _textureStep

float Freestyle::StrokeRep::_textureStep
protected

Definition at line 172 of file StrokeRep.h.

Referenced by StrokeRep().


The documentation for this class was generated from the following files: