Blender V4.3
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 FEdgeduplicate ()
 
void * face () const
 
bool faceMark () const
 
const Vec3rnormal ()
 
uint frs_materialIndex () const
 
const FrsMaterialfrs_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 ()
 
SVertexvertexA ()
 
SVertexvertexB ()
 
SVertexoperator[] (const ushort &i) const
 
Nature::EdgeNature getNature () const
 
FEdgenextEdge ()
 
FEdgepreviousEdge ()
 
SShapeshape ()
 
int invisibility () const
 
ViewEdgeviewedge () const
 
Vec3r center3d ()
 
Vec3r center2d ()
 
const Polygon3raFace () const
 
const Vec3rgetOccludeeIntersection ()
 
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 SVertexmin2d () const
 
const SVertexmax2d () const
 
Id shape_id () const
 
const SShapeshape () 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 Polygon3roccludee () const
 
const SShapeoccluded_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 SVertexCommonVertex (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 1276 of file Silhouette.h.

Constructor & Destructor Documentation

◆ FEdgeSmooth() [1/3]

Freestyle::FEdgeSmooth::FEdgeSmooth ( )
inline

Default constructor.

Definition at line 1297 of file Silhouette.h.

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

Referenced by duplicate().

◆ FEdgeSmooth() [2/3]

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

Builds an FEdgeSmooth going from vA to vB.

Definition at line 1306 of file Silhouette.h.

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

◆ FEdgeSmooth() [3/3]

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

Copy constructor.

Definition at line 1315 of file Silhouette.h.

References _Face, _FaceMark, _FrsMaterialIndex, Freestyle::FEdge::_isSmooth, and _Normal.

◆ ~FEdgeSmooth()

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

Destructor.

Definition at line 1325 of file Silhouette.h.

Member Function Documentation

◆ duplicate()

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

Cloning method.

Reimplemented from Freestyle::FEdge.

Definition at line 1328 of file Silhouette.h.

References FEdgeSmooth().

◆ face()

◆ faceMark()

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

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

Definition at line 1340 of file Silhouette.h.

References _FaceMark.

Referenced by 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().

◆ 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 1352 of file Silhouette.h.

References _FrsMaterialIndex.

Referenced by 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 1291 of file Silhouette.h.

◆ normal()

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

Returns the normal to the Face it is running across.

Definition at line 1346 of file Silhouette.h.

References _Normal.

Referenced by Freestyle::SShape::SplitEdgeIn2().

◆ setFace()

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

Definition at line 1360 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 1366 of file Silhouette.h.

References _FaceMark.

Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), 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 1378 of file Silhouette.h.

References _FrsMaterialIndex.

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

◆ setNormal()

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

Sets the normal to the Face it is running across.

Definition at line 1372 of file Silhouette.h.

References _Normal.

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

Member Data Documentation

◆ _Face

void* Freestyle::FEdgeSmooth::_Face
protected

Definition at line 1285 of file Silhouette.h.

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

◆ _FaceMark

bool Freestyle::FEdgeSmooth::_FaceMark
protected

Definition at line 1287 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 1278 of file Silhouette.h.

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


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