#include <1B.h>
Inheritance diagram for vu15121:
Public Member Functions | |
virtual bool | read (void) |
Reads volume data from the data file set with setFileName(). | |
virtual bool | write (void) |
Writes volume data to the data file set with setFileName(). | |
unsigned char | getDataValue (unsigned int x, unsigned int y, unsigned int z) |
This will return the value stored at (x, y, z). | |
double | getDataValue (vuVector point) |
this will return the data value associated with the vuVector point | |
vuVector | getGradient (unsigned int i, unsigned int j, unsigned int k) |
This will return the the gradient at point i, j, k. | |
vuVector | getGradient (vuVector point) |
This will return the gradient of the nearest neighbour to point. | |
Protected Member Functions | |
bool | read (FILE *file) |
Asserts that the file is 3d data and reads the associated information. | |
bool | write (FILE *file) |
Writes the general 3d data information to the file. |
Definition at line 10 of file BCC/Unimodal/3d/1B/1B.h.
|
this will return the data value associated with the vuVector point This currently uses the data value stored at the nearest neighbour. This returns a dboule in case it is later overwritten to use interpolation to determine the value. Definition at line 138 of file BCC/Unimodal/3d/1B/1B.cpp. References getDataValue(), and T. |
Here is the call graph for this function:
|
This will return the value stored at (x, y, z). If x,, y or z are out of range, then this will return 0 Definition at line 130 of file BCC/Unimodal/3d/1B/1B.cpp. Referenced by vu1512121::computeGradient(), vu1512121::DrawSurfaceInSimplex(), getDataValue(), getGradient(), vu1512113::renderImage(), and vu1512122::renderImage(). |
|
This will return the gradient of the nearest neighbour to point.
Definition at line 184 of file BCC/Unimodal/3d/1B/1B.cpp. References getGradient(), and T. |
Here is the call graph for this function:
|
This will return the the gradient at point i, j, k. Except that If k 2 == 1, then i and j will be incremented. and k be measured wider... Definition at line 172 of file BCC/Unimodal/3d/1B/1B.cpp. References getDataValue(). Referenced by getGradient(), vu1512113::renderImage(), and vu1512122::renderImage(). |
Here is the call graph for this function:
|
Asserts that the file is 3d data and reads the associated information. This method reads in the general information for 3d data sets. It also asserts whether the data is indeed 3d or not.
Reimplemented from vu1512. Definition at line 46 of file BCC/Unimodal/3d/1B/1B.cpp. References byte, dword, vu1::read(), vu1::setInvalidFormatError(), and size. |
Here is the call graph for this function:
|
Reads volume data from the data file set with setFileName(). This implements the abstract read() method from the general Volume class. If the read is successful, the function returns true. If the file does not exist or is in an invalid format, the function returns false. In this case, the error information is set for the instance.
Implements vu1. Reimplemented in vu1512113, vu1512119, vu1512112, vu1512111, vu1512122, and vu1512121. Definition at line 8 of file BCC/Unimodal/3d/1B/1B.cpp. References vuString::isEmpty(), and vu1::setError(). Referenced by vu1512111::read(), vu1512112::read(), vu1512119::read(), vu1512113::read(), vu1512121::read(), and vu1512122::read(). |
Here is the call graph for this function:
|
Writes the general 3d data information to the file.
Reimplemented from vu1512. Definition at line 92 of file BCC/Unimodal/3d/1B/1B.cpp. References byte, vuString::c_str(), dword, vuString::isEmpty(), vu1::setWriteError(), size, and vu1::write(). |
Here is the call graph for this function:
|
Writes volume data to the data file set with setFileName(). This implements the abstract write() method from the general Volume class.
Implements vu1. Definition at line 27 of file BCC/Unimodal/3d/1B/1B.cpp. References vuString::isEmpty(), and vu1::setError(). |
Here is the call graph for this function: