Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vu111 Class Reference

The base class for regular unimodal volume data in the vuVolume data tree. More...

#include <unimodal.h>

Inheritance diagram for vu111:

Inheritance graph
[legend]
Collaboration diagram for vu111:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const char * getDataName (void) const
 Returns the name of the data set.

Protected Member Functions

virtual bool read (FILE *file)
 Asserts that the file is unimodal data and reads the associated information.
virtual bool write (FILE *file)
 Writes the general unimodal data information to the file.

Protected Attributes

vuString m_DataName
 The name of the data set.

Detailed Description

The base class for regular unimodal volume data in the vuVolume data tree.

Definition at line 13 of file Regular/Unimodal/unimodal.h.


Member Function Documentation

const char * vu111::getDataName void   )  const
 

Returns the name of the data set.

This is a short name to describe the data set, such as temperature or opacity. It serves to differentiate different types of data within the same file.

Definition at line 8 of file Regular/Unimodal/unimodal.cpp.

References vuString::c_str(), and m_DataName.

Here is the call graph for this function:

bool vu111::read FILE *  file  )  [protected, virtual]
 

Asserts that the file is unimodal data and reads the associated information.

This method reads in the general information for all unimodal data sets. It also asserts whether the data is indeed unimodal or not.

Returns:
True if successful (data is unimodal), false otherwise.

Reimplemented from vu11.

Reimplemented in vu11121, vu11122, and vu1112.

Definition at line 17 of file Regular/Unimodal/unimodal.cpp.

References vu1::read(), and vu1::setInvalidFormatError().

Here is the call graph for this function:

bool vu111::write FILE *  file  )  [protected, virtual]
 

Writes the general unimodal data information to the file.

Returns:
True if successful, false otherwise.

Reimplemented from vu11.

Reimplemented in vu11121, vu11122, and vu1112.

Definition at line 36 of file Regular/Unimodal/unimodal.cpp.

References vu1::setWriteError(), and vu1::write().

Here is the call graph for this function:


Member Data Documentation

vuString vu111::m_DataName [protected]
 

The name of the data set.

Definition at line 38 of file Regular/Unimodal/unimodal.h.

Referenced by getDataName().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:21:03 2004 for vuVolume by  doxygen 1.3.9.1