SoVolumeRenderDetail(3)

πŸ“¦ version 2.1.0, in fedora 43, fedora 44

πŸ’– SoVolumeRenderDetail πŸ’–

okay bestie, welcome to the SoVolumeRenderDetail(3) page β€” yes that's the manual name, section 3, library functions, we're in the C++ zone now πŸŽ€


✨ NAME ✨

SoVolumeRenderDetail β€” the class that stores ray intersection info as it travels through a volume. it's giving "I remember everything that happened on that ray" energy πŸ¦‹


🌸 SYNOPSIS 🌸

#include <VolumeViz/details/SoVolumeRenderDetail.h>

Inherits SoVolumeDetail. yes queen, she comes from a whole lineage πŸ’…

🫢 Static Public Member Functions

  • static void initClass (void) β€” the classic init-the-class moment, does exactly what it says on the tin ✨

Static Public Member Functions inherited from SoVolumeDetail

  • static void initClass (void) β€” same vibe, inherited, still iconic πŸ’œ

🌈 Additional Inherited Members

Public Member Functions inherited from SoVolumeDetail

  • virtual SoDetail * copy (void) const β€” makes you a copy, lowkey essential for detail objects πŸ‘‘
  • void getProfileObjectPos (SbVec3f profile[2]) const β€” hands you the profile's start and end positions in object space, two SbVec3fs into profile πŸ“
  • int getProfileDataPos (SbVec3s profile[2]=0) const β€” same deal but for data positions, as SbVec3s pairs, default arg 0 ngl ✨
  • unsigned int getProfileValue (int index, SbVec3s *pos=0, SbVec3f *objpos=0, SbBool flag=FALSE) const β€” grabs the voxel value at index, optionally filling in the data pos, the object pos, and a flag (defaults: 0, 0, FALSE) 😌
  • SbBool getFirstNonTransparentValue (unsigned int *value, SbVec3s *pos=0, SbVec3f *objpos=0, SbBool flag=FALSE) const β€” finds the first value that isn't transparent and tells you if it found one, with the same optional pos, objpos and flag goodies (defaults 0, 0, FALSE) πŸ”₯
  • void setDetails (const SbVec3f raystart, const SbVec3f rayend, SoState *state, SoNode *caller) β€” sets the whole thing up from a ray start, a ray end, the SoState, and whoever called it 🧚

πŸ’… Detailed Description πŸ’…

okay so. SoVolumeRenderDetail stores ray intersection information through a volume. that's the whole assignment and she ate πŸ’–

An SoVolumeRenderDetail holds the info about a ray intersecting a volume that's been rendered with the SoVolumeRender node. so like, ray goes in, volume says hi, this class writes it all down πŸ“βœ¨

The detail contains a "profile" of voxel values through the volume, where the profile is defined by a start point and an end point. two little anchors, whole lotta voxels in between πŸŽ€

bestie, for the actual how-do-I-extract-this-stuff instructions, go check the superclass documentation β€” she's got the receipts on how to pull information about the ray profile πŸ‘‘

🌟 Author 🌟

Generated automatically by Doxygen for SIMVoleon from the source code. not a human, just a very diligent robot 🫢


and that's the whole page, no cap πŸ’œ big mwah to SIMVoleon, Version 2.1.0 β€” thanks for the lore, see u in SoVolumeRenderDetail(3) whenever you need ray-through-volume gossip πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from