Volume Renderer DoF
ProxyGeometry Class Reference

#include <ProxyGeometry.h>

Public Member Functions

 ProxyGeometry (QVector3D cubeSize)
 
 ~ProxyGeometry ()
 
void updateProxyGeometry (QMatrix4x4 modelMatrix, int samples)
 
std::vector< std::vector< QVector3D > > & getPlaneVertices ()
 
std::vector< std::vector< QVector3D > > & getTexCoords ()
 
float getSliceDistance ()
 

Detailed Description

represents a proxy geometry to achieve view alignment

Constructor & Destructor Documentation

◆ ProxyGeometry()

ProxyGeometry::ProxyGeometry ( QVector3D  cubeSize)

◆ ~ProxyGeometry()

ProxyGeometry::~ProxyGeometry ( )

Member Function Documentation

◆ 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
modelMatrixmatrix used to transform
samplesnumber of samples/slices that should be taken

The documentation for this class was generated from the following files: