Demonstrate how to create a custom reader.
DESCRIPTION:
This program shows how to create and use a custom reader. The main viewer is a simple volume rendering example. The second viewer displays the volume read from the first volume data using a custom reader (in this example, the custom reader is base on the Data Access Api).
FILES:
-
VolumeViz/examples/CustomReader/DataAccessCustomReader/DataAccessCustomReader.cxx
-
VolumeViz/examples/CustomReader/DataAccessCustomReader/SoDataAccessReader.h
-
VolumeViz/examples/CustomReader/DataAccessCustomReader/SoDataAccessReader.cxx
SEE ALSO
SoVolumeData, SoVolumeRender
SCREENSHOT:
The first screenshot shows the main viewer (simple VolumeData). The second one displays the volume built with the custom reader.