VTK  9.0.1
vtkOSPRayTetrahedraMapperNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayTetrahedraMapperNode.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkOSPRayTetrahedraMapperNode_h
25 #define vtkOSPRayTetrahedraMapperNode_h
26 
27 #include "vtkOSPRayCache.h" // For common cache infrastructure
28 #include "vtkRenderingRayTracingModule.h" // For export macro
29 #include "vtkVolumeMapperNode.h"
30 
31 #include "RTWrapper/RTWrapper.h" // for handle types
32 
33 class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayTetrahedraMapperNode : public vtkVolumeMapperNode
34 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
44  virtual void Render(bool prepass) override;
45 
46 protected:
49 
50  int NumColors;
51  double SamplingRate;
52 
55 
58  std::vector<float> TFVals;
59  std::vector<float> TFOVals;
60 
61  std::vector<int> Cells;
62  std::vector<osp::vec3f> Vertices;
63  std::vector<float> Field;
64 
66 
67 private:
69  void operator=(const vtkOSPRayTetrahedraMapperNode&) = delete;
70 };
71 
72 #endif
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:32
vtkVolumeMapperNode::New
static vtkVolumeMapperNode * New()
vtkOSPRayTetrahedraMapperNode::Cache
vtkOSPRayCache< vtkOSPRayCacheItemObject > * Cache
Definition: vtkOSPRayTetrahedraMapperNode.h:65
vtkOSPRayTetrahedraMapperNode::NumColors
int NumColors
Definition: vtkOSPRayTetrahedraMapperNode.h:50
vtkVolumeMapperNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
OSPVolume
#define OSPVolume
Definition: RTWrapper.h:26
vtkOSPRayTetrahedraMapperNode
Unstructured grid volume renderer.
Definition: vtkOSPRayTetrahedraMapperNode.h:33
vtkOSPRayTetrahedraMapperNode::TFVals
std::vector< float > TFVals
Definition: vtkOSPRayTetrahedraMapperNode.h:58
vtkOSPRayTetrahedraMapperNode::TransferFunction
OSPTransferFunction TransferFunction
Definition: vtkOSPRayTetrahedraMapperNode.h:57
vtkOSPRayTetrahedraMapperNode::Cells
std::vector< int > Cells
Definition: vtkOSPRayTetrahedraMapperNode.h:61
vtkOSPRayTetrahedraMapperNode::OSPRayVolume
OSPVolume OSPRayVolume
Definition: vtkOSPRayTetrahedraMapperNode.h:56
vtkOSPRayTetrahedraMapperNode::Vertices
std::vector< osp::vec3f > Vertices
Definition: vtkOSPRayTetrahedraMapperNode.h:62
vtkOSPRayTetrahedraMapperNode::PropertyTime
vtkTimeStamp PropertyTime
Definition: vtkOSPRayTetrahedraMapperNode.h:54
RTWrapper.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkViewNode::Render
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:63
vtkVolumeMapperNode.h
vtkOSPRayTetrahedraMapperNode::SamplingRate
double SamplingRate
Definition: vtkOSPRayTetrahedraMapperNode.h:51
vtkOSPRayTetrahedraMapperNode::BuildTime
vtkTimeStamp BuildTime
Definition: vtkOSPRayTetrahedraMapperNode.h:53
OSPTransferFunction
#define OSPTransferFunction
Definition: RTWrapper.h:27
vtkOSPRayCache< vtkOSPRayCacheItemObject >
vtkVolumeMapperNode
vtkViewNode specialized for vtkVolumeMappers
Definition: vtkVolumeMapperNode.h:36
vtkOSPRayTetrahedraMapperNode::Field
std::vector< float > Field
Definition: vtkOSPRayTetrahedraMapperNode.h:63
vtkOSPRayCache.h
vtkOSPRayTetrahedraMapperNode::TFOVals
std::vector< float > TFOVals
Definition: vtkOSPRayTetrahedraMapperNode.h:59