|
Revision 585, 1.1 kB
(checked in by allenb, 2 years ago)
|
Added documentation files that needed ported. See ticket:166.
|
| Line | |
|---|
| 1 |
#include <OSGConfig.h> |
|---|
| 2 |
|
|---|
| 3 |
using namespace OSG; |
|---|
| 4 |
|
|---|
| 5 |
/*! \defgroup GrpSystemNodeCoresDrawablesMisc Miscellaneous Drawables |
|---|
| 6 |
\ingroup GrpSystemNodeCoresDrawables |
|---|
| 7 |
*/ |
|---|
| 8 |
|
|---|
| 9 |
/*! \page PageSystemSlices Slices |
|---|
| 10 |
|
|---|
| 11 |
Slices is a simple volume rendering core. |
|---|
| 12 |
The Slicer just creates and renders |
|---|
| 13 |
viewer-oriented slices from back to front through a rectangular volume, |
|---|
| 14 |
which is centered around the origin and specified using the |
|---|
| 15 |
size in the three dimensions. The numberOfSlices parameter defines |
|---|
| 16 |
the number of slices which should be utilizes along the diagonal. |
|---|
| 17 |
Therefore it is more the max number of slices rendered and should be |
|---|
| 18 |
set to match the texture sampling rate. The slice distance is uniform |
|---|
| 19 |
for different camera positions which is necessary to minimize the re-sampling |
|---|
| 20 |
artifacts. |
|---|
| 21 |
|
|---|
| 22 |
\image html slicer.png "Polygon slices using various slice numbers" |
|---|
| 23 |
\image latex slicer.eps "Polygon slices using various slice numbers" width=8cm |
|---|
| 24 |
|
|---|
| 25 |
The core depends on the material to setup a 3D texture and BlendMode. |
|---|
| 26 |
You have to provide the voxelgrid-data as 3D-Texture. Check out |
|---|
| 27 |
the testSlicer programm as example. |
|---|
| 28 |
|
|---|
| 29 |
*/ |
|---|