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

#include <WEdge.h>

Inheritance diagram for Freestyle::WEdge:
Freestyle::WXEdge

Public Member Functions

 WEdge ()
 
 WEdge (WOEdge *iOEdge)
 
 WEdge (WOEdge *iaOEdge, WOEdge *ibOEdge)
 
 WEdge (WEdge &iBrother)
 
virtual WEdgeduplicate ()
 
virtual ~WEdge ()
 
WOEdgeGetaOEdge ()
 
WOEdgeGetbOEdge ()
 
short GetNumberOfOEdges ()
 
bool GetMark ()
 
int GetId ()
 
WVertexGetaVertex ()
 
WVertexGetbVertex ()
 
WFaceGetaFace ()
 
WFaceGetbFace ()
 
WOEdgeGetOtherOEdge (WOEdge *iOEdge)
 
void setaOEdge (WOEdge *iEdge)
 
void setbOEdge (WOEdge *iEdge)
 
void AddOEdge (WOEdge *iEdge)
 
void setNumberOfOEdges (short n)
 
void setMark (bool mark)
 
void setId (int id)
 
virtual void ResetUserData ()
 

Static Public Member Functions

static WVertexCommonVertex (WEdge *iEdge1, WEdge *iEdge2)
 

Public Attributes

voiduserdata
 

Protected Attributes

WOEdge_paOEdge
 
WOEdge_pbOEdge
 
short _nOEdges
 
bool _Mark
 
int _Id
 

Detailed Description

Definition at line 500 of file WEdge.h.

Constructor & Destructor Documentation

◆ WEdge() [1/4]

Freestyle::WEdge::WEdge ( )
inline

Definition at line 511 of file WEdge.h.

References NULL.

◆ WEdge() [2/4]

Freestyle::WEdge::WEdge ( WOEdge iOEdge)
inline

Definition at line 519 of file WEdge.h.

References NULL.

◆ WEdge() [3/4]

Freestyle::WEdge::WEdge ( WOEdge iaOEdge,
WOEdge ibOEdge 
)
inline

Definition at line 527 of file WEdge.h.

References NULL.

◆ WEdge() [4/4]

Freestyle::WEdge::WEdge ( WEdge iBrother)

◆ ~WEdge()

virtual Freestyle::WEdge::~WEdge ( )
inlinevirtual

Definition at line 539 of file WEdge.h.

References NULL.

Member Function Documentation

◆ AddOEdge()

void Freestyle::WEdge::AddOEdge ( WOEdge iEdge)
inline

Definition at line 642 of file WEdge.h.

◆ CommonVertex()

static WVertex* Freestyle::WEdge::CommonVertex ( WEdge iEdge1,
WEdge iEdge2 
)
inlinestatic

checks whether two WEdge have a common vertex. Returns a pointer on the common vertex if it exists, NULL otherwise.

Definition at line 555 of file WEdge.h.

References GetaOEdge(), Freestyle::WOEdge::GetaVertex(), Freestyle::WOEdge::GetbVertex(), and NULL.

◆ duplicate()

WEdge * Freestyle::WEdge::duplicate ( )
virtual

Reimplemented in Freestyle::WXEdge.

Definition at line 238 of file WEdge.cpp.

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

◆ GetaFace()

WFace* Freestyle::WEdge::GetaFace ( )
inline

◆ GetaOEdge()

WOEdge* Freestyle::WEdge::GetaOEdge ( )
inline

◆ GetaVertex()

WVertex* Freestyle::WEdge::GetaVertex ( )
inline

◆ GetbFace()

WFace* Freestyle::WEdge::GetbFace ( )
inline

◆ GetbOEdge()

WOEdge* Freestyle::WEdge::GetbOEdge ( )
inline

Definition at line 581 of file WEdge.h.

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

◆ GetbVertex()

WVertex* Freestyle::WEdge::GetbVertex ( )
inline

◆ GetId()

int Freestyle::WEdge::GetId ( )
inline

Definition at line 596 of file WEdge.h.

Referenced by WEdge().

◆ GetMark()

bool Freestyle::WEdge::GetMark ( )
inline

Definition at line 591 of file WEdge.h.

Referenced by Freestyle::FEdgeXDetector::ProcessEdgeMarks().

◆ GetNumberOfOEdges()

short Freestyle::WEdge::GetNumberOfOEdges ( )
inline

Definition at line 586 of file WEdge.h.

Referenced by Freestyle::OGF::compute_curvature_tensor(), and WEdge().

◆ GetOtherOEdge()

WOEdge* Freestyle::WEdge::GetOtherOEdge ( WOEdge iOEdge)
inline

Definition at line 621 of file WEdge.h.

Referenced by Freestyle::WOEdge::RetrieveCWOrderedEdges().

◆ ResetUserData()

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

Definition at line 671 of file WEdge.h.

References NULL.

◆ setaOEdge()

void Freestyle::WEdge::setaOEdge ( WOEdge iEdge)
inline

modifiers

Definition at line 632 of file WEdge.h.

◆ setbOEdge()

void Freestyle::WEdge::setbOEdge ( WOEdge iEdge)
inline

Definition at line 637 of file WEdge.h.

◆ setId()

void Freestyle::WEdge::setId ( int  id)
inline

Definition at line 666 of file WEdge.h.

References id.

◆ setMark()

void Freestyle::WEdge::setMark ( bool  mark)
inline

Definition at line 661 of file WEdge.h.

◆ setNumberOfOEdges()

void Freestyle::WEdge::setNumberOfOEdges ( short  n)
inline

Definition at line 656 of file WEdge.h.

Member Data Documentation

◆ _Id

int Freestyle::WEdge::_Id
protected

Definition at line 506 of file WEdge.h.

◆ _Mark

bool Freestyle::WEdge::_Mark
protected

Definition at line 505 of file WEdge.h.

◆ _nOEdges

short Freestyle::WEdge::_nOEdges
protected

Definition at line 504 of file WEdge.h.

◆ _paOEdge

WOEdge* Freestyle::WEdge::_paOEdge
protected

Definition at line 502 of file WEdge.h.

◆ _pbOEdge

WOEdge* Freestyle::WEdge::_pbOEdge
protected

Definition at line 503 of file WEdge.h.

◆ userdata

void* Freestyle::WEdge::userdata

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