Blender V4.5
Freestyle::FEdgeSmooth Class Reference

#include <Silhouette.h>

Inherits Freestyle::FEdge.

Public Member Functions

virtual string getExactTypeName () const
 FEdgeSmooth ()
 FEdgeSmooth (SVertex *vA, SVertex *vB)
 FEdgeSmooth (FEdgeSmooth &iBrother)
virtual ~FEdgeSmooth ()
virtual FEdge * duplicate ()
void * face () const
bool faceMark () const
const Vec3r & normal ()
uint frs_materialIndex () const
const FrsMaterial & frs_material () const
void setFace (void *iFace)
void setFaceMark (bool iFaceMark)
void setNormal (const Vec3r &iNormal)
void setFrsMaterialIndex (uint i)
Public Member Functions inherited from Freestyle::FEdge
virtual real getLength2D () const
virtual Id getId () const
 FEdge ()
 FEdge (SVertex *vA, SVertex *vB)
 FEdge (FEdge &iBrother)
virtual ~FEdge ()
SVertex * vertexA ()
SVertex * vertexB ()
SVertex * operator[] (const ushort &i) const
Nature::EdgeNature getNature () const
FEdge * nextEdge ()
FEdge * previousEdge ()
SShape * shape ()
int invisibility () const
ViewEdge * viewedge () const
Vec3r center3d ()
Vec3r center2d ()
const Polygon3r & aFace () const
const Vec3r & getOccludeeIntersection ()
bool getOccludeeEmpty ()
bool isSmooth () const
bool isInImage () const
bool isTemporary () const
void setVertexA (SVertex *vA)
void setVertexB (SVertex *vB)
void setId (const Id &id)
void setNextEdge (FEdge *iEdge)
void setPreviousEdge (FEdge *iEdge)
void setNature (Nature::EdgeNature iNature)
void setViewEdge (ViewEdge *iViewEdge)
void setaFace (Polygon3r &iFace)
void setOccludeeIntersection (const Vec3r &iPoint)
void setOccludeeEmpty (bool iempty)
void setSmooth (bool iFlag)
void setIsInImage (bool iFlag)
void setTemporary (bool iFlag)
const SVertex * min2d () const
const SVertex * max2d () const
Id shape_id () const
const SShape * shape () const
float shape_importance () const
const int qi () const
occluder_container::const_iterator occluders_begin () const
occluder_container::const_iterator occluders_end () const
bool occluders_empty () const
int occluders_size () const
const Polygon3r & occludee () const
const SShape * occluded_shape () const
bool occludee_empty () const
real z_discontinuity () const
int viewedge_nature () const
Vec3r orientation2d () const
Vec3r orientation3d () const
virtual Interface0DIterator verticesBegin ()
virtual Interface0DIterator verticesEnd ()
virtual Interface0DIterator pointsBegin (float t=0.0f)
virtual Interface0DIterator pointsEnd (float t=0.0f)
Public Member Functions inherited from Freestyle::Interface1D
 Interface1D ()
virtual ~Interface1D ()
virtual uint getTimeStamp () const
void setTimeStamp (uint iTimeStamp)

Protected Attributes

Vec3r _Normal
uint _FrsMaterialIndex
void * _Face
bool _FaceMark
Protected Attributes inherited from Freestyle::FEdge
SVertex * _VertexA
SVertex * _VertexB
Id _Id
Nature::EdgeNature _Nature
FEdge * _NextEdge
FEdge * _PreviousEdge
ViewEdge * _ViewEdge
Polygon3r _aFace
Vec3r _occludeeIntersection
bool _occludeeEmpty
bool _isSmooth
bool _isInImage
bool _isTemporary
Protected Attributes inherited from Freestyle::Interface1D
uint _timeStamp

Additional Inherited Members

Static Public Member Functions inherited from Freestyle::FEdge
static SVertex * CommonVertex (FEdge *iEdge1, FEdge *iEdge2)
Public Attributes inherited from Freestyle::FEdge
void * userdata

Detailed Description

Class defining a smooth edge. This kind of edge typically runs across a face of the input mesh. It can be a silhouette, a ridge or valley, a suggestive contour.

Definition at line 1268 of file Silhouette.h.

Constructor & Destructor Documentation

◆ FEdgeSmooth() [1/3]

◆ FEdgeSmooth() [2/3]

Freestyle::FEdgeSmooth::FEdgeSmooth ( SVertex * vA,
SVertex * vB )
inline

Builds an FEdgeSmooth going from vA to vB.

Definition at line 1298 of file Silhouette.h.

References _Face, _FaceMark, _FrsMaterialIndex, Freestyle::FEdge::_isSmooth, and Freestyle::FEdge::FEdge().

◆ FEdgeSmooth() [3/3]

Freestyle::FEdgeSmooth::FEdgeSmooth ( FEdgeSmooth & iBrother)
inline

◆ ~FEdgeSmooth()

virtual Freestyle::FEdgeSmooth::~FEdgeSmooth ( )
inlinevirtual

Destructor.

Definition at line 1317 of file Silhouette.h.

Member Function Documentation

◆ duplicate()

virtual FEdge * Freestyle::FEdgeSmooth::duplicate ( )
inlinevirtual

Cloning method.

Reimplemented from Freestyle::FEdge.

Definition at line 1320 of file Silhouette.h.

References Freestyle::FEdge::FEdge(), and FEdgeSmooth().

◆ face()

◆ faceMark()

bool Freestyle::FEdgeSmooth::faceMark ( ) const
inline

Returns the face mark of the face it is running across.

Definition at line 1332 of file Silhouette.h.

References _FaceMark.

Referenced by FEdgeSmooth_face_mark_get(), and Freestyle::SShape::SplitEdgeIn2().

◆ frs_material()

const FrsMaterial & Freestyle::FEdgeSmooth::frs_material ( ) const

Returns the material of the face it is running across.

Definition at line 409 of file Silhouette.cpp.

References _FrsMaterialIndex, Freestyle::FEdge::_VertexA, Freestyle::SShape::frs_material(), and Freestyle::SVertex::shape().

Referenced by FEdgeSmooth_material_get().

◆ frs_materialIndex()

uint Freestyle::FEdgeSmooth::frs_materialIndex ( ) const
inline

Returns the index of the material of the face it is running across.

Definition at line 1344 of file Silhouette.h.

References _FrsMaterialIndex.

Referenced by FEdgeSmooth_material_index_get(), Freestyle::SShape::SplitEdge(), and Freestyle::SShape::SplitEdgeIn2().

◆ getExactTypeName()

virtual string Freestyle::FEdgeSmooth::getExactTypeName ( ) const
inlinevirtual

Returns the string "FEdgeSmooth".

Reimplemented from Freestyle::FEdge.

Definition at line 1283 of file Silhouette.h.

◆ normal()

const Vec3r & Freestyle::FEdgeSmooth::normal ( )
inline

Returns the normal to the Face it is running across.

Definition at line 1338 of file Silhouette.h.

References _Normal.

Referenced by FEdgeSmooth_mathutils_get(), FEdgeSmooth_mathutils_get_index(), FEdgeSmooth_mathutils_set_index(), and Freestyle::SShape::SplitEdgeIn2().

◆ setFace()

void Freestyle::FEdgeSmooth::setFace ( void * iFace)
inline

Definition at line 1352 of file Silhouette.h.

References _Face.

Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge().

◆ setFaceMark()

void Freestyle::FEdgeSmooth::setFaceMark ( bool iFaceMark)
inline

Sets the face mark of the face it is running across.

Definition at line 1358 of file Silhouette.h.

References _FaceMark.

Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), FEdgeSmooth_face_mark_set(), and Freestyle::SShape::SplitEdgeIn2().

◆ setFrsMaterialIndex()

void Freestyle::FEdgeSmooth::setFrsMaterialIndex ( uint i)
inline

Sets the index of the material of the face it is running across.

Definition at line 1370 of file Silhouette.h.

References _FrsMaterialIndex, and i.

Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), FEdgeSmooth_material_index_set(), Freestyle::SShape::SplitEdge(), and Freestyle::SShape::SplitEdgeIn2().

◆ setNormal()

void Freestyle::FEdgeSmooth::setNormal ( const Vec3r & iNormal)
inline

Member Data Documentation

◆ _Face

void* Freestyle::FEdgeSmooth::_Face
protected

Definition at line 1277 of file Silhouette.h.

Referenced by face(), FEdgeSmooth(), FEdgeSmooth(), FEdgeSmooth(), and setFace().

◆ _FaceMark

bool Freestyle::FEdgeSmooth::_FaceMark
protected

Definition at line 1279 of file Silhouette.h.

Referenced by faceMark(), FEdgeSmooth(), FEdgeSmooth(), FEdgeSmooth(), and setFaceMark().

◆ _FrsMaterialIndex

uint Freestyle::FEdgeSmooth::_FrsMaterialIndex
protected

◆ _Normal

Vec3r Freestyle::FEdgeSmooth::_Normal
protected

Definition at line 1270 of file Silhouette.h.

Referenced by FEdgeSmooth(), normal(), and setNormal().


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