Cube render helper class.
Public Fields
-
int in_count
- Count how many vertices are prisoners
-
vector<double> v
- Saves the vertex at the origin of the cube
-
vector<bool> in
- In cache
-
vector<double> norm
- Saves normal vector of approximated plane
-
list<vector<double> > pol
- The approximated polygon
Public Methods
-
Cube(int i)
- Constructor
-
Cube(int i, double a, double b, double c)
- Alternative Constructor setting up origin vector
-
void polygonize(list<unsigned char >* poly_list, vector<double>* norm)
- Polygonize the cube using cache
-
list<unsigned char> * get_poly_index_list()
- Returns a list containing indices pointing to the edge vectors that define the approximated polygon.
-
vector<double> * get_normal(list<unsigned char >* poly_list)
- Calculates the normal for a given polygon defined by poly_list
-
static void init_rot()
- Initialize the rotation group of the cube
-
static void init_edge_vec(double edge_length)
- Initialize the edge_vec using the given edge_length
Documentation
Cube render helper class.
Class for a cube in the rasterized 3-dim space which is used
to interpolate the approximated surface of the hyperspace.
This is done by use of permutations that operate on the cube's
corner vertices.
- Cube(int i)
- Constructor
- Cube(int i, double a, double b, double c)
- Alternative Constructor setting up origin vector
- int in_count
- Count how many vertices are prisoners
- vector<double> v
- Saves the vertex at the origin of the cube
- vector<bool> in
- In cache
- vector<double> norm
- Saves normal vector of approximated plane
- list<vector<double> > pol
- The approximated polygon
- void polygonize(list<unsigned char >* poly_list, vector<double>* norm)
- Polygonize the cube using cache
- list<unsigned char> * get_poly_index_list()
- Returns a list containing indices pointing to the edge vectors
that define the approximated polygon. It
is used for creating the cache
- vector<double> * get_normal(list<unsigned char >* poly_list)
- Calculates the normal for a given polygon defined by poly_list
- static void init_rot()
- Initialize the rotation group of the cube
- static void init_edge_vec(double edge_length)
- Initialize the edge_vec using the given edge_length
- This class has no child classes.
Alphabetic index Hierarchy of classes
This page was generated with the help of DOC++.