VTK  9.3.0
vtkOpenGLPolyDataMapper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkOpenGLPolyDataMapper_h
17 #define vtkOpenGLPolyDataMapper_h
18 
19 #include "vtkInformation.h" // for prim struct
20 #include "vtkNew.h" // For vtkNew
21 #include "vtkOpenGLHelper.h" // used for ivars
22 #include "vtkPolyDataMapper.h"
23 #include "vtkRenderingOpenGL2Module.h" // For export macro
24 #include "vtkShader.h" // for methods
25 #include "vtkStateStorage.h" // used for ivars
26 
27 #include <map> // for map
28 #include <tuple> // for tuple
29 #include <vector> // for vector
30 
31 VTK_ABI_NAMESPACE_BEGIN
32 class vtkCellArray;
34 class vtkMatrix4x4;
35 class vtkMatrix3x3;
38 class vtkOpenGLTexture;
42 class vtkPoints;
43 class vtkTexture;
44 class vtkTextureObject;
45 class vtkTransform;
47 
48 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLPolyDataMapper : public vtkPolyDataMapper
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
58  void RenderPiece(vtkRenderer* ren, vtkActor* act) override;
59 
66 
68 
71  virtual void RenderPieceStart(vtkRenderer* ren, vtkActor* act);
72  virtual void RenderPieceDraw(vtkRenderer* ren, vtkActor* act);
73  virtual void RenderPieceFinish(vtkRenderer* ren, vtkActor* act);
75 
82 
83  vtkGetMacro(PopulateSelectionSettings, int);
84  void SetPopulateSelectionSettings(int v) { this->PopulateSelectionSettings = v; }
85 
92  bool GetSupportsSelection() override { return true; }
93 
94  // used by RenderPiece and functions it calls to reduce
95  // calls to get the input and allow for rendering of
96  // other polydata (not the input)
98 
100 
106  vtkSetStringMacro(PointIdArrayName);
107  vtkGetStringMacro(PointIdArrayName);
108  vtkSetStringMacro(CellIdArrayName);
109  vtkGetStringMacro(CellIdArrayName);
111 
113 
118  vtkSetStringMacro(ProcessIdArrayName);
119  vtkGetStringMacro(ProcessIdArrayName);
121 
123 
132  vtkSetStringMacro(CompositeIdArrayName);
133  vtkGetStringMacro(CompositeIdArrayName);
135 
139  void ShallowCopy(vtkAbstractMapper* m) override;
140 
142  vtkGetObjectMacro(VBOs, vtkOpenGLVertexBufferObjectGroup);
143 
147  void SetVBOShiftScaleMethod(int method) override;
148 
157  vtkGetMacro(UseProgramPointSize, bool);
158  vtkSetMacro(UseProgramPointSize, bool);
159  vtkBooleanMacro(UseProgramPointSize, bool);
160 
162  {
163  PrimitiveStart = 0,
164  PrimitivePoints = 0,
169  PrimitiveEnd
170  };
171 
183  void MapDataArrayToVertexAttribute(const char* vertexAttributeName, const char* dataArrayName,
184  int fieldAssociation, int componentno = -1) override;
185 
186  // This method will Map the specified data array for use as
187  // a texture coordinate for texture tname. The actual
188  // attribute will be named tname_coord so as to not
189  // conflict with the texture sampler definition which will
190  // be tname.
191  void MapDataArrayToMultiTextureAttribute(const char* tname, const char* dataArrayName,
192  int fieldAssociation, int componentno = -1) override;
193 
197  void RemoveVertexAttributeMapping(const char* vertexAttributeName) override;
198 
203 
209  vtkHardwareSelector* sel, std::vector<unsigned int>& pixeloffsets, vtkProp* prop) override;
210 
211 protected:
214 
216 
217  void MapDataArray(const char* vertexAttributeName, const char* dataArrayName,
218  const char* texturename, int fieldAssociation, int componentno);
219 
220  // what coordinate should be used for this texture
222 
223  // handle updating shift scale based on pose changes
224  virtual void UpdateCameraShiftScale(vtkRenderer* ren, vtkActor* actor);
225 
229  void GetCoincidentParameters(vtkRenderer* ren, vtkActor* actor, float& factor, float& offset);
230 
236  void ComputeBounds() override;
237 
242  virtual void UpdateShaders(vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
243 
247  virtual bool GetNeedToRebuildShaders(vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
248 
252  virtual void BuildShaders(
253  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
254 
258  virtual void GetShaderTemplate(
259  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
260 
264  virtual void ReplaceShaderValues(
265  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
266 
268 
273  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act, bool prePass);
275  std::map<vtkShader::Type, vtkShader*> shaders, vtkActor* act);
276  virtual void ReplaceShaderColor(
277  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
278  virtual void ReplaceShaderEdges(
279  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
280  virtual void ReplaceShaderLight(
281  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
282  virtual void ReplaceShaderTCoord(
283  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
284  virtual void ReplaceShaderPicking(
285  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
286  virtual void ReplaceShaderPrimID(
287  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
288  virtual void ReplaceShaderNormal(
289  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
290  virtual void ReplaceShaderClip(
291  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
293  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
295  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
296  virtual void ReplaceShaderDepth(
297  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
299 
303  virtual void SetCustomUniforms(vtkOpenGLHelper& cellBO, vtkActor* actor);
304 
309 
314  vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
315 
320 
325  vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
326 
330  virtual void UpdateBufferObjects(vtkRenderer* ren, vtkActor* act);
331 
336 
340  virtual void BuildBufferObjects(vtkRenderer* ren, vtkActor* act);
341 
345  virtual void BuildIBO(vtkRenderer* ren, vtkActor* act, vtkPolyData* poly);
346 
350  virtual void BuildSelectionIBO(
351  vtkPolyData* poly, std::vector<unsigned int> (&indices)[4], vtkIdType offset);
352 
356  virtual void BuildSelectionCache(const char* arrayName, bool selectingPoints, vtkPolyData* poly);
357 
358  // The VBO and its layout.
360 
361  // Structures for the various cell types we render.
362  vtkOpenGLHelper Primitives[PrimitiveEnd];
363  vtkOpenGLHelper SelectionPrimitives[PrimitiveEnd];
366  bool DrawingSelection = false;
368  vtkMTimeType SelectionTime = 0;
369 
370  std::map<std::tuple<unsigned int, unsigned int, vtkIdType>, std::vector<vtkIdType>>
373  bool SelectionCacheForPoints = false;
374  vtkMTimeType SelectionCacheTime = 0;
375  vtkPolyData* SelectionPolyData = nullptr;
376 
377  // do we have wide lines that require special handling
379 
380  // do we have textures that require special handling
381  virtual bool HaveTextures(vtkActor* actor);
382 
383  // how many textures do we have
384  virtual unsigned int GetNumberOfTextures(vtkActor* actor);
385 
386  // populate a vector with the textures we have
387  // the order is always
388  // ColorInternalTexture
389  // Actors texture
390  // Properties textures
391  virtual std::vector<std::pair<vtkTexture*, std::string>> GetTextures(vtkActor* actor);
392 
393  // do we have textures coordinates that require special handling
394  virtual bool HaveTCoords(vtkPolyData* poly);
395 
396  // values we use to determine if we need to rebuild shaders
397  // stored in a map keyed on the vtkOpenGLHelper, so one
398  // typically entry per type of primitive we render which
399  // matches the shader programs we use
401  {
402  public:
406 
407  // Caches the vtkOpenGLRenderPass::RenderPasses() information.
408  // Note: Do not dereference the pointers held by this object. There is no
409  // guarantee that they are still valid!
411  };
412  std::map<const vtkOpenGLHelper*, primitiveInfo> PrimitiveInfo;
413 
417 
418  // Check the renderpasses in actor's property keys to see if they've changed
419  // render stages:
421 
423  vtkTimeStamp VBOBuildTime; // When was the OpenGL VBO updated?
424  vtkStateStorage VBOBuildState; // used for determining when to rebuild the VBO
425  vtkStateStorage IBOBuildState; // used for determining whento rebuild the IBOs
427  vtkStateStorage TempState; // can be used to avoid constant allocs/deallocs
429 
432 
438 
439  // if set to true, tcoords will be passed to the
440  // VBO even if the mapper knows of no texture maps
441  // normally tcoords are only added to the VBO if the
442  // mapper has identified a texture map as well.
444 
445  virtual void BuildCellTextures(
446  vtkRenderer* ren, vtkActor*, vtkCellArray* prims[4], int representation);
447 
448  void AppendCellTextures(vtkRenderer* ren, vtkActor*, vtkCellArray* prims[4], int representation,
449  std::vector<unsigned char>& colors, std::vector<float>& normals, vtkPolyData* pd,
451 
458 
461  std::vector<unsigned char> EdgeValues;
463 
464  // additional picking indirection
469 
471  {
472  public:
477  };
478  std::map<std::string, ExtraAttributeValue> ExtraAttributes;
479 
481 
482  // are we currently drawing spheres/tubes
483  bool DrawingSpheres(vtkOpenGLHelper& cellBO, vtkActor* actor);
484  bool DrawingTubes(vtkOpenGLHelper& cellBO, vtkActor* actor);
486 
487  // get which opengl mode to use to draw the primitive
488  int GetOpenGLMode(int representation, int primType);
489 
490  // get how big to make the points when doing point picking
491  // typically 2 for points, 4 for lines, 6 for surface
492  int GetPointPickingPrimitiveSize(int primType);
493 
494  // used to occasionally invoke timers
495  unsigned int TimerQueryCounter;
496 
497  // stores the mapping from OpenGL primitives IDs (gl_PrimitiveId) to VTK cells IDs
499 
500  // compute and set the maximum point and cell ID used in selection
501  virtual void UpdateMaximumPointCellIds(vtkRenderer* ren, vtkActor* actor);
502 
503  virtual void AddPointIdsToSelectionPrimitives(vtkPolyData* poly, const char* arrayName,
504  unsigned int processId, unsigned int compositeIndex, vtkIdType selectedId);
505  virtual void AddCellIdsToSelectionPrimitives(vtkPolyData* poly, const char* arrayName,
506  unsigned int processId, unsigned int compositeIndex, vtkIdType selectedId);
507 
508  vtkNew<vtkCellArray> SelectionArrays[4];
509 
510 private:
512  void operator=(const vtkOpenGLPolyDataMapper&) = delete;
513 };
514 
515 VTK_ABI_NAMESPACE_END
516 #endif
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:41
object to represent cell connectivity
Definition: vtkCellArray.h:176
a simple class to control print indentation
Definition: vtkIndent.h:29
represent and manipulate 3x3 transformation matrices
Definition: vtkMatrix3x3.h:26
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:31
OpenGL buffer object.
OpenGL rendering utility functions.
PolyDataMapper using OpenGL to render.
virtual void BuildSelectionCache(const char *arrayName, bool selectingPoints, vtkPolyData *poly)
Build the selection cache, used to map value ids to indices values.
void MapDataArrayToMultiTextureAttribute(const char *tname, const char *dataArrayName, int fieldAssociation, int componentno=-1) override
virtual void ReplaceShaderRenderPass(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act, bool prePass)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
virtual void SetLightingShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameters related to lighting, called by UpdateShader.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
virtual void ReplaceShaderPrimID(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
virtual void AddCellIdsToSelectionPrimitives(vtkPolyData *poly, const char *arrayName, unsigned int processId, unsigned int compositeIndex, vtkIdType selectedId)
virtual std::vector< std::pair< vtkTexture *, std::string > > GetTextures(vtkActor *actor)
virtual void GetShaderTemplate(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Create the basic shaders before replacement.
std::map< const vtkOpenGLHelper *, primitiveInfo > PrimitiveInfo
virtual bool GetNeedToRebuildShaders(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Does the shader source need to be recomputed.
bool DrawingTubes(vtkOpenGLHelper &cellBO, vtkActor *actor)
vtkOpenGLBufferObject * CellScalarBuffer
virtual void RenderPieceStart(vtkRenderer *ren, vtkActor *act)
Implemented by sub classes.
void RenderPiece(vtkRenderer *ren, vtkActor *act) override
Implemented by sub classes.
void ComputeBounds() override
Called in GetBounds().
std::string GetTextureCoordinateName(const char *tname)
vtkOpenGLRenderTimer * TimerQuery
virtual void BuildIBO(vtkRenderer *ren, vtkActor *act, vtkPolyData *poly)
Build the IBO, called by BuildBufferObjects.
virtual void AddPointIdsToSelectionPrimitives(vtkPolyData *poly, const char *arrayName, unsigned int processId, unsigned int compositeIndex, vtkIdType selectedId)
virtual void ReplaceShaderCustomUniforms(std::map< vtkShader::Type, vtkShader * > shaders, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
bool DrawingTubesOrSpheres(vtkOpenGLHelper &cellBO, vtkActor *actor)
virtual void ReplaceShaderTCoord(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
virtual void UpdateShaders(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Make sure appropriate shaders are defined, compiled and bound.
virtual void ReplaceShaderLight(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
virtual void ReplaceShaderCoincidentOffset(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
vtkTextureObject * CellScalarTexture
virtual void SetCustomUniforms(vtkOpenGLHelper &cellBO, vtkActor *actor)
Set the value of user-defined uniform variables, called by UpdateShader.
virtual void SetCameraShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameters related to the Camera, called by UpdateShader.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void ReplaceShaderValues(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates.
virtual bool GetNeedToRebuildBufferObjects(vtkRenderer *ren, vtkActor *act)
Does the VBO/IBO need to be rebuilt.
virtual void SetPropertyShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameters related to the property, called by UpdateShader.
virtual void ReplaceShaderEdges(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
virtual bool HaveWideLines(vtkRenderer *, vtkActor *)
virtual void BuildShaders(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Build the shader source code, called by UpdateShader.
void AppendCellTextures(vtkRenderer *ren, vtkActor *, vtkCellArray *prims[4], int representation, std::vector< unsigned char > &colors, std::vector< float > &normals, vtkPolyData *pd, vtkOpenGLCellToVTKCellMap *ccmap)
static vtkOpenGLPolyDataMapper * New()
MapperHashType GenerateHash(vtkPolyData *polydata) override
Unique hash based on availability of scalars, normals, tcoords, lookup tables and related attributes ...
vtkTextureObject * CellNormalTexture
virtual void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameters related to the mapper/input data, called by UpdateShader.
vtkMTimeType GetRenderPassStageMTime(vtkActor *actor, const vtkOpenGLHelper *cellBO)
virtual void UpdateMaximumPointCellIds(vtkRenderer *ren, vtkActor *actor)
bool GetSupportsSelection() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
bool DrawingSpheres(vtkOpenGLHelper &cellBO, vtkActor *actor)
vtkNew< vtkOpenGLCellToVTKCellMap > CellCellMap
virtual void RenderPieceFinish(vtkRenderer *ren, vtkActor *act)
Implemented by sub classes.
virtual void ReplaceShaderDepth(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
vtkOpenGLTexture * InternalColorTexture
virtual void ReplaceShaderClip(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
int GetPointPickingPrimitiveSize(int primType)
vtkOpenGLBufferObject * CellNormalBuffer
virtual void BuildSelectionIBO(vtkPolyData *poly, std::vector< unsigned int >(&indices)[4], vtkIdType offset)
Build the selection IBO, called by UpdateBufferObjects.
std::vector< unsigned char > EdgeValues
std::map< std::string, ExtraAttributeValue > ExtraAttributes
virtual void RenderPieceDraw(vtkRenderer *ren, vtkActor *act)
Implemented by sub classes.
vtkOpenGLBufferObject * EdgeBuffer
virtual void UpdateCameraShiftScale(vtkRenderer *ren, vtkActor *actor)
void SetVBOShiftScaleMethod(int method) override
A convenience method for enabling/disabling the VBO's shift+scale transform.
virtual unsigned int GetNumberOfTextures(vtkActor *actor)
void ProcessSelectorPixelBuffers(vtkHardwareSelector *sel, std::vector< unsigned int > &pixeloffsets, vtkProp *prop) override
allows a mapper to update a selections color buffers Called from a prop which in turn is called from ...
virtual void ReplaceShaderPositionVC(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
virtual void ReplaceShaderNormal(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
vtkNew< vtkTransform > VBOInverseTransform
vtkOpenGLVertexBufferObjectGroup * VBOs
void MapDataArray(const char *vertexAttributeName, const char *dataArrayName, const char *texturename, int fieldAssociation, int componentno)
virtual bool DrawingEdges(vtkRenderer *, vtkActor *)
vtkNew< vtkMatrix4x4 > VBOShiftScale
virtual void BuildBufferObjects(vtkRenderer *ren, vtkActor *act)
Build the VBO/IBO, called by UpdateBufferObjects.
vtkGenericOpenGLResourceFreeCallback * ResourceCallback
void RemoveVertexAttributeMapping(const char *vertexAttributeName) override
Remove a vertex attribute mapping.
void MapDataArrayToVertexAttribute(const char *vertexAttributeName, const char *dataArrayName, int fieldAssociation, int componentno=-1) override
Select a data array from the point/cell data and map it to a generic vertex attribute.
virtual void ReplaceShaderPicking(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
void GetCoincidentParameters(vtkRenderer *ren, vtkActor *actor, float &factor, float &offset)
helper function to get the appropriate coincident params
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
virtual bool HaveTCoords(vtkPolyData *poly)
int GetOpenGLMode(int representation, int primType)
virtual void ReplaceShaderColor(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacements on the shader templates, called from ReplaceShaderValues.
void RemoveAllVertexAttributeMappings() override
Remove all vertex attributes.
~vtkOpenGLPolyDataMapper() override
std::map< std::tuple< unsigned int, unsigned int, vtkIdType >, std::vector< vtkIdType > > SelectionCache
virtual bool HaveTextures(vtkActor *actor)
virtual void UpdateBufferObjects(vtkRenderer *ren, vtkActor *act)
Update the VBO/IBO to be current.
virtual void BuildCellTextures(vtkRenderer *ren, vtkActor *, vtkCellArray *prims[4], int representation)
Asynchronously measures GPU execution time for a single event.
represent GPU shader properties
OpenGL texture map.
manage vertex buffer objects shared within a mapper
represent and manipulate 3D points
Definition: vtkPoints.h:29
map vtkPolyData to graphics primitives
std::uintptr_t MapperHashType
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:80
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:46
abstract specification for renderers
Definition: vtkRenderer.h:62
Class to make storing and comparing state quick and easy.
abstracts an OpenGL texture object.
handles properties associated with a texture map
Definition: vtkTexture.h:58
record modification and/or execution time
Definition: vtkTimeStamp.h:25
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:50
window superclass for vtkRenderWindow
Definition: vtkWindow.h:28
@ offset
Definition: vtkX3D.h:438
@ string
Definition: vtkX3D.h:490
int vtkIdType
Definition: vtkType.h:315
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270