Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
SoObliqueSlice Class Reference

Render a slice of the volume data, with any orientation. More...

#include <VolumeViz/nodes/SoObliqueSlice.h>

Inheritance diagram for SoObliqueSlice:
SoShape SoNode SoFieldContainer SoBase

Public Types

enum  Interpolation { NEAREST, LINEAR }
 
enum  AlphaUse { ALPHA_AS_IS, ALPHA_OPAQUE, ALPHA_BINARY }
 
- Public Types inherited from SoShape
enum  TriangleShape
 
- Public Types inherited from SoNode
enum  NodeType
 

Static Public Member Functions

static void initClass (void)
 
- Static Public Member Functions inherited from SoShape
static void getScreenSize (SoState *const state, const SbBox3f &boundingbox, SbVec2s &rectsize)
 
static float getDecimatedComplexity (SoState *state, float complexity)
 
- Static Public Member Functions inherited from SoNode
static uint32_t getCompatibilityTypes (const SoType &nodetype)
 
static SoNodegetByName (const SbName &name)
 
static int getByName (const SbName &name, SoNodeList &l)
 
static void initClasses (void)
 
static SbUniqueId getNextNodeId (void)
 
static int getActionMethodIndex (const SoType type)
 
static void getBoundingBoxS (SoAction *action, SoNode *node)
 
static void GLRenderS (SoAction *action, SoNode *node)
 
static void callbackS (SoAction *action, SoNode *node)
 
static void getMatrixS (SoAction *action, SoNode *node)
 
static void handleEventS (SoAction *action, SoNode *node)
 
static void pickS (SoAction *action, SoNode *node)
 
static void rayPickS (SoAction *action, SoNode *node)
 
static void searchS (SoAction *action, SoNode *node)
 
static void writeS (SoAction *action, SoNode *node)
 
static void audioRenderS (SoAction *action, SoNode *node)
 
static void getPrimitiveCountS (SoAction *action, SoNode *node)
 
- Static Public Member Functions inherited from SoFieldContainer
static void initCopyDict (void)
 
static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy)
 
static SoFieldContainercheckCopy (const SoFieldContainer *orig)
 
static SoFieldContainerfindCopy (const SoFieldContainer *orig, const SbBool copyconnections)
 
static void copyDone (void)
 
- Static Public Member Functions inherited from SoBase
static void initClass (void)
 
static SoType getClassTypeId (void)
 
static void addName (SoBase *const base, const char *const name)
 
static void removeName (SoBase *const base, const char *const name)
 
static void incrementCurrentWriteCounter (void)
 
static void decrementCurrentWriteCounter (void)
 
static SoBasegetNamedBase (const SbName &name, SoType type)
 
static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)
 
static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)
 
static void setInstancePrefix (const SbString &c)
 
static void setTraceRefs (SbBool trace)
 
static SbBool getTraceRefs (void)
 
static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)
 
static SbBool readRoute (SoInput *input)
 

Public Attributes

SoSFPlane plane
 
SoSFEnum interpolation
 
SoSFEnum alphaUse
 
SoSFNode alternateRep
 
- Public Attributes inherited from SoNode
 INVENTOR
 
 VRML1
 
 VRML2
 
 INVENTOR_1
 
 INVENTOR_2_0
 
 INVENTOR_2_1
 
 INVENTOR_2_5
 
 INVENTOR_2_6
 
 COIN_1_0
 
 COIN_2_0
 
 EXTENSION
 

Protected Member Functions

virtual void GLRender (SoGLRenderAction *action)
 
virtual void rayPick (SoRayPickAction *action)
 
virtual void generatePrimitives (SoAction *action)
 
virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 
virtual void write (SoWriteAction *action)
 
virtual SbBool readInstance (SoInput *in, unsigned short flags)
 
- Protected Member Functions inherited from SoShape
virtual const SoFieldDatagetFieldData (void) const
 
float getComplexityValue (SoAction *action)
 
virtual SbBool shouldGLRender (SoGLRenderAction *action)
 
void beginSolidShape (SoGLRenderAction *action)
 
void endSolidShape (SoGLRenderAction *action)
 
void GLRenderBoundingBox (SoGLRenderAction *action)
 
SbBool shouldPrimitiveCount (SoGetPrimitiveCountAction *action)
 
SbBool shouldRayPick (SoRayPickAction *const action)
 
void computeObjectSpaceRay (SoRayPickAction *const action)
 
void computeObjectSpaceRay (SoRayPickAction *const action, const SbMatrix &matrix)
 
virtual SoDetailcreateTriangleDetail (SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
 
virtual SoDetailcreateLineSegmentDetail (SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, SoPickedPoint *pp)
 
virtual SoDetailcreatePointDetail (SoRayPickAction *action, const SoPrimitiveVertex *v, SoPickedPoint *pp)
 
void invokeTriangleCallbacks (SoAction *const action, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2, const SoPrimitiveVertex *const v3)
 
void invokeLineSegmentCallbacks (SoAction *const action, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2)
 
void invokePointCallbacks (SoAction *const action, const SoPrimitiveVertex *const v)
 
void beginShape (SoAction *const action, const TriangleShape shapetype, SoDetail *const detail=NULL)
 
void shapeVertex (const SoPrimitiveVertex *const v)
 
void endShape (void)
 
void generateVertex (SoPrimitiveVertex *const pv, const SbVec3f &point, const SbBool useTexFunc, const SoMultiTextureCoordinateElement *const tce, const float s, const float t, const SbVec3f &normal)
 
void generateVertex (SoPrimitiveVertex *const pv, const SbVec3f &point, const SbBool useTexFunc, const SoMultiTextureCoordinateElement *const tce, const float s, const float t, const float r, const SbVec3f &normal)
 
SbBool startVertexArray (SoGLRenderAction *action, const SoCoordinateElement *coords, const SbVec3f *pervertexnormals, const SbBool texpervertex, const SbBool colorpervertex)
 
void finishVertexArray (SoGLRenderAction *action, const SbBool vbo, const SbBool normpervertex, const SbBool texpervertex, const SbBool colorpervertex)
 
- Protected Member Functions inherited from SoBase
virtual void destroy (void)
 
SbBool hasMultipleWriteRefs (void) const
 
SbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const
 
void writeFooter (SoOutput *out) const
 
virtual const char * getFileFormatName (void) const
 

Friends

class SoObliqueSliceP
 

Additional Inherited Members

- Public Member Functions inherited from SoShape
virtual SoType getTypeId (void) const
 
virtual SbBool affectsState (void) const
 
virtual void notify (SoNotList *nl)
 
virtual void getBoundingBox (SoGetBoundingBoxAction *action)
 
virtual void callback (SoCallbackAction *action)
 
virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)
 
const SoBoundingBoxCachegetBoundingBoxCache (void) const
 
- Public Member Functions inherited from SoNode
void setOverride (const SbBool state)
 
SbBool isOverride (void) const
 
void setNodeType (const NodeType type)
 
NodeType getNodeType (void) const
 
virtual SoNodecopy (SbBool copyconnections=FALSE) const
 
virtual void doAction (SoAction *action)
 
virtual void GLRenderBelowPath (SoGLRenderAction *action)
 
virtual void GLRenderInPath (SoGLRenderAction *action)
 
virtual void GLRenderOffPath (SoGLRenderAction *action)
 
virtual void getMatrix (SoGetMatrixAction *action)
 
virtual void handleEvent (SoHandleEventAction *action)
 
virtual void pick (SoPickAction *action)
 
virtual void search (SoSearchAction *action)
 
virtual void audioRender (SoAudioRenderAction *action)
 
virtual void grabEventsSetup (void)
 
virtual void grabEventsCleanup (void)
 
virtual void startNotify (void)
 
SbUniqueId getNodeId (void) const
 
virtual SoChildListgetChildren (void) const
 
virtual void writeInstance (SoOutput *out)
 
virtual SoNodeaddToCopyDict (void) const
 
virtual void copyContents (const SoFieldContainer *from, SbBool copyconnections)
 
virtual SoFieldContainercopyThroughConnection (void) const
 
- Public Member Functions inherited from SoFieldContainer
void setToDefaults (void)
 
SbBool hasDefaultValues (void) const
 
SbBool fieldsAreEqual (const SoFieldContainer *container) const
 
void copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)
 
SbBool set (const char *const fielddata)
 
void get (SbString &fielddata)
 
virtual int getFields (SoFieldList &l) const
 
virtual int getAllFields (SoFieldList &l) const
 
virtual SoFieldgetField (const SbName &name) const
 
virtual SoFieldgetEventIn (const SbName &name) const
 
virtual SoFieldgetEventOut (const SbName &name) const
 
SbBool getFieldName (const SoField *const field, SbName &name) const
 
SbBool enableNotify (const SbBool flag)
 
SbBool isNotifyEnabled (void) const
 
SbBool set (const char *fielddata, SoInput *input)
 
void get (SbString &fielddata, SoOutput *out)
 
virtual SbBool validateNewFieldValue (SoField *field, void *newval)
 
virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)
 
SbBool getIsBuiltIn (void) const
 
virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) const
 
void setUserData (void *userdata) const
 
void * getUserData (void) const
 
- Public Member Functions inherited from SoBase
void ref (void) const
 
void unref (void) const
 
void unrefNoDelete (void) const
 
int32_t getRefCount (void) const
 
void touch (void)
 
SbBool isOfType (SoType type) const
 
virtual SbName getName (void) const
 
virtual void setName (const SbName &newname)
 
void addAuditor (void *const auditor, const SoNotRec::Type type)
 
void removeAuditor (void *const auditor, const SoNotRec::Type type)
 
const SoAuditorListgetAuditors (void) const
 
SbBool shouldWrite (void)
 
void assertAlive (void) const
 
- Protected Types inherited from SoBase
enum  BaseFlags
 
- Static Protected Member Functions inherited from SoNode
static const SoFieldData ** getFieldDataPtr (void)
 
static void setNextActionMethodIndex (int index)
 
static int getNextActionMethodIndex (void)
 
static void incNextActionMethodIndex (void)
 
static void setCompatibilityTypes (const SoType &nodetype, const uint32_t bitmask)
 
- Static Protected Member Functions inherited from SoBase
static uint32_t getCurrentWriteCounter (void)
 
- Protected Attributes inherited from SoNode
SbUniqueId uniqueId
 
- Protected Attributes inherited from SoFieldContainer
SbBool isBuiltIn
 
- Static Protected Attributes inherited from SoNode
static SbUniqueId nextUniqueId
 
static int nextActionMethodIndex
 

Detailed Description

Render a slice of the volume data, with any orientation.

Insert a node of this type after an SoVolumeData node in the scene graph to render a single slice from the full volume data set. The slice is specified as a plane with an orientation and position within the volume.

Here is a simple example, in the form of an iv-file:

#Inventor V2.1 ascii

SoVolumeData { fileName "ENGINE.VOL" }
 
Separator {
  SoTransferFunction { }  
  DEF clipper ClipPlaneManip { }
  SoVolumeRender { }   
}

Separator {
  SoTransferFunction { predefColorMap GLOW }  
  SoObliqueSlice {
    interpolation LINEAR        
    alphaUse ALPHA_AS_IS
    plane = USE clipper . plane
  }
}

Please note that SoObliqueSlice will not work with older OpenGL drivers as they usually lack 3D-texture support. OpenGL drivers of version 1.2 and onwards supports 3D-texturing, as does older OpenGL drivers with the GL_EXT_texture3D extension. If none of these are available, a warning message will be printed using Coin's SoDebugError::postWarning().

See also
SoVolumeRender, SoOrthoSlice
SoVolumeTriangleStripSet, SoVolumeIndexedTriangleStripSet,
SoVolumeIndexedFaceSet, SoVolumeFaceSet
Since
SIM Voleon 2.0

Member Enumeration Documentation

◆ Interpolation

Enumeration of available types of voxel colors interpolation.

Enumerator
NEAREST 

For "in between" pixels of the screen rasterization, pick the color of the nearest voxel. Will give sharp edges and a distinct blocky look.

LINEAR 

For "in between" pixels of the screen rasterization, interpolate by averaging the colors of several of the nearest voxels. Will give a smoother appearance, but sacrifies some "correctness" for appearance.

◆ AlphaUse

Enumerator
ALPHA_AS_IS 

The alpha channel is rendered 'as-is'.

ALPHA_OPAQUE 

The alpha channel is ignored making the slice opaque.

ALPHA_BINARY 

All alpha values not equal to 0 is threated as value 1.0f.

Member Data Documentation

◆ plane

SoSFPlane SoObliqueSlice::plane

The plane defining the slice.

Default value is an XY plane.

◆ interpolation

SoSFEnum SoObliqueSlice::interpolation

How to interpolate color values when rendering "in between" voxels. See SoObliqueSlice::Interpolation.

Default value is SoObliqueSlice::LINEAR.

◆ alphaUse

SoSFEnum SoObliqueSlice::alphaUse

How the alpha channel should be threated during rendering. See SoObliqueSlice::AlphaUse.

Default value is SoObliqueSlice::ALPHA_AS_IS

◆ alternateRep

SoSFNode SoObliqueSlice::alternateRep

NOTE: support for this field not yet implemented in SIM Voleon.

Since
SIM Voleon 2.0

The documentation for this class was generated from the following files:
SoVolumeRender::MAX_INTENSITY
@ MAX_INTENSITY
Definition: SoVolumeRender.h:57
SoType::badType
static SoType badType(void)
SoShapeStyleElement::setTransparentMaterial
static void setTransparentMaterial(SoState *state, const SbBool value)
SoState
SbBox2s
SoCube
SoVolumeRender::numSlices
SoSFInt32 numSlices
Definition: SoVolumeRender.h:72
SoVRVolFileReader::setUserData
void setUserData(void *data)
Definition: VRVolFileReader.cpp:282
SoVolumeRender::setAbortCallback
void setAbortCallback(SoVolumeRenderAbortCB *func, void *userdata=NULL)
Definition: VolumeRender.cpp:777
SbBox3f::getSize
void getSize(float &sizeX, float &sizeY, float &sizeZ) const
SoRayPickAction::reset
void reset(void)
SoTransferFunction::predefColorMap
SoSFEnum predefColorMap
Definition: SoTransferFunction.h:73
SoVolumeData
The main interface for setting up volume data sets.
Definition: SoVolumeData.h:54
SoVolumeData::setVolumeData
void setVolumeData(const SbVec3s &dimension, void *data, SoVolumeData::DataType type=SoVolumeData::UNSIGNED_BYTE, int significantbits=0)
Definition: VolumeData.cpp:410
SoTransferFunction
Contains the transfer function definition.
Definition: SoTransferFunction.h:44
SbBox3s::intersect
SbBool intersect(const SbVec3s &pt) const
SoAction::apply
virtual void apply(SoNode *root)
SoVolumeData::setVolumeSize
void setVolumeSize(const SbBox3f &size)
Definition: VolumeData.cpp:335
SoPath::getTail
SoNode * getTail(void) const
SoDetail::getClassTypeId
static SoType getClassTypeId(void)
SoState::pop
void pop(void)
SoShape
SbMatrix
SoModelMatrixElement::mult
static void mult(SoState *const state, SoNode *const node, const SbMatrix &matrix)
SbBox3f::getCenter
SbVec3f getCenter(void) const
SoVertexShape::shouldGLRender
virtual SbBool shouldGLRender(SoGLRenderAction *action)
SoIndexedFaceSet
SoVolumeDetail::getProfileObjectPos
void getProfileObjectPos(SbVec3f profile[2]) const
Definition: VolumeDetail.cpp:152
SoViewVolumeElement::get
static const SbViewVolume & get(SoState *const state)
SoDebugError::post
static void post(const char *const source, const char *const format,...)
SO_NODE_INIT_ABSTRACT_CLASS
#define SO_NODE_INIT_ABSTRACT_CLASS(classname, parentclass, parentname)
SoSensor
SoVolumeRender
Render the full volume.
Definition: SoVolumeRender.h:47
SoModelMatrixElement
SoIndexedTriangleStripSet
SoVolumeRender::AUTOMATIC
@ AUTOMATIC
Definition: SoVolumeRender.h:58
SoVolumeRendering::getDelayedRendering
static SbBool getDelayedRendering(void)
Definition: VolumeRendering.cpp:529
SoVolumeRender::numSlicesControl
SoSFEnum numSlicesControl
Definition: SoVolumeRender.h:71
SoTransferFunction::colorMapType
SoSFEnum colorMapType
Definition: SoTransferFunction.h:74
SoVolumeData::useSharedPalettedTexture
SoSFBool useSharedPalettedTexture
Definition: SoVolumeData.h:81
SoTransferFunction::GRAY
@ GRAY
Definition: SoTransferFunction.h:56
SoVolumeRender::composition
SoSFEnum composition
Definition: SoVolumeRender.h:67
SoVolumeRendering::init
static void init(void)
Definition: VolumeRendering.cpp:324
SoState::push
void push(void)
SO_NODE_DEFINE_ENUM_VALUE
#define SO_NODE_DEFINE_ENUM_VALUE(enumname, enumvalue)
SoVolumeRender::SUM_INTENSITY
@ SUM_INTENSITY
Definition: SoVolumeRender.h:57
SoVolumeRender::ALL
@ ALL
Definition: SoVolumeRender.h:58
SbPlane::getDistance
float getDistance(const SbVec3f &point) const
SbBox3f::getBounds
void getBounds(float &xmin, float &ymin, float &zmin, float &xmax, float &ymax, float &zmax) const
SoGLRenderAction::addDelayedPath
void addDelayedPath(SoPath *path)
SoVolumeData::getVoxelValue
uint32_t getVoxelValue(const SbVec3s &voxelpos) const
Definition: VolumeData.cpp:486
SO_NODE_INIT_CLASS
#define SO_NODE_INIT_CLASS(classname, parentclass, parentname)
SoRayPickAction::addIntersection
SoPickedPoint * addIntersection(const SbVec3f &objectspacepoint, SbBool frontpick=TRUE)
SoTransferFunction::BLUE_RED
@ BLUE_RED
Definition: SoTransferFunction.h:61
SoBase::touch
void touch(void)
SoBase::getClassTypeId
static SoType getClassTypeId(void)
SoSearchAction
SoGLRenderAction::getCacheContext
uint32_t getCacheContext(void) const
SbBox3f
SoAction::getCurPath
const SoPath * getCurPath(void)
SoDebugError::postWarning
static void postWarning(const char *const source, const char *const format,...)
SoAction
SoVolumeDetail
The SoVolumeDetail stores ray intersection information through a volume.
Definition: SoVolumeDetail.h:45
SoVolumeData::useCompressedTexture
SoSFBool useCompressedTexture
Definition: SoVolumeData.h:82
SoVolumeRender::ALPHA_BLENDING
@ ALPHA_BLENDING
Definition: SoVolumeRender.h:57
SoVolumeRendering::setWriteAlternateRep
static void setWriteAlternateRep(SbBool flag)
Definition: VolumeRendering.cpp:453
SoVRVolFileReader::getDataChar
void getDataChar(SbBox3f &size, SoVolumeData::DataType &type, SbVec3s &dim)
Definition: VRVolFileReader.cpp:211
SoVolumeTriangleStripSet
Render a set of trianglestrips within the volume.
Definition: SoVolumeTriangleStripSet.h:44
SoVolumeReader::getDataChar
virtual void getDataChar(SbBox3f &size, SoVolumeData::DataType &type, SbVec3s &dim)=0
SoTransferFunction::RGBA
@ RGBA
Definition: SoTransferFunction.h:68
SbString
SoVolumeDetail::getProfileDataPos
int getProfileDataPos(SbVec3s profile[2]=0) const
Definition: VolumeDetail.cpp:174
SoVolumeRendering::getWriteAlternateRep
static SbBool getWriteAlternateRep(void)
Definition: VolumeRendering.cpp:483
SoVolumeDetail::setDetails
void setDetails(const SbVec3f raystart, const SbVec3f rayend, SoState *state, SoNode *caller)
Definition: VolumeDetail.cpp:262
SoTransferFunction::NONE
@ NONE
Definition: SoTransferFunction.h:54
SO_NODE_SOURCE
#define SO_NODE_SOURCE(classname)
SbStringList
SoVolumeRender::Composition
Composition
Definition: SoVolumeRender.h:57
SoVolumeSkin
Render just the six sides of the volume data.
Definition: SoVolumeSkin.h:40
SoTransferFunction::ColorMapType
ColorMapType
Definition: SoTransferFunction.h:65
SoVolumeSkinDetail
The SoVolumeSkinDetail stores ray intersection information through a volume.
Definition: SoVolumeSkinDetail.h:45
SbVec3f::length
float length(void) const
SbBox3f::setBounds
SbBox3f & setBounds(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
SoTransferFunction::shift
SoSFInt32 shift
Definition: SoTransferFunction.h:71
SoVolumeData::usePalettedTexture
SoSFBool usePalettedTexture
Definition: SoVolumeData.h:80
SoShape::shouldGLRender
virtual SbBool shouldGLRender(SoGLRenderAction *action)
SoTransferFunction::LUM_ALPHA
@ LUM_ALPHA
Definition: SoTransferFunction.h:67
SoMaterialBundle
SbBox3s
SoTransferFunction::colorMap
SoMFFloat colorMap
Definition: SoTransferFunction.h:75
SoVolumeRendering::setDelayedRendering
static void setDelayedRendering(SbBool flag)
Definition: VolumeRendering.cpp:510
SoBase::unref
void unref(void) const
SbVec2s
SoVRVolFileReader::getSubSlice
virtual void getSubSlice(SbBox2s &subslice, int slicenumber, void *data)
Definition: VRVolFileReader.cpp:244
SoVolumeDetail::getFirstNonTransparentValue
SbBool getFirstNonTransparentValue(unsigned int *value, SbVec3s *pos=0, SbVec3f *objpos=0, SbBool flag=FALSE) const
Definition: VolumeDetail.cpp:235
SoPath
SoVolumeRendering::setReadAlternateRep
static void setReadAlternateRep(SbBool flag)
Definition: VolumeRendering.cpp:427
SoVolumeRender::SoVolumeRenderAbortCB
AbortCode SoVolumeRenderAbortCB(int totalslices, int thisslice, void *userdata)
Definition: SoVolumeRender.h:61
SoShapeStyleElement::setTransparencyType
static void setTransparencyType(SoState *const state, const int32_t value)
SbBox3f::extendBy
void extendBy(const SbVec3f &pt)
SbList< VoxelInfo >
SoDebugError::postInfo
static void postInfo(const char *const source, const char *const format,...)
SbVec3s::setValue
SbVec3s & setValue(const short v[3])
SoVolumeReader
Abstract superclass for all volume data reader classes.
Definition: SoVolumeReader.h:43
SoLazyElement
SoSearchAction::getPath
SoPath * getPath(void) const
SoVolumeDetail::getProfileValue
unsigned int getProfileValue(int index, SbVec3s *pos=0, SbVec3f *objpos=0, SbBool flag=FALSE) const
Definition: VolumeDetail.cpp:203
SoVolumeRendering::initClass
static void initClass(void)
Definition: VolumeRendering.cpp:370
SbViewVolume::getPlane
SbPlane getPlane(const float distFromEye) const
SbColor
SoDetail
SoTransferFunction::STANDARD
@ STANDARD
Definition: SoTransferFunction.h:59
SoAction::getState
SoState * getState(void) const
SoVolumeRendering::getReadAlternateRep
static SbBool getReadAlternateRep(void)
Definition: VolumeRendering.cpp:471
SoCacheElement::invalidate
static void invalidate(SoState *const state)
SoVolumeFaceSet
Render a set of faces within the volume.
Definition: SoVolumeFaceSet.h:44
SoTransferFunction::SEISMIC
@ SEISMIC
Definition: SoTransferFunction.h:62
SoBase::ref
void ref(void) const
SoSearchAction::setInterest
void setInterest(const Interest interest)
SoTransferFunction::PHYSICS
@ PHYSICS
Definition: SoTransferFunction.h:58
SbVec3f
SoVolumeData::getVolumeSize
SbBox3f getVolumeSize(void) const
Definition: VolumeData.cpp:350
SbTime::getValue
double getValue(void) const
SoGetBoundingBoxAction
SoVolumeData::getPageSize
const SbVec3s & getPageSize(void) const
Definition: VolumeData.cpp:580
SoGLRenderAction::isRenderingDelayedPaths
SbBool isRenderingDelayedPaths(void) const
SoVolumeData::setTexMemorySize
void setTexMemorySize(int megatexels)
Definition: VolumeData.cpp:659
SoPath::copy
SoPath * copy(const int startfromnodeindex=0, int numnodes=0) const
SoVRVolFileReader
Loader for files in the VOL data format.
Definition: SoVRVolFileReader.h:39
SoVolumeData::setPageSize
void setPageSize(int size)
Definition: VolumeData.cpp:536
SoShape::computeObjectSpaceRay
void computeObjectSpaceRay(SoRayPickAction *const action)
SoCallbackAction
string.h
SO_NODE_ADD_FIELD
#define SO_NODE_ADD_FIELD(field, defaultvalue)
SoVolumeRender::NEAREST
@ NEAREST
Definition: SoVolumeRender.h:56
SbBox2s::getBounds
void getBounds(short &xmin, short &ymin, short &xmax, short &ymax) const
SoShape::shouldRayPick
SbBool shouldRayPick(SoRayPickAction *const action)
SoTransferFunction::ALPHA
@ ALPHA
Definition: SoTransferFunction.h:66
SoTransferFunction::GLOW
@ GLOW
Definition: SoTransferFunction.h:60
SoPickedPoint
SoFieldSensor
SoTransferFunction::GREY
@ GREY
Definition: SoTransferFunction.h:55
SoTransferFunction::PredefColorMap
PredefColorMap
Definition: SoTransferFunction.h:53
SoSearchAction::setType
void setType(const SoType type, const SbBool chkderived=TRUE)
SoInput::searchForFile
static SbString searchForFile(const SbString &basename, const SbStringList &directories, const SbStringList &subdirectories)
SoState::getAction
SoAction * getAction(void) const
SbVec3s
SoVolumeData::getTexMemorySize
int getTexMemorySize(void) const
Definition: VolumeData.cpp:689
SbVec3f::normalize
float normalize(void)
SoVolumeData::loadRegions
void loadRegions(const SbBox3s *region, int num, SoState *state, SoTransferFunction *node)
Definition: VolumeData.cpp:812
SbViewVolume
SoGLRenderAction.h
SoInput::getDirectories
static const SbStringList & getDirectories(void)
SoVolumeRender::LINEAR
@ LINEAR
Definition: SoVolumeRender.h:56
SoVolumeRender::MANUAL
@ MANUAL
Definition: SoVolumeRender.h:58
SoVolumeIndexedTriangleStripSet
Render a set of trianglestrips within the volume.
Definition: SoVolumeIndexedTriangleStripSet.h:44
SbTime
SoFaceSet
SoTransferFunction::TEMPERATURE
@ TEMPERATURE
Definition: SoTransferFunction.h:57
SoVolumeRender::NumSlicesControl
NumSlicesControl
Definition: SoVolumeRender.h:58
SoVolumeIndexedFaceSet
Render a set of faces within the volume.
Definition: SoVolumeIndexedFaceSet.h:44
SoNode
SoVolumeData::getHistogram
SbBool getHistogram(int &length, int *&histogram)
Definition: VolumeData.cpp:726
SoVolumeData::getVolumeData
SbBool getVolumeData(SbVec3s &dimension, void *&data, SoVolumeData::DataType &type, int *significantbits=NULL) const
Definition: VolumeData.cpp:457
SoVolumeRender::interpolation
SoSFEnum interpolation
Definition: SoVolumeRender.h:66
SoModelMatrixElement::scaleBy
static void scaleBy(SoState *const state, SoNode *const node, const SbVec3f &scaleFactor)
SoVolumeRender::rayPick
virtual void rayPick(SoRayPickAction *action)
Definition: VolumeRender.cpp:693
SoDrawStyleElement::Style
Style
SoTriangleStripSet
SoOrthoSlice
Render one orthogonal slice of the volume data.
Definition: SoOrthoSlice.h:46
SO_NODE_CONSTRUCTOR
#define SO_NODE_CONSTRUCTOR(classname)
SO_NODE_ABSTRACT_SOURCE
#define SO_NODE_ABSTRACT_SOURCE(classname)
SoRayPickAction
SoTransferFunction::offset
SoSFInt32 offset
Definition: SoTransferFunction.h:72
SoPickedPoint::setDetail
void setDetail(SoDetail *detail, SoNode *node)
SoTransferFunction::reMap
void reMap(int low, int high)
Definition: TransferFunction.cpp:352
SbString::getString
const char * getString(void) const
SoPickedPoint::getPath
SoPath * getPath() const
SbPlane
SoGLRenderAction::SORTED_OBJECT_BLEND
SORTED_OBJECT_BLEND
SoGLCacheContextElement.h
SoVolumeRendering
Abstract base class for all nodes related to volume rendering.
Definition: SoVolumeRendering.h:41
SbBox3f::isEmpty
SbBool isEmpty(void) const
SoGLRenderAction
SoCallbackAction.h
SoDrawStyleElement::get
static Style get(SoState *const state)
SoVolumeRenderDetail
The SoVolumeRenderDetail stores ray intersection information through a volume.
Definition: SoVolumeRenderDetail.h:45
SoColorPacker
SoVolumeRender::Interpolation
Interpolation
Definition: SoVolumeRender.h:56
SoPickAction
SoRayPickAction::isBetweenPlanes
SbBool isBetweenPlanes(const SbVec3f &intersection) const
tidbits.h