20#ifndef _SO_OFFSCREEN_VOLUME_RENDER_H_
21#define _SO_OFFSCREEN_VOLUME_RENDER_H_
23#include <Inventor/SbPImpl.h>
24#include <Inventor/nodes/SoNode.h>
26#include <Inventor/fields/SoSFNode.h>
27#include <Inventor/fields/SoSFBool.h>
28#include <Inventor/fields/SoSFFloat.h>
29#include <Inventor/fields/SoSFVec3i32.h>
30#include <Inventor/fields/SoSFPath.h>
31#include <Inventor/fields/SoSFMatrix.h>
32#include <Inventor/fields/SoSFEnum.h>
34#include <VolumeViz/nodes/SoVolumeData.h>
38class SoFrameBufferObject;
200SoEXTENDER_Documented
private:
233 static void initClass();
234 static void exitClass();
238 void setSliceNumber(
SoState* state,
int slice );
244 bool needClearTarget(
SoState* state,
int slice );
246 void beginOffscreenRendering(
SoState* state );
247 void endOffscreenRendering(
SoState* state );
248 virtual void notify( SoNotList* list );
251 bool isReady()
const;
263 int m_currentSliceNumberInSubBox;
268 int m_currentSubBoxNumber;
272 void commonConstructor();
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box class.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box class.
Abstract base class for all actions.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Abstract base class for camera nodes.
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Extract data from an ...
SoSFEnum components
Components to get back from the offscreen render.
SoSFBool trigger
Setting this field to TRUE will start the off-screen rendering process.
SoSFVec3i32 boxSize
Resolution of the output data in the off-screen box.
SbVec3i32 getMaxBoxSize(SoState *state=NULL)
Returns the maximum boxSize that can be extract in one boxComputed for the current state.
bool synchronousExtraction(SoSceneManager *sceneManager)
Does extraction synchronously, whereas using trigger field will execute extraction on next redraw.
SoSFFloat opacityThreshold
During extraction, voxels with an opacity less than the specified value will be ignored Default is 0.
SoSFNode volumerenderSceneGraph
Head of the scene graph that contains one or multiple VolumeRender node to render in 3D off-screen cu...
SbBox3d ijkToXyzBox(const SbBox3i32 &ijkBox)
Convert ijk box coordinates returned by boxComputed method to the bboxSceneGraph space.
SoSFMatrix dataSpaceMatrix
This transformation is applied on the volume render texture coordinate during the extraction.
SoOffscreenVolumeRender()
Default constructor.
SoSFNode bboxSceneGraph
Head of the scene graph that defines the 3D off-screen scene cube to consider in world coordinates.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a 4x4 matrix.
Field containing a a node.
Field containing an SoPath.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Manages scene graph rendering and event handling.