Volume Renderer DoF
PolygonIntersection::Cube Struct Reference

#include <ProxyGeometry.h>

Public Member Functions

 Cube ()
 
 Cube (QVector3D sizes)
 
void transform (QMatrix4x4 matrix)
 

Public Attributes

std::vector< Edgeedges
 
std::vector< QVector3D > points
 
std::vector< QVector3D > origPoints
 
std::vector< std::vector< int > > edgeOrder
 
QVector3D sizes
 

Detailed Description

represents an axis aligned cube

Constructor & Destructor Documentation

◆ Cube() [1/2]

PolygonIntersection::Cube::Cube ( )
inline

◆ Cube() [2/2]

PolygonIntersection::Cube::Cube ( QVector3D  sizes)
inline

Member Function Documentation

◆ transform()

void PolygonIntersection::Cube::transform ( QMatrix4x4  matrix)
inline

transforms all points of the cube

Parameters
matrixthe transformation matrix

Member Data Documentation

◆ edgeOrder

std::vector<std::vector<int> > PolygonIntersection::Cube::edgeOrder

list of edge orders For each point a list of edge orders is kept. When calculating the intersection points the edges of the cube have to be checked in a certain order. This is to order the intersection points (counter)-clockwise.

◆ edges

std::vector<Edge> PolygonIntersection::Cube::edges

list of edges

◆ origPoints

std::vector<QVector3D> PolygonIntersection::Cube::origPoints

list of untransformed points

◆ points

std::vector<QVector3D> PolygonIntersection::Cube::points

list of (transformed) points

◆ sizes

QVector3D PolygonIntersection::Cube::sizes

dimension of the cube


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