VTK
9.3.20240907
|
Entries for a cache of render-helpers. More...
#include <vtkDGRenderResponder.h>
Public Attributes | |
Cache keys | |
These variables are used by the comparator as a key. The cell-type within the grid to be rendered. | |
vtkSmartPointer< vtkDGCell > | CellType |
The cell- or side-source within the cell-type to be rendered. | |
const vtkDGCell::Source * | CellSource |
The cell- or side-source within the cell-type to be rendered. | |
vtkSmartPointer< vtkCellAttribute > | Shape |
The vector-valued attribute used to move from reference coordinates to world coordinates. | |
vtkSmartPointer< vtkCellAttribute > | Color |
The attribute used to color the geometry (or null). | |
vtkNew< vtkInformation > | LastRenderPassInfo |
The last render pass information is cached when RenderHelper is configured. | |
Cache data | |
These variables may be modified during a render. They are not used to sort/index the entry, so are mutable. A container for arrays and shaders that actually draws the data. | |
std::unique_ptr< vtkDrawTexturedElements > | RenderHelper |
The MTime of the shape cell-attribute at the time RenderHelper was configured. | |
vtkMTimeType | ShapeTime |
The MTime of the shape cell-attribute at the time RenderHelper was configured. | |
vtkMTimeType | ColorTime |
The MTime of the color cell-attribute at the time RenderHelper was configured. | |
vtkMTimeType | GridTime |
The MTime of the cell-grid which owns CellType at the time RenderHelper was configured. | |
vtkMTimeType | PropertyTime |
The MTime of the property at the time RenderHelper was configured. | |
vtkMTimeType | MapperTime |
The MTime of the mapper at the time RenderHelper was configured. | |
vtkMTimeType | RenderPassStageTime |
The MTime of the render passes combined at the time RenderHelper was configured. | |
bool | UsesTessellationShaders |
Tessellation shaders are employed for higher order elements and quadrilaterals. | |
bool | UsesGeometryShaders |
Geometry shader is used to debug distance-based tessellation. | |
Mods | |
These are the names of classes which are subclasess of vtkGLSLRuntimeModBase. The mods will be loaded one by one and applied in the order they were added. | |
std::vector< std::string > | ModNames |
Determine whether to remove this cache entry because renderer, actor, or mapper have changed since it was constructed. | |
bool | IsUpToDate (vtkRenderer *renderer, vtkActor *actor, vtkMapper *mapper, vtkDGRenderResponder *responder) const |
Determine whether to remove this cache entry because renderer, actor, or mapper have changed since it was constructed. | |
void | PrepareHelper (vtkRenderer *renderer, vtkActor *actor, vtkMapper *mapper) const |
Allocate a RenderHelper as needed and configure it. | |
bool | operator< (const CacheEntry &other) const |
Used sort cache entries for inclusion in a std::set<>. | |
Entries for a cache of render-helpers.
Definition at line 87 of file vtkDGRenderResponder.h.
bool vtkDGRenderResponder::CacheEntry::IsUpToDate | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
vtkMapper * | mapper, | ||
vtkDGRenderResponder * | responder | ||
) | const |
Determine whether to remove this cache entry because renderer, actor, or mapper have changed since it was constructed.
void vtkDGRenderResponder::CacheEntry::PrepareHelper | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
vtkMapper * | mapper | ||
) | const |
Allocate a RenderHelper as needed and configure it.
bool vtkDGRenderResponder::CacheEntry::operator< | ( | const CacheEntry & | other | ) | const |
Used sort cache entries for inclusion in a std::set<>.
vtkSmartPointer<vtkDGCell> vtkDGRenderResponder::CacheEntry::CellType |
The cell- or side-source within the cell-type to be rendered.
Definition at line 93 of file vtkDGRenderResponder.h.
const vtkDGCell::Source* vtkDGRenderResponder::CacheEntry::CellSource |
The cell- or side-source within the cell-type to be rendered.
Definition at line 95 of file vtkDGRenderResponder.h.
vtkSmartPointer<vtkCellAttribute> vtkDGRenderResponder::CacheEntry::Shape |
The vector-valued attribute used to move from reference coordinates to world coordinates.
Definition at line 97 of file vtkDGRenderResponder.h.
vtkSmartPointer<vtkCellAttribute> vtkDGRenderResponder::CacheEntry::Color |
The attribute used to color the geometry (or null).
Definition at line 99 of file vtkDGRenderResponder.h.
vtkNew<vtkInformation> vtkDGRenderResponder::CacheEntry::LastRenderPassInfo |
The last render pass information is cached when RenderHelper is configured.
Definition at line 101 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the shape cell-attribute at the time RenderHelper was configured.
Definition at line 109 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the shape cell-attribute at the time RenderHelper was configured.
Definition at line 111 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the color cell-attribute at the time RenderHelper was configured.
Definition at line 113 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the cell-grid which owns CellType at the time RenderHelper was configured.
Definition at line 116 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the property at the time RenderHelper was configured.
The actor controls default visual properties (color, opacity, transforms) applied to the cell-grid.
Definition at line 120 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the mapper at the time RenderHelper was configured.
The mapper controls what component is used for coloring,
Definition at line 123 of file vtkDGRenderResponder.h.
|
mutable |
The MTime of the render passes combined at the time RenderHelper was configured.
Various render passes are injected into the render pipeline by vtkOpenGLRenderer for fancy features like dual-depth peeling, SSAO, etc.
Definition at line 127 of file vtkDGRenderResponder.h.
|
mutable |
Tessellation shaders are employed for higher order elements and quadrilaterals.
Definition at line 129 of file vtkDGRenderResponder.h.
|
mutable |
Geometry shader is used to debug distance-based tessellation.
Definition at line 131 of file vtkDGRenderResponder.h.
std::vector<std::string> vtkDGRenderResponder::CacheEntry::ModNames |
Determine whether to remove this cache entry because renderer, actor, or mapper have changed since it was constructed.
Definition at line 137 of file vtkDGRenderResponder.h.