#include <ProxyGeometry.h>
represents a proxy geometry to achieve view alignment
◆ ProxyGeometry()
ProxyGeometry::ProxyGeometry |
( |
QVector3D |
cubeSize | ) |
|
◆ ~ProxyGeometry()
ProxyGeometry::~ProxyGeometry |
( |
| ) |
|
◆ getPlaneVertices()
std::vector< std::vector< QVector3D > > & ProxyGeometry::getPlaneVertices |
( |
| ) |
|
returns a reference to the intersection points for each slice (polygon)
- Returns
- list of intersection points
◆ getSliceDistance()
float ProxyGeometry::getSliceDistance |
( |
| ) |
|
returns the z distance between the slices
- Returns
- z distance between the slices
◆ getTexCoords()
std::vector< std::vector< QVector3D > > & ProxyGeometry::getTexCoords |
( |
| ) |
|
returns a reference to the texture coordinates of the intersection points for each slice (polygon)
- Returns
- list of texture coordinates
◆ updateProxyGeometry()
void ProxyGeometry::updateProxyGeometry |
( |
QMatrix4x4 |
modelMatrix, |
|
|
int |
samples |
|
) |
| |
transforms the cube and updates the intersection points
- Parameters
-
modelMatrix | matrix used to transform |
samples | number of samples/slices that should be taken |
The documentation for this class was generated from the following files: