#include <1B.h>
Inheritance diagram for vu11121:
Public Member Functions | |
vu11121 () | |
vu11121 (byte *data, dword XSize, dword YSize, dword ZSize) | |
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 () |
byte | getDataValue (unsigned int x, unsigned int y, unsigned int z) const |
returns the value at position x,y,z | |
void | setViewVectors (const vuVector &, const vuVector &, const vuVector &) |
Empty implementation to satisfy virtual. | |
void | render () |
Empty implementation to satisfy virtual. | |
void | cropFrom (const vu11121 &vol, word cube[6]) |
Removes some parts of the volume. | |
void | scaleFrom (const vu11121 &vol, word nx, word ny, word nz) |
Creates this volume as a scaled version of vol. | |
bool | createHistogram (vuHistogram &hist) const |
Creates a histogram in hist. | |
void | remap (const vuMap &map) |
Remaps the intensities. | |
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. | |
Friends | |
class | vuConvert |
bool | readRAW (const vuString &fname, vu11121 &vol) |
A friend to read the RAW format First line is ascii SIZEX SIZEY SIZEZ [PNTSIZE=1]. |
Definition at line 15 of file Regular/Unimodal/3d/1B/1B.h.
|
Definition at line 7 of file Regular/Unimodal/3d/1B/1B.cpp. |
|
Definition at line 9 of file Regular/Unimodal/3d/1B/1B.cpp. |
|
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 342 of file Regular/Unimodal/3d/1B/1B.cpp. References byte, dword, vuHistogram::getType(), vuHistogram::recordIntensity(), and vuHistogram::reset(). |
Here is the call graph for this function:
|
Removes some parts of the volume. cube[1..6] are x0, x1, y0, y1, z0, and z1 Definition at line 233 of file Regular/Unimodal/3d/1B/1B.cpp. References byte, dword, vu1::m_Data, vu1112::m_Dim1Size, vu1112::m_Dim2Size, vu1112::m_Dim3Size, and vu1112::operator=(). Referenced by main(). |
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 148 of file Regular/Unimodal/3d/1B/1B.cpp. References getDataValue(). |
Here is the call graph for this function:
|
returns the value at position x,y,z
Definition at line 43 of file Regular/Unimodal/3d/1B/1B.h. References byte. Referenced by generateLapWeightHistogram(), and scaleFrom(). |
|
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 vu1112. Definition at line 60 of file Regular/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 vu111211a, vu1112117, vu1112113, vu111211A, vu1112119, vu1112116, vu1112118, vu1112115, ns_vu1112112::vu1112112, and vu1112111. Definition at line 22 of file Regular/Unimodal/3d/1B/1B.cpp. References vuString::isEmpty(), and vu1::setError(). Referenced by main(), vu1112119::read(), vu1112111::read(), ns_vu1112112::vu1112112::read(), vu1112115::read(), vu1112118::read(), vu1112116::read(), vu111211A::read(), vu1112113::read(), vu1112117::read(), vu111211a::read(), and readRAW(). |
Here is the call graph for this function:
|
Remaps the intensities.
Reimplemented from vu1112. Definition at line 354 of file Regular/Unimodal/3d/1B/1B.cpp. |
|
Empty implementation to satisfy virtual.
Implements vu1. Reimplemented in vu111211a, vu1112117, vu1112113, vu111211A, vu1112119, vu1112116, vu1112118, vu1112115, ns_vu1112112::vu1112112, and vu1112111. Definition at line 53 of file Regular/Unimodal/3d/1B/1B.h. |
|
Creates this volume as a scaled version of vol. Currently this function is using nearest neighbour interpolation :-( Definition at line 270 of file Regular/Unimodal/3d/1B/1B.cpp. References byte, dword, getDataValue(), vu1112::m_Dim1Size, vu1112::m_Dim2Size, vu1112::m_Dim3Size, and vu1112::operator=(). Referenced by main(). |
Here is the call graph for this function:
|
Empty implementation to satisfy virtual.
Implements vu1. Reimplemented in vu111211a, vu1112117, vu1112113, vu111211A, vu1112119, vu1112116, vu1112118, vu1112115, ns_vu1112112::vu1112112, and vu1112111. Definition at line 51 of file Regular/Unimodal/3d/1B/1B.h. |
|
Writes the general 3d data information to the file.
Reimplemented from vu1112. Definition at line 110 of file Regular/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 41 of file Regular/Unimodal/3d/1B/1B.cpp. References vuString::isEmpty(), and vu1::setError(). Referenced by vu1112119::convertVUF2VUD(), and main(). |
Here is the call graph for this function:
|
A friend to read the RAW format First line is ascii SIZEX SIZEY SIZEZ [PNTSIZE=1]. m_DataSize will be set in vu1112, Definition at line 306 of file Regular/Unimodal/3d/1B/1B.cpp. |
|
Definition at line 17 of file Regular/Unimodal/3d/1B/1B.h. |