Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
Freestyle::FEdgeSmooth Class Reference

#include <Silhouette.h>

Inheritance diagram for Freestyle::FEdgeSmooth:
Freestyle::FEdge Freestyle::Interface1D

Public Member Functions

virtual string getExactTypeName () const
 
 FEdgeSmooth ()
 
 FEdgeSmooth (SVertex *vA, SVertex *vB)
 
 FEdgeSmooth (FEdgeSmooth &iBrother)
 
virtual ~FEdgeSmooth ()
 
virtual FEdgeduplicate ()
 
voidface () const
 
bool faceMark () const
 
const Vec3rnormal ()
 
unsigned frs_materialIndex () const
 
const FrsMaterialfrs_material () const
 
void setFace (void *iFace)
 
void setFaceMark (bool iFaceMark)
 
void setNormal (const Vec3r &iNormal)
 
void setFrsMaterialIndex (unsigned 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 unsigned short int &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 unsigned getTimeStamp () const
 
void setTimeStamp (unsigned iTimeStamp)
 

Protected Attributes

Vec3r _Normal
 
unsigned _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
unsigned _timeStamp
 

Additional Inherited Members

- Static Public Member Functions inherited from Freestyle::FEdge
static SVertexCommonVertex (FEdge *iEdge1, FEdge *iEdge2)
 
- Public Attributes inherited from Freestyle::FEdge
voiduserdata
 

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

Constructor & Destructor Documentation

◆ FEdgeSmooth() [1/3]

Freestyle::FEdgeSmooth::FEdgeSmooth ( )
inline

Default constructor.

Definition at line 1301 of file Silhouette.h.

References NULL.

◆ FEdgeSmooth() [2/3]

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

Builds an FEdgeSmooth going from vA to vB.

Definition at line 1310 of file Silhouette.h.

References NULL.

◆ FEdgeSmooth() [3/3]

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

Copy constructor.

Definition at line 1319 of file Silhouette.h.

References _Face, _FaceMark, _FrsMaterialIndex, and _Normal.

◆ ~FEdgeSmooth()

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

Destructor.

Definition at line 1329 of file Silhouette.h.

Member Function Documentation

◆ duplicate()

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

Cloning method.

Reimplemented from Freestyle::FEdge.

Definition at line 1334 of file Silhouette.h.

◆ face()

void* Freestyle::FEdgeSmooth::face ( ) const
inline

◆ faceMark()

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

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

Definition at line 1346 of file Silhouette.h.

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 404 of file Silhouette.cpp.

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

◆ frs_materialIndex()

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

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

Definition at line 1358 of file Silhouette.h.

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

◆ normal()

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

Returns the normal to the Face it is running across.

Definition at line 1352 of file Silhouette.h.

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

◆ setFace()

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

Definition at line 1366 of file Silhouette.h.

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

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

◆ setFrsMaterialIndex()

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

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

Definition at line 1384 of file Silhouette.h.

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

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

Member Data Documentation

◆ _Face

void* Freestyle::FEdgeSmooth::_Face
protected

Definition at line 1289 of file Silhouette.h.

Referenced by FEdgeSmooth().

◆ _FaceMark

bool Freestyle::FEdgeSmooth::_FaceMark
protected

Definition at line 1291 of file Silhouette.h.

Referenced by FEdgeSmooth().

◆ _FrsMaterialIndex

unsigned Freestyle::FEdgeSmooth::_FrsMaterialIndex
protected

Definition at line 1283 of file Silhouette.h.

Referenced by FEdgeSmooth(), and frs_material().

◆ _Normal

Vec3r Freestyle::FEdgeSmooth::_Normal
protected

Definition at line 1282 of file Silhouette.h.

Referenced by FEdgeSmooth().


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