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

#include <WEdge.h>

Inheritance diagram for Freestyle::WVertex:
Freestyle::WXVertex

Classes

class  face_iterator
 
class  incoming_edge_iterator
 

Public Member Functions

 WVertex (const Vec3f &v)
 
 WVertex (WVertex &iBrother)
 
virtual WVertexduplicate ()
 
virtual ~WVertex ()
 
Vec3fGetVertex ()
 
vector< WEdge * > & GetEdges ()
 
int GetId ()
 
WShapeshape () const
 
bool isSmooth () const
 
bool isBoundary ()
 
void setVertex (const Vec3f &v)
 
void setEdges (const vector< WEdge * > &iEdgeList)
 
void setId (int id)
 
void setShape (WShape *iShape)
 
void setSmooth (bool b)
 
void setBorder (bool b)
 
void AddEdge (WEdge *iEdge)
 
virtual void ResetUserData ()
 
virtual incoming_edge_iterator incoming_edges_begin ()
 
virtual incoming_edge_iterator incoming_edges_end ()
 
virtual face_iterator faces_begin ()
 
virtual face_iterator faces_end ()
 

Public Attributes

voiduserdata
 

Protected Attributes

int _Id
 
Vec3f _Vertex
 
vector< WEdge * > _EdgeList
 
WShape_Shape
 
bool _Smooth
 
short _Border
 

Detailed Description

Definition at line 44 of file WEdge.h.

Constructor & Destructor Documentation

◆ WVertex() [1/2]

Freestyle::WVertex::WVertex ( const Vec3f v)
inline

Definition at line 55 of file WEdge.h.

References NULL, and v.

Referenced by duplicate().

◆ WVertex() [2/2]

Freestyle::WVertex::WVertex ( WVertex iBrother)

Copy constructor

Definition at line 43 of file WEdge.cpp.

References _Border, _EdgeList, _Id, _Shape, _Smooth, _Vertex, and userdata.

◆ ~WVertex()

virtual Freestyle::WVertex::~WVertex ( )
inlinevirtual

Definition at line 68 of file WEdge.h.

Member Function Documentation

◆ AddEdge()

void Freestyle::WVertex::AddEdge ( WEdge iEdge)

Adds an edge to the edges list

Definition at line 123 of file WEdge.cpp.

References _EdgeList.

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

◆ duplicate()

WVertex * Freestyle::WVertex::duplicate ( )
virtual

Reimplemented in Freestyle::WXVertex.

Definition at line 57 of file WEdge.cpp.

References WVertex().

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

◆ faces_begin()

virtual face_iterator Freestyle::WVertex::faces_begin ( )
inlinevirtual

◆ faces_end()

virtual face_iterator Freestyle::WVertex::faces_end ( )
inlinevirtual

◆ GetEdges()

vector<WEdge *>& Freestyle::WVertex::GetEdges ( )
inline

◆ GetId()

int Freestyle::WVertex::GetId ( )
inline

Definition at line 83 of file WEdge.h.

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

◆ GetVertex()

Vec3f& Freestyle::WVertex::GetVertex ( )
inline

◆ incoming_edges_begin()

WVertex::incoming_edge_iterator Freestyle::WVertex::incoming_edges_begin ( )
virtual

◆ incoming_edges_end()

WVertex::incoming_edge_iterator Freestyle::WVertex::incoming_edges_end ( )
virtual

◆ isBoundary()

bool Freestyle::WVertex::isBoundary ( )

◆ isSmooth()

bool Freestyle::WVertex::isSmooth ( ) const
inline

Definition at line 93 of file WEdge.h.

◆ ResetUserData()

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

Definition at line 139 of file WEdge.h.

References NULL.

◆ setBorder()

void Freestyle::WVertex::setBorder ( bool  b)
inline

Definition at line 126 of file WEdge.h.

References usdtokens::b().

◆ setEdges()

void Freestyle::WVertex::setEdges ( const vector< WEdge * > &  iEdgeList)
inline

Definition at line 106 of file WEdge.h.

◆ setId()

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

◆ setShape()

void Freestyle::WVertex::setShape ( WShape iShape)
inline

Definition at line 116 of file WEdge.h.

Referenced by Freestyle::WShape::AddVertex(), and Freestyle::WShape::WShape().

◆ setSmooth()

void Freestyle::WVertex::setSmooth ( bool  b)
inline

Definition at line 121 of file WEdge.h.

References usdtokens::b().

◆ setVertex()

void Freestyle::WVertex::setVertex ( const Vec3f v)
inline

modifiers

Definition at line 101 of file WEdge.h.

References v.

◆ shape()

WShape* Freestyle::WVertex::shape ( ) const
inline

Member Data Documentation

◆ _Border

short Freestyle::WVertex::_Border
protected

Definition at line 51 of file WEdge.h.

Referenced by isBoundary(), and WVertex().

◆ _EdgeList

vector<WEdge *> Freestyle::WVertex::_EdgeList
protected

◆ _Id

int Freestyle::WVertex::_Id
protected

◆ _Shape

WShape* Freestyle::WVertex::_Shape
protected

Definition at line 49 of file WEdge.h.

Referenced by WVertex().

◆ _Smooth

bool Freestyle::WVertex::_Smooth
protected

Definition at line 50 of file WEdge.h.

Referenced by WVertex().

◆ _Vertex

Vec3f Freestyle::WVertex::_Vertex
protected

Definition at line 47 of file WEdge.h.

Referenced by WVertex().

◆ userdata

void* Freestyle::WVertex::userdata

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