#include <result.h>
Public Member Functions | |
result (int n, string name) | |
result (result::result *r) | |
void | setColor (QColor acolor) |
QColor | getColor () |
string | getName () |
vector< float > | getResults () |
void | addResult (float f) |
vector< float > | getX () |
void | addX (float f) |
vector< float > | getCustomResults () |
void | addCustomResult (float f) |
vector< int > | getCustomSizes () |
float * | toFloatPointer (vector< float > f) |
int * | toIntPointer (vector< int > v) |
int | getInitialSize () |
void | copyIntVector (vector< int > source, vector< int > target) |
void | copyFloatVector (vector< float > source, vector< float > target) |
vtkDataArray * | toVtkDataArray () |
void | toOrigin () |
vtkDataArray * | toVtkDataArray (vector< float > f) |
void | printToFile (QString file) |
|
Constructor, takes both the number of initial tests and the name of the test
|
|
Copy constructor
|
|
Add a new value for the custom results in this test
|
|
Adds an experimental value for the test
|
|
Add a X value to the vector
|
|
Create a copy of a float vector
|
|
Create a copy of a int vector
|
|
Returns the color defined for this test
|
|
Obtain the custom results for this test
|
|
Get the x values for the custom sizes
|
|
Get the initial amount of data defined for the test
|
|
Returns the name defined for this test
|
|
Returns the vector containing the results of this test
|
|
Returns the X values for the results
|
|
Writes the results in ascii format in the file passed on as parameter
|
|
Defines the color for this test
|
|
Create a float array out of a vector of floats
|
|
Create a int array out of a vector of floats
|
|
normalize all the data of the array to the origin |
|
Create a vtkArray out of the vector passed on as parameter
|
|
Create a vtkArray out of the results of this test
|