Blender V5.0
Freestyle::StrokeVertexRep Class Reference

#include <StrokeRep.h>

Public Member Functions

 StrokeVertexRep ()
 StrokeVertexRep (const Vec2r &iPoint2d)
 StrokeVertexRep (const StrokeVertexRep &iBrother)
virtual ~StrokeVertexRep ()
Vec2rpoint2d ()
Vec2rtexCoord (bool tips=false)
Vec3rcolor ()
float alpha ()
void setPoint2d (const Vec2r &p)
void setTexCoord (const Vec2r &p, bool tips=false)
void setColor (const Vec3r &p)
void setAlpha (float a)

Protected Attributes

Vec2r _point2d
Vec2r _texCoord
Vec2r _texCoord_w_tips
Vec3r _color
float _alpha

Detailed Description

Definition at line 44 of file StrokeRep.h.

Constructor & Destructor Documentation

◆ StrokeVertexRep() [1/3]

Freestyle::StrokeVertexRep::StrokeVertexRep ( )
inline

Definition at line 46 of file StrokeRep.h.

Referenced by StrokeVertexRep().

◆ StrokeVertexRep() [2/3]

Freestyle::StrokeVertexRep::StrokeVertexRep ( const Vec2r & iPoint2d)
inline

Definition at line 48 of file StrokeRep.h.

References _point2d.

◆ StrokeVertexRep() [3/3]

Freestyle::StrokeVertexRep::StrokeVertexRep ( const StrokeVertexRep & iBrother)

Definition at line 28 of file StrokeRep.cpp.

References _alpha, _color, _point2d, _texCoord, _texCoord_w_tips, and StrokeVertexRep().

◆ ~StrokeVertexRep()

virtual Freestyle::StrokeVertexRep::~StrokeVertexRep ( )
inlinevirtual

Definition at line 55 of file StrokeRep.h.

Member Function Documentation

◆ alpha()

float Freestyle::StrokeVertexRep::alpha ( )
inline

Definition at line 77 of file StrokeRep.h.

References _alpha.

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

◆ color()

Vec3r & Freestyle::StrokeVertexRep::color ( )
inline

Definition at line 72 of file StrokeRep.h.

References _color.

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

◆ point2d()

◆ setAlpha()

void Freestyle::StrokeVertexRep::setAlpha ( float a)
inline

Definition at line 102 of file StrokeRep.h.

References _alpha, and Freestyle::a.

Referenced by Freestyle::Strip::computeTexCoordWithTips().

◆ setColor()

void Freestyle::StrokeVertexRep::setColor ( const Vec3r & p)
inline

Definition at line 97 of file StrokeRep.h.

References _color.

Referenced by Freestyle::Strip::computeTexCoordWithTips().

◆ setPoint2d()

void Freestyle::StrokeVertexRep::setPoint2d ( const Vec2r & p)
inline

Definition at line 82 of file StrokeRep.h.

References _point2d.

◆ setTexCoord()

void Freestyle::StrokeVertexRep::setTexCoord ( const Vec2r & p,
bool tips = false )
inline

Definition at line 87 of file StrokeRep.h.

References _texCoord, and _texCoord_w_tips.

Referenced by Freestyle::Strip::computeTexCoordWithTips().

◆ texCoord()

Vec2r & Freestyle::StrokeVertexRep::texCoord ( bool tips = false)
inline

Definition at line 62 of file StrokeRep.h.

References _texCoord, and _texCoord_w_tips.

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

Member Data Documentation

◆ _alpha

float Freestyle::StrokeVertexRep::_alpha
protected

Definition at line 112 of file StrokeRep.h.

Referenced by alpha(), setAlpha(), and StrokeVertexRep().

◆ _color

Vec3r Freestyle::StrokeVertexRep::_color
protected

Definition at line 111 of file StrokeRep.h.

Referenced by color(), setColor(), and StrokeVertexRep().

◆ _point2d

Vec2r Freestyle::StrokeVertexRep::_point2d
protected

Definition at line 108 of file StrokeRep.h.

Referenced by point2d(), setPoint2d(), StrokeVertexRep(), and StrokeVertexRep().

◆ _texCoord

Vec2r Freestyle::StrokeVertexRep::_texCoord
protected

Definition at line 109 of file StrokeRep.h.

Referenced by setTexCoord(), StrokeVertexRep(), and texCoord().

◆ _texCoord_w_tips

Vec2r Freestyle::StrokeVertexRep::_texCoord_w_tips
protected

Definition at line 110 of file StrokeRep.h.

Referenced by setTexCoord(), StrokeVertexRep(), and texCoord().


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