Blender V5.0
Freestyle::WOEdge Class Reference

#include <WEdge.h>

Public Member Functions

 WOEdge ()
virtual ~WOEdge ()
 WOEdge (WOEdge &iBrother)
virtual WOEdgeduplicate ()
WVertexGetaVertex ()
WVertexGetbVertex ()
WFaceGetaFace ()
WFaceGetbFace ()
WEdgeGetOwner ()
const Vec3fGetVec ()
float GetAngle ()
void setVecAndAngle ()
void setaVertex (WVertex *pv)
void setbVertex (WVertex *pv)
void setaFace (WFace *pf)
void setbFace (WFace *pf)
void setOwner (WEdge *pe)
void RetrieveCWOrderedEdges (vector< WEdge * > &oEdges)
WOEdgetwin ()
WOEdgegetPrevOnFace ()
virtual void ResetUserData ()

Public Attributes

void * userdata

Protected Attributes

WVertex_paVertex
WVertex_pbVertex
WFace_paFace
WFace_pbFace
WEdge_pOwner
Vec3f _vec
float _angle

Detailed Description

Definition at line 314 of file WEdge.h.

Constructor & Destructor Documentation

◆ WOEdge() [1/2]

Freestyle::WOEdge::WOEdge ( )
inline

Definition at line 334 of file WEdge.h.

References _paFace, _paVertex, _pbFace, _pbVertex, _pOwner, and userdata.

Referenced by duplicate(), getPrevOnFace(), RetrieveCWOrderedEdges(), twin(), and WOEdge().

◆ ~WOEdge()

virtual Freestyle::WOEdge::~WOEdge ( )
inlinevirtual

Definition at line 350 of file WEdge.h.

◆ WOEdge() [2/2]

Freestyle::WOEdge::WOEdge ( WOEdge & iBrother)

Member Function Documentation

◆ duplicate()

WOEdge * Freestyle::WOEdge::duplicate ( )
virtual

Definition at line 195 of file WEdge.cpp.

References WOEdge().

Referenced by Freestyle::WEdge::WEdge().

◆ GetaFace()

◆ GetAngle()

float Freestyle::WOEdge::GetAngle ( )
inline

◆ GetaVertex()

◆ GetbFace()

◆ GetbVertex()

◆ GetOwner()

◆ getPrevOnFace()

WOEdge * Freestyle::WOEdge::getPrevOnFace ( )

◆ GetVec()

◆ ResetUserData()

virtual void Freestyle::WOEdge::ResetUserData ( )
inlinevirtual

Definition at line 474 of file WEdge.h.

References userdata.

Referenced by Freestyle::WShape::ResetUserData().

◆ RetrieveCWOrderedEdges()

void Freestyle::WOEdge::RetrieveCWOrderedEdges ( vector< WEdge * > & oEdges)
inline

Retrieves the list of edges in CW order

Definition at line 1340 of file WEdge.h.

References GetbFace(), Freestyle::WFace::GetNextOEdge(), Freestyle::WEdge::GetOtherOEdge(), GetOwner(), and WOEdge().

◆ setaFace()

void Freestyle::WOEdge::setaFace ( WFace * pf)
inline

Definition at line 451 of file WEdge.h.

References _paFace, pf, and setVecAndAngle().

Referenced by Freestyle::WFace::MakeEdge(), and Freestyle::WShape::WShape().

◆ setaVertex()

void Freestyle::WOEdge::setaVertex ( WVertex * pv)
inline

Definition at line 439 of file WEdge.h.

References _paVertex, and setVecAndAngle().

Referenced by Freestyle::WFace::MakeEdge(), and Freestyle::WShape::WShape().

◆ setbFace()

void Freestyle::WOEdge::setbFace ( WFace * pf)
inline

Definition at line 457 of file WEdge.h.

References _pbFace, pf, and setVecAndAngle().

Referenced by Freestyle::WFace::MakeEdge(), and Freestyle::WShape::WShape().

◆ setbVertex()

void Freestyle::WOEdge::setbVertex ( WVertex * pv)
inline

Definition at line 445 of file WEdge.h.

References _pbVertex, and setVecAndAngle().

Referenced by Freestyle::WFace::MakeEdge(), and Freestyle::WShape::WShape().

◆ setOwner()

void Freestyle::WOEdge::setOwner ( WEdge * pe)
inline

Definition at line 463 of file WEdge.h.

References _pOwner.

Referenced by Freestyle::WFace::MakeEdge(), and Freestyle::WShape::WShape().

◆ setVecAndAngle()

void Freestyle::WOEdge::setVecAndAngle ( )
inline

modifiers

Definition at line 1350 of file WEdge.h.

References _angle, _paFace, _paVertex, _pbFace, _pbVertex, _vec, asin, and M_PI_2.

Referenced by setaFace(), setaVertex(), setbFace(), and setbVertex().

◆ twin()

Member Data Documentation

◆ _angle

float Freestyle::WOEdge::_angle
protected

Definition at line 329 of file WEdge.h.

Referenced by GetAngle(), setVecAndAngle(), and WOEdge().

◆ _paFace

WFace* Freestyle::WOEdge::_paFace
protected

Definition at line 324 of file WEdge.h.

Referenced by GetaFace(), setaFace(), setVecAndAngle(), WOEdge(), and WOEdge().

◆ _paVertex

WVertex* Freestyle::WOEdge::_paVertex
protected

Definition at line 322 of file WEdge.h.

Referenced by GetaVertex(), setaVertex(), setVecAndAngle(), WOEdge(), and WOEdge().

◆ _pbFace

WFace* Freestyle::WOEdge::_pbFace
protected

Definition at line 325 of file WEdge.h.

Referenced by GetbFace(), getPrevOnFace(), setbFace(), setVecAndAngle(), WOEdge(), and WOEdge().

◆ _pbVertex

WVertex* Freestyle::WOEdge::_pbVertex
protected

Definition at line 323 of file WEdge.h.

Referenced by GetbVertex(), setbVertex(), setVecAndAngle(), WOEdge(), and WOEdge().

◆ _pOwner

WEdge* Freestyle::WOEdge::_pOwner
protected

Definition at line 326 of file WEdge.h.

Referenced by GetOwner(), setOwner(), WOEdge(), and WOEdge().

◆ _vec

Vec3f Freestyle::WOEdge::_vec
protected

Definition at line 328 of file WEdge.h.

Referenced by GetVec(), setVecAndAngle(), and WOEdge().

◆ userdata

void* Freestyle::WOEdge::userdata

Definition at line 332 of file WEdge.h.

Referenced by ResetUserData(), WOEdge(), WOEdge(), and Freestyle::WShape::WShape().


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