Kstars

MeshIterator.cpp
1 
2 #include "MeshIterator.h"
3 
4 #include "HTMesh.h"
5 #include "MeshBuffer.h"
6 
7 #include <iostream>
8 
9 MeshIterator::MeshIterator(HTMesh *mesh, BufNum bufNum)
10 {
11  cnt = 0;
12  MeshBuffer *buffer = mesh->meshBuffer(bufNum);
13  m_size = buffer->size();
14  index = buffer->buffer();
15 }
Definition: HTMesh.h:56
int size() const
the number of trixels in the result set
Definition: MeshBuffer.h:44
MeshBuffer * meshBuffer(BufNum bufNum=0)
returns a pointer to the MeshBuffer specified by bufNum.
Definition: HTMesh.cpp:255
const Trixel * buffer() const
the location of the buffer for reading
Definition: MeshBuffer.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.