Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
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.

◆ StrokeVertexRep() [2/3]

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

Definition at line 50 of file StrokeRep.h.

◆ StrokeVertexRep() [3/3]

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

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

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

◆ color()

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

Definition at line 76 of file StrokeRep.h.

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

◆ point2d()

Vec2r& Freestyle::StrokeVertexRep::point2d ( )
inline

◆ setAlpha()

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

Definition at line 106 of file StrokeRep.h.

References Freestyle::a.

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

◆ setColor()

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

Definition at line 101 of file StrokeRep.h.

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

◆ setPoint2d()

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

Definition at line 86 of file StrokeRep.h.

◆ setTexCoord()

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

Definition at line 91 of file StrokeRep.h.

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

◆ texCoord()

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

Definition at line 66 of file StrokeRep.h.

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

Member Data Documentation

◆ _alpha

float Freestyle::StrokeVertexRep::_alpha
protected

Definition at line 116 of file StrokeRep.h.

Referenced by StrokeVertexRep().

◆ _color

Vec3r Freestyle::StrokeVertexRep::_color
protected

Definition at line 115 of file StrokeRep.h.

Referenced by StrokeVertexRep().

◆ _point2d

Vec2r Freestyle::StrokeVertexRep::_point2d
protected

Definition at line 112 of file StrokeRep.h.

Referenced by StrokeVertexRep().

◆ _texCoord

Vec2r Freestyle::StrokeVertexRep::_texCoord
protected

Definition at line 113 of file StrokeRep.h.

Referenced by StrokeVertexRep().

◆ _texCoord_w_tips

Vec2r Freestyle::StrokeVertexRep::_texCoord_w_tips
protected

Definition at line 114 of file StrokeRep.h.

Referenced by StrokeVertexRep().


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