|
VTK
9.7.20261123
|
#include <vtkWebGPUVolumeRayCastCoordinatorInternals.h>
Definition at line 33 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
Public Member Functions | |
| vtkInternals (vtkWebGPUVolumeRayCastCoordinator *self) | |
| bool | Offer (const vtkWebGPUVolumeRayCastContribution &contribution) |
| Take one input. | |
| void | Render (vtkWebGPURenderWindow *window, vtkRenderer *renderer) |
| March every gathered input and composite the result over the frame, once. | |
| void | ReleaseGraphicsResources () |
| void | Forget (vtkWebGPUVolumeRayCastMapper *mapper) |
| Forget what a mapper contributed, because it is letting go of its resources. | |
| std::size_t | GetNumberOfContributions () const |
| bool | WasComplete () const |
| Whether every brick the last frame wanted was there. | |
| void | EnsureImageTargets (vtkWebGPURenderWindow *window) |
| bool | ReadImage (vtkWebGPURenderWindow *window, bool depth, int scalarType, vtkImageData *output) |
| Copy one of the two image targets back into output. | |
Public Attributes | |
| bool | Rendered = true |
| Whether the pass for this frame has already been recorded. | |
| bool | RenderToImage = false |
| Render to image draws the volume alone into textures of this object's own, with the depth of the first sample that was visible where the selection ids otherwise go. | |
| vtkWebGPURenderWindow * | LastWindow = nullptr |
| The window the last pass was drawn with, so the image can be read back afterwards. | |
| vtkWebGPU::Texture | ImageColor |
| vtkWebGPU::TextureView | ImageColorView |
| vtkWebGPU::Texture | ImageDepth |
| vtkWebGPU::TextureView | ImageDepthView |
| int | ImageSize [2] = { 0, 0 } |
Static Public Attributes | |
| static constexpr int | TableSize = vtkWebGPUVolumeTransferFunctionSize |
|
inlineexplicit |
Definition at line 38 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| bool vtkWebGPUVolumeRayCastCoordinator::vtkInternals::Offer | ( | const vtkWebGPUVolumeRayCastContribution & | contribution | ) |
Take one input.
Starts a new frame when the previous one was drawn, or when the same input turns up twice, meaning a frame was gathered but never drawn. Returns false once full.
| void vtkWebGPUVolumeRayCastCoordinator::vtkInternals::Render | ( | vtkWebGPURenderWindow * | window, |
| vtkRenderer * | renderer ) |
March every gathered input and composite the result over the frame, once.
| void vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ReleaseGraphicsResources | ( | ) |
| void vtkWebGPUVolumeRayCastCoordinator::vtkInternals::Forget | ( | vtkWebGPUVolumeRayCastMapper * | mapper | ) |
Forget what a mapper contributed, because it is letting go of its resources.
|
inline |
Definition at line 56 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
|
inline |
Whether every brick the last frame wanted was there.
Definition at line 59 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| void vtkWebGPUVolumeRayCastCoordinator::vtkInternals::EnsureImageTargets | ( | vtkWebGPURenderWindow * | window | ) |
| bool vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ReadImage | ( | vtkWebGPURenderWindow * | window, |
| bool | depth, | ||
| int | scalarType, | ||
| vtkImageData * | output ) |
Copy one of the two image targets back into output.
Returns false when nothing has been drawn into them yet.
|
staticconstexpr |
Definition at line 36 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| bool vtkWebGPUVolumeRayCastCoordinator::vtkInternals::Rendered = true |
Whether the pass for this frame has already been recorded.
Definition at line 62 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| bool vtkWebGPUVolumeRayCastCoordinator::vtkInternals::RenderToImage = false |
Render to image draws the volume alone into textures of this object's own, with the depth of the first sample that was visible where the selection ids otherwise go.
The window's attachments are left alone, which is what makes the mode ignore the rest of the scene.
Definition at line 67 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| vtkWebGPURenderWindow* vtkWebGPUVolumeRayCastCoordinator::vtkInternals::LastWindow = nullptr |
The window the last pass was drawn with, so the image can be read back afterwards.
Not a reference: the render window outlives the coordinator it owns.
Definition at line 70 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| vtkWebGPU::Texture vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ImageColor |
Definition at line 71 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| vtkWebGPU::TextureView vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ImageColorView |
Definition at line 72 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| vtkWebGPU::Texture vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ImageDepth |
Definition at line 73 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| vtkWebGPU::TextureView vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ImageDepthView |
Definition at line 74 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.
| int vtkWebGPUVolumeRayCastCoordinator::vtkInternals::ImageSize[2] = { 0, 0 } |
Definition at line 75 of file vtkWebGPUVolumeRayCastCoordinatorInternals.h.