|
Blender V4.3
|
#include <Silhouette.h>
Inherits Freestyle::FEdge.
Public Member Functions | |
| virtual string | getExactTypeName () const |
| FEdgeSharp () | |
| FEdgeSharp (SVertex *vA, SVertex *vB) | |
| FEdgeSharp (FEdgeSharp &iBrother) | |
| virtual | ~FEdgeSharp () |
| virtual FEdge * | duplicate () |
| const Vec3r & | normalA () |
| const Vec3r & | normalB () |
| uint | aFrsMaterialIndex () const |
| const FrsMaterial & | aFrsMaterial () const |
| uint | bFrsMaterialIndex () const |
| const FrsMaterial & | bFrsMaterial () const |
| bool | aFaceMark () const |
| bool | bFaceMark () const |
| void | setNormalA (const Vec3r &iNormal) |
| void | setNormalB (const Vec3r &iNormal) |
| void | setaFrsMaterialIndex (uint i) |
| void | setbFrsMaterialIndex (uint i) |
| void | setaFaceMark (bool iFaceMark) |
| void | setbFaceMark (bool iFaceMark) |
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 | _aNormal |
| Vec3r | _bNormal |
| uint | _aFrsMaterialIndex |
| uint | _bFrsMaterialIndex |
| bool | _aFaceMark |
| bool | _bFaceMark |
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 |
Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial edge of the input mesh. It can be a silhouette, a crease or a border. If it is a crease edge, then it is bordered by two faces of the mesh. Face a lies on its right whereas Face b lies on its left. If it is a border edge, then it doesn't have any face on its right, and thus Face a = 0.
Definition at line 1130 of file Silhouette.h.
|
inline |
Default constructor.
Definition at line 1147 of file Silhouette.h.
References _aFaceMark, _aFrsMaterialIndex, _bFaceMark, and _bFrsMaterialIndex.
Referenced by duplicate().
Builds an FEdgeSharp going from vA to vB.
Definition at line 1154 of file Silhouette.h.
References _aFaceMark, _aFrsMaterialIndex, _bFaceMark, and _bFrsMaterialIndex.
|
inline |
Copy constructor.
Definition at line 1161 of file Silhouette.h.
References _aFaceMark, _aFrsMaterialIndex, _aNormal, _bFaceMark, _bFrsMaterialIndex, and _bNormal.
|
inlinevirtual |
Destructor.
Definition at line 1172 of file Silhouette.h.
|
inline |
Returns the face mark of the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and thus false is returned.
Definition at line 1221 of file Silhouette.h.
References _aFaceMark.
Referenced by Freestyle::SShape::SplitEdgeIn2().
| const FrsMaterial & Freestyle::FEdgeSharp::aFrsMaterial | ( | ) | const |
Returns the material of the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and therefore, no material.
Definition at line 391 of file Silhouette.cpp.
References _aFrsMaterialIndex, Freestyle::FEdge::_VertexA, Freestyle::SShape::frs_material(), and Freestyle::SVertex::shape().
|
inline |
Returns the index of the material of the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and therefore, no material.
Definition at line 1199 of file Silhouette.h.
References _aFrsMaterialIndex.
Referenced by Freestyle::SShape::SplitEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inline |
Returns the face mark of the face lying on the left of the FEdge.
Definition at line 1227 of file Silhouette.h.
References _bFaceMark.
Referenced by Freestyle::SShape::SplitEdgeIn2().
| const FrsMaterial & Freestyle::FEdgeSharp::bFrsMaterial | ( | ) | const |
Returns the material of the face lying on the left of the FEdge.
Definition at line 396 of file Silhouette.cpp.
References _bFrsMaterialIndex, Freestyle::FEdge::_VertexA, Freestyle::SShape::frs_material(), and Freestyle::SVertex::shape().
|
inline |
Returns the index of the material of the face lying on the left of the FEdge.
Definition at line 1210 of file Silhouette.h.
References _bFrsMaterialIndex.
Referenced by Freestyle::SShape::SplitEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inlinevirtual |
Cloning method.
Reimplemented from Freestyle::FEdge.
Definition at line 1175 of file Silhouette.h.
References FEdgeSharp().
|
inlinevirtual |
Returns the string "FEdgeSharp".
Reimplemented from Freestyle::FEdge.
Definition at line 1141 of file Silhouette.h.
|
inline |
Returns the normal to the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and therefore, no normal.
Definition at line 1184 of file Silhouette.h.
References _aNormal.
Referenced by Freestyle::SShape::SplitEdgeIn2().
|
inline |
Returns the normal to the face lying on the left of the FEdge.
Definition at line 1190 of file Silhouette.h.
References _bNormal.
Referenced by Freestyle::SShape::SplitEdgeIn2().
|
inline |
Sets the face mark of the face lying on the right of the FEdge.
Definition at line 1257 of file Silhouette.h.
References _aFaceMark.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inline |
Sets the index of the material lying on the right of the FEdge.
Definition at line 1245 of file Silhouette.h.
References _aFrsMaterialIndex.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::SShape::SplitEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inline |
Sets the face mark of the face lying on the left of the FEdge.
Definition at line 1263 of file Silhouette.h.
References _bFaceMark.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inline |
Sets the index of the material lying on the left of the FEdge.
Definition at line 1251 of file Silhouette.h.
References _bFrsMaterialIndex.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::SShape::SplitEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inline |
Sets the normal to the face lying on the right of the FEdge.
Definition at line 1233 of file Silhouette.h.
References _aNormal.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
inline |
Sets the normal to the face lying on the left of the FEdge.
Definition at line 1239 of file Silhouette.h.
References _bNormal.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), and Freestyle::SShape::SplitEdgeIn2().
|
protected |
Definition at line 1136 of file Silhouette.h.
Referenced by aFaceMark(), FEdgeSharp(), FEdgeSharp(), FEdgeSharp(), and setaFaceMark().
|
protected |
Definition at line 1134 of file Silhouette.h.
Referenced by aFrsMaterial(), aFrsMaterialIndex(), FEdgeSharp(), FEdgeSharp(), FEdgeSharp(), and setaFrsMaterialIndex().
|
protected |
Definition at line 1132 of file Silhouette.h.
Referenced by FEdgeSharp(), normalA(), and setNormalA().
|
protected |
Definition at line 1137 of file Silhouette.h.
Referenced by bFaceMark(), FEdgeSharp(), FEdgeSharp(), FEdgeSharp(), and setbFaceMark().
|
protected |
Definition at line 1135 of file Silhouette.h.
Referenced by bFrsMaterial(), bFrsMaterialIndex(), FEdgeSharp(), FEdgeSharp(), FEdgeSharp(), and setbFrsMaterialIndex().
|
protected |
Definition at line 1133 of file Silhouette.h.
Referenced by FEdgeSharp(), normalB(), and setNormalB().