sculpto
Main Page
Namespaces
Classes
Files
File List
File Members
core
resources
topology
grid.h
Go to the documentation of this file.
1
/*!****************************************************************/
/*!*
2
* \file grid.h
3
* \brief Topology grid object class definition module.
4
*
5
* \author Sabitov Kirill
6
* \date 29 June 2022
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
basis.h
"
12
#include "../vertex.h"
13
14
namespace
scl::topology
15
{
17
class
grid
:
public
basis
<vertex>
18
{
19
private
:
20
int
Width, Height;
21
22
public
:
24
int
GetWidth
()
const
{
return
Width; }
26
int
GetHeight
()
const
{
return
Height; }
27
28
public
:
29
/*!*
30
* Topology grid object basis constructor.
31
*
32
* \param Vertices - verticeies array.
33
* \param Indices - vertices indices.
34
*/
35
grid
(
int
Width,
int
Height);
36
38
~grid
()
override
=
default
;
39
};
40
}
basis.h
scl::topology::basis
Definition:
basis.h:19
scl::topology::grid
Definition:
grid.h:18
scl::topology::grid::~grid
~grid() override=default
scl::topology::grid::grid
grid(int Width, int Height)
Definition:
grid.cpp:12
scl::topology::grid::GetHeight
int GetHeight() const
Definition:
grid.h:26
scl::topology::grid::GetWidth
int GetWidth() const
Definition:
grid.h:24
scl::topology
Definition:
basis.h:15
Generated by
1.9.4