Blender V4.3
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 46 of file StrokeRep.h.

Constructor & Destructor Documentation

◆ StrokeVertexRep() [1/3]

Freestyle::StrokeVertexRep::StrokeVertexRep ( )
inline

Definition at line 48 of file StrokeRep.h.

◆ StrokeVertexRep() [2/3]

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

Definition at line 50 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, and _texCoord_w_tips.

◆ ~StrokeVertexRep()

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

Definition at line 57 of file StrokeRep.h.

Member Function Documentation

◆ alpha()

float Freestyle::StrokeVertexRep::alpha ( )
inline

Definition at line 79 of file StrokeRep.h.

References _alpha.

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

◆ color()

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

Definition at line 74 of file StrokeRep.h.

References _color.

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

◆ point2d()

◆ setAlpha()

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

Definition at line 104 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 99 of file StrokeRep.h.

References _color.

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

◆ setPoint2d()

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

Definition at line 84 of file StrokeRep.h.

References _point2d.

◆ setTexCoord()

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

Definition at line 89 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 64 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 114 of file StrokeRep.h.

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

◆ _color

Vec3r Freestyle::StrokeVertexRep::_color
protected

Definition at line 113 of file StrokeRep.h.

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

◆ _point2d

Vec2r Freestyle::StrokeVertexRep::_point2d
protected

Definition at line 110 of file StrokeRep.h.

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

◆ _texCoord

Vec2r Freestyle::StrokeVertexRep::_texCoord
protected

Definition at line 111 of file StrokeRep.h.

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

◆ _texCoord_w_tips

Vec2r Freestyle::StrokeVertexRep::_texCoord_w_tips
protected

Definition at line 112 of file StrokeRep.h.

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


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