Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QTessellatorPrivate::Vertices Struct Reference
Collaboration diagram for QTessellatorPrivate::Vertices:

Public Types

enum  { default_alloc = 128 , default_alloc = 128 }
enum  { default_alloc = 128 , 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
 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 140 of file qtessellator.cpp.

Member Enumeration Documentation

◆ anonymous enum [1/2]

anonymous enum
Enumerator
default_alloc 
default_alloc 

Definition at line 141 of file qtessellator.cpp.

◆ anonymous enum [2/2]

anonymous enum
Enumerator
default_alloc 
default_alloc 

Definition at line 141 of file qtessellator.cpp.

Constructor & Destructor Documentation

◆ Vertices() [1/2]

QTessellatorPrivate::Vertices::Vertices ( )

Definition at line 514 of file qtessellator.cpp.

References allocated, nPoints, sorted, and storage.

◆ ~Vertices() [1/2]

QTessellatorPrivate::Vertices::~Vertices ( )

Definition at line 522 of file qtessellator.cpp.

References sorted, and storage.

◆ Vertices() [2/2]

QTessellatorPrivate::Vertices::Vertices ( )

◆ ~Vertices() [2/2]

QTessellatorPrivate::Vertices::~Vertices ( )

Member Function Documentation

◆ done() [1/2]

void QTessellatorPrivate::Vertices::done ( )

Definition at line 540 of file qtessellator.cpp.

References allocated, default_alloc, sorted, and storage.

◆ done() [2/2]

void QTessellatorPrivate::Vertices::done ( )

◆ init() [1/2]

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

Definition at line 530 of file qtessellator.cpp.

References allocated, default_alloc, and storage.

Referenced by QTessellator::tessellate(), and QTessellator::tessellateConvex().

Here is the caller graph for this function:

◆ init() [2/2]

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

◆ next() [1/4]

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

Definition at line 160 of file qtessellator.cpp.

References nPoints, and storage.

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

Here is the caller graph for this function:

◆ next() [2/4]

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

Definition at line 160 of file qtessellator.cpp.

◆ next() [3/4]

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

Definition at line 154 of file qtessellator.cpp.

References nPoints, and storage.

Referenced by QTessellatorPrivate::cancelCoincidingEdges().

Here is the caller graph for this function:

◆ next() [4/4]

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

Definition at line 154 of file qtessellator.cpp.

◆ nextPos() [1/2]

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

Definition at line 166 of file qtessellator.cpp.

References nPoints, and storage.

◆ nextPos() [2/2]

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

Definition at line 166 of file qtessellator.cpp.

◆ operator[]() [1/4]

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

Definition at line 149 of file qtessellator.cpp.

References storage.

Referenced by QTessellator::tessellateConvex().

Here is the caller graph for this function:

◆ operator[]() [2/4]

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

Definition at line 149 of file qtessellator.cpp.

◆ operator[]() [3/4]

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

Definition at line 150 of file qtessellator.cpp.

References storage.

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

Here is the caller graph for this function:

◆ operator[]() [4/4]

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

Definition at line 150 of file qtessellator.cpp.

◆ position() [1/2]

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

Definition at line 151 of file qtessellator.cpp.

References storage.

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

Here is the caller graph for this function:

◆ position() [2/2]

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

Definition at line 151 of file qtessellator.cpp.

◆ prev() [1/4]

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

Definition at line 178 of file qtessellator.cpp.

References nPoints, and storage.

◆ prev() [2/4]

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

Definition at line 178 of file qtessellator.cpp.

◆ prev() [3/4]

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

Definition at line 172 of file qtessellator.cpp.

References nPoints, and storage.

Referenced by QTessellatorPrivate::cancelCoincidingEdges().

Here is the caller graph for this function:

◆ prev() [4/4]

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

Definition at line 172 of file qtessellator.cpp.

◆ prevPos() [1/2]

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

Definition at line 184 of file qtessellator.cpp.

References nPoints, and storage.

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

Here is the caller graph for this function:

◆ prevPos() [2/2]

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

Definition at line 184 of file qtessellator.cpp.

Member Data Documentation

◆ allocated

int QTessellatorPrivate::Vertices::allocated

Definition at line 191 of file qtessellator.cpp.

Referenced by Vertices(), done(), and init().

◆ nPoints

◆ sorted

◆ storage


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