Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QTessellatorPrivate::Vertices Struct Reference
+ Collaboration diagram for QTessellatorPrivate::Vertices:

Public Types

enum  { default_alloc = 128 }
 

Public Member Functions

 Vertices ()
 
 ~Vertices ()
 
void init (int maxVertices)
 
void done ()
 
Vertexoperator[] (int i)
 
const Vertexoperator[] (int i) const
 
int position (const Vertex *v) const
 
Vertexnext (Vertex *v)
 
const Vertexnext (const Vertex *v) const
 
int nextPos (const Vertex *v) const
 
Vertexprev (Vertex *v)
 
const Vertexprev (const Vertex *v) const
 
int prevPos (const Vertex *v) const
 

Public Attributes

Vertexstorage
 
Vertex ** sorted
 
int nPoints
 
int allocated
 

Detailed Description

Definition at line 139 of file qtessellator.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
default_alloc 

Definition at line 140 of file qtessellator.cpp.

Constructor & Destructor Documentation

◆ Vertices()

QTessellatorPrivate::Vertices::Vertices ( )

Definition at line 513 of file qtessellator.cpp.

References storage.

◆ ~Vertices()

QTessellatorPrivate::Vertices::~Vertices ( )

Definition at line 521 of file qtessellator.cpp.

References storage.

Member Function Documentation

◆ done()

void QTessellatorPrivate::Vertices::done ( )

Definition at line 539 of file qtessellator.cpp.

References storage.

◆ init()

void QTessellatorPrivate::Vertices::init ( int maxVertices)

Definition at line 529 of file qtessellator.cpp.

References qMax(), and storage.

+ Here is the call graph for this function:

◆ next() [1/2]

const Vertex * QTessellatorPrivate::Vertices::next ( const Vertex * v) const
inline

Definition at line 159 of file qtessellator.cpp.

References nPoints, and storage.

◆ next() [2/2]

Vertex * QTessellatorPrivate::Vertices::next ( Vertex * v)
inline

Definition at line 153 of file qtessellator.cpp.

References nPoints, and storage.

Referenced by QTessellatorPrivate::Edge::Edge(), QTessellatorPrivate::addEdges(), QTessellatorPrivate::cancelCoincidingEdges(), and fillTrapezoid().

+ Here is the caller graph for this function:

◆ nextPos()

int QTessellatorPrivate::Vertices::nextPos ( const Vertex * v) const
inline

Definition at line 165 of file qtessellator.cpp.

References nPoints, and storage.

◆ operator[]() [1/2]

Vertex * QTessellatorPrivate::Vertices::operator[] ( int i)
inline

Definition at line 148 of file qtessellator.cpp.

References i, and storage.

◆ operator[]() [2/2]

const Vertex * QTessellatorPrivate::Vertices::operator[] ( int i) const
inline

Definition at line 149 of file qtessellator.cpp.

References i, and storage.

◆ position()

int QTessellatorPrivate::Vertices::position ( const Vertex * v) const
inline

Definition at line 150 of file qtessellator.cpp.

References storage.

Referenced by QTessellatorPrivate::addEdges(), and QTessellatorPrivate::removeEdges().

+ Here is the caller graph for this function:

◆ prev() [1/2]

const Vertex * QTessellatorPrivate::Vertices::prev ( const Vertex * v) const
inline

Definition at line 177 of file qtessellator.cpp.

References nPoints, and storage.

◆ prev() [2/2]

Vertex * QTessellatorPrivate::Vertices::prev ( Vertex * v)
inline

Definition at line 171 of file qtessellator.cpp.

References nPoints, and storage.

Referenced by QTessellatorPrivate::cancelCoincidingEdges().

+ Here is the caller graph for this function:

◆ prevPos()

int QTessellatorPrivate::Vertices::prevPos ( const Vertex * v) const
inline

Definition at line 183 of file qtessellator.cpp.

References nPoints, and storage.

Referenced by QTessellatorPrivate::addEdges(), and QTessellatorPrivate::removeEdges().

+ Here is the caller graph for this function:

Member Data Documentation

◆ allocated

int QTessellatorPrivate::Vertices::allocated

Definition at line 190 of file qtessellator.cpp.

◆ nPoints

◆ sorted

◆ storage

Vertex* QTessellatorPrivate::Vertices::storage

The documentation for this struct was generated from the following file: