PyPO User Manual
reflparamsf Struct Reference

#include <Structs.h>

Public Attributes

float * coeffs
 
float * lxu
 
float * lyv
 
int * n_cells
 
bool flip
 
int gmode
 
float * gcenter
 
float ecc_uv
 
float rot_uv
 
int type
 
float * transf
 
float rms
 
unsigned int rms_seed
 

Detailed Description

Object containing parameters for generating reflector surfaces.

Member Data Documentation

◆ coeffs

float* reflparamsf::coeffs

array of 3 float. Contains a, b, c coefficients for reflectors.

◆ ecc_uv

float reflparamsf::ecc_uv

Eccentricity of uv-generated xy grid.

◆ flip

bool reflparamsf::flip

Whether or not to flip normal vectors. Only relevant for quadric surfaces.

◆ gcenter

float* reflparamsf::gcenter

array of two float. Contains x and y co-ordinates for center of selection area.

◆ gmode

int reflparamsf::gmode

How to grid surface. 0 is "xy", 1 is "uv" and 2 is "AoE".

◆ lxu

float* reflparamsf::lxu

array of 2 float. Contains lower and upper x/u limits.

◆ lyv

float* reflparamsf::lyv

array of 2 float. Contains lower and upper y/v limits.

◆ n_cells

int* reflparamsf::n_cells

array of 2 int. Contains gridsize along x/u and y/v axes.

◆ rms

float reflparamsf::rms

Surface roughness rms of reflector in mm.

◆ rot_uv

float reflparamsf::rot_uv

Position angle of uv-generated xy_grid, w.r.t. x-axis.

◆ transf

float* reflparamsf::transf

array of 16 float. Contains the transformation matrix of reflector surface.

◆ type

int reflparamsf::type

What type the reflector is. 0 is paraboloid, 1 is hyperboloid, 2 is ellipsoid and 3 is planar.


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