#include <2B.h>
Inheritance diagram for vu11122:
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(). | |
void | generateLapWeightHistogram (const char *filename) |
word | getDataValue (unsigned int x, unsigned int y, unsigned int z) |
returns the value at position x,y,z | |
virtual void | setViewVectors (const vuVector &, const vuVector &, const vuVector &) |
Empty implementation to satisfy virtual. | |
virtual void | render () |
Empty implementation to satisfy virtual. | |
bool | createHistogram (vuHistogram &hist) const |
Creates a histogram in hist. | |
void | remap (const vuMap &map) |
Remaps the intensities. | |
Protected Member Functions | |
virtual bool | read (FILE *file) |
Asserts that the file is 2B data and reads the associated information. | |
virtual bool | write (FILE *file) |
Writes the general 3d data information to the file. | |
Friends | |
class | vuConvert |
bool | readFreZ (vu11122 &volume, const vuString &filemask, int startID, int endID, int incID=1) |
A friend to read fre.Z format from the visible human project. |
|
Creates a histogram in hist. This is just a preliminary version of histogram creation. See class vuHistogram for a more detailed discussion.
Reimplemented from vu1112. Definition at line 273 of file 2B.cpp. References dword, vuHistogram::getType(), vuHistogram::recordIntensity(), vuHistogram::reset(), and word. |
Here is the call graph for this function:
|
laplacian weighted histogram and isosurface area see V.Pekar, R.Wienker, D.Hempel, "Fast Detection of Meaningful Isosurfaces for Volume Data Visualization", in Proccedings of IEEE Visualization 2001
Definition at line 147 of file 2B.cpp. References getDataValue(). |
Here is the call graph for this function:
|
returns the value at position x,y,z
Definition at line 139 of file 2B.cpp. References word. Referenced by generateLapWeightHistogram(). |
|
Asserts that the file is 2B data and reads the associated information. This method reads in the general information for 2B data sets. It also asserts whether the data is indeed 2B or not. !!By now this is just a copy of the 1B function. This has to be fixed!!!
Reimplemented from vu1112. Definition at line 48 of file 2B.cpp. References byte, dword, vu1::read(), vu1::setInvalidFormatError(), size, and word. |
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 vu1112211. Definition at line 10 of file 2B.cpp. References vuString::isEmpty(), and vu1::setError(). Referenced by main(). |
Here is the call graph for this function:
|
Remaps the intensities.
Reimplemented from vu1112. Definition at line 285 of file 2B.cpp. Referenced by main(). |
|
Empty implementation to satisfy virtual.
Implements vu1. Reimplemented in vu1112211. |
|
Empty implementation to satisfy virtual.
Implements vu1. |
|
Writes the general 3d data information to the file.
Reimplemented from vu1112. Definition at line 101 of file 2B.cpp. References vuString::c_str(), dword, vuString::isEmpty(), vu1::setWriteError(), size, word, 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 28 of file 2B.cpp. References vuString::isEmpty(), and vu1::setError(). Referenced by main(). |
Here is the call graph for this function:
|
A friend to read fre.Z format from the visible human project.
|
|
|