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
25 #ifndef vtkOpenGLPolyDataMapper_h
26 #define vtkOpenGLPolyDataMapper_h
27 
28 #include "vtkInformation.h" // for prim struct
29 #include "vtkNew.h" // For vtkNew
30 #include "vtkOpenGLHelper.h" // used for ivars
31 #include "vtkPolyDataMapper.h"
32 #include "vtkRenderingOpenGL2Module.h" // For export macro
33 #include "vtkShader.h" // for methods
34 #include "vtkStateStorage.h" // used for ivars
35 
36 #include <map> // for map
37 #include <tuple> // for tuple
38 #include <vector> // for vector
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkCellArray;
43 class vtkMatrix4x4;
44 class vtkMatrix3x3;
47 class vtkOpenGLTexture;
51 class vtkPoints;
52 class vtkTexture;
53 class vtkTextureObject;
54 class vtkTransform;
56 
57 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLPolyDataMapper : public vtkPolyDataMapper
58 {
59 public:
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
67  void RenderPiece(vtkRenderer* ren, vtkActor* act) override;
68 
75 
77 
80  virtual void RenderPieceStart(vtkRenderer* ren, vtkActor* act);
81  virtual void RenderPieceDraw(vtkRenderer* ren, vtkActor* act);
82  virtual void RenderPieceFinish(vtkRenderer* ren, vtkActor* act);
84 
91 
92  vtkGetMacro(PopulateSelectionSettings, int);
93  void SetPopulateSelectionSettings(int v) { this->PopulateSelectionSettings = v; }
94 
101  bool GetSupportsSelection() override { return true; }
102 
103  // used by RenderPiece and functions it calls to reduce
104  // calls to get the input and allow for rendering of
105  // other polydata (not the input)
107 
109 
115  vtkSetStringMacro(PointIdArrayName);
116  vtkGetStringMacro(PointIdArrayName);
117  vtkSetStringMacro(CellIdArrayName);
118  vtkGetStringMacro(CellIdArrayName);
120 
122 
127  vtkSetStringMacro(ProcessIdArrayName);
128  vtkGetStringMacro(ProcessIdArrayName);
130 
132 
141  vtkSetStringMacro(CompositeIdArrayName);
142  vtkGetStringMacro(CompositeIdArrayName);
144 
148  void ShallowCopy(vtkAbstractMapper* m) override;
149 
151  vtkGetObjectMacro(VBOs, vtkOpenGLVertexBufferObjectGroup);
152 
156  void SetVBOShiftScaleMethod(int method) override;
157 
166  vtkGetMacro(UseProgramPointSize, bool);
167  vtkSetMacro(UseProgramPointSize, bool);
168  vtkBooleanMacro(UseProgramPointSize, bool);
169 
171  {
172  PrimitiveStart = 0,
173  PrimitivePoints = 0,
178  PrimitiveEnd
179  };
180 
192  void MapDataArrayToVertexAttribute(const char* vertexAttributeName, const char* dataArrayName,
193  int fieldAssociation, int componentno = -1) override;
194 
195  // This method will Map the specified data array for use as
196  // a texture coordinate for texture tname. The actual
197  // attribute will be named tname_coord so as to not
198  // conflict with the texture sampler definition which will
199  // be tname.
200  void MapDataArrayToMultiTextureAttribute(const char* tname, const char* dataArrayName,
201  int fieldAssociation, int componentno = -1) override;
202 
206  void RemoveVertexAttributeMapping(const char* vertexAttributeName) override;
207 
212 
218  vtkHardwareSelector* sel, std::vector<unsigned int>& pixeloffsets, vtkProp* prop) override;
219 
220 protected:
223 
225 
226  void MapDataArray(const char* vertexAttributeName, const char* dataArrayName,
227  const char* texturename, int fieldAssociation, int componentno);
228 
229  // what coordinate should be used for this texture
231 
232  // handle updating shift scale based on pose changes
233  virtual void UpdateCameraShiftScale(vtkRenderer* ren, vtkActor* actor);
234 
238  void GetCoincidentParameters(vtkRenderer* ren, vtkActor* actor, float& factor, float& offset);
239 
245  void ComputeBounds() override;
246 
251  virtual void UpdateShaders(vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
252 
256  virtual bool GetNeedToRebuildShaders(vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
257 
261  virtual void BuildShaders(
262  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
263 
267  virtual void GetShaderTemplate(
268  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
269 
273  virtual void ReplaceShaderValues(
274  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
275 
277 
282  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act, bool prePass);
284  std::map<vtkShader::Type, vtkShader*> shaders, vtkActor* act);
285  virtual void ReplaceShaderColor(
286  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
287  virtual void ReplaceShaderEdges(
288  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
289  virtual void ReplaceShaderLight(
290  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
291  virtual void ReplaceShaderTCoord(
292  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
293  virtual void ReplaceShaderPicking(
294  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
295  virtual void ReplaceShaderPrimID(
296  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
297  virtual void ReplaceShaderNormal(
298  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
299  virtual void ReplaceShaderClip(
300  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
302  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
304  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
305  virtual void ReplaceShaderDepth(
306  std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
308 
312  virtual void SetCustomUniforms(vtkOpenGLHelper& cellBO, vtkActor* actor);
313 
318 
323  vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
324 
329 
334  vtkOpenGLHelper& cellBO, vtkRenderer* ren, vtkActor* act);
335 
339  virtual void UpdateBufferObjects(vtkRenderer* ren, vtkActor* act);
340 
345 
349  virtual void BuildBufferObjects(vtkRenderer* ren, vtkActor* act);
350 
354  virtual void BuildIBO(vtkRenderer* ren, vtkActor* act, vtkPolyData* poly);
355 
359  virtual void BuildSelectionIBO(
360  vtkPolyData* poly, std::vector<unsigned int> (&indices)[4], vtkIdType offset);
361 
365  virtual void BuildSelectionCache(const char* arrayName, bool selectingPoints, vtkPolyData* poly);
366 
367  // The VBO and its layout.
369 
370  // Structures for the various cell types we render.
371  vtkOpenGLHelper Primitives[PrimitiveEnd];
372  vtkOpenGLHelper SelectionPrimitives[PrimitiveEnd];
375  bool DrawingSelection = false;
377  vtkMTimeType SelectionTime = 0;
378 
379  std::map<std::tuple<unsigned int, unsigned int, vtkIdType>, std::vector<vtkIdType>>
382  bool SelectionCacheForPoints = false;
383  vtkMTimeType SelectionCacheTime = 0;
384  vtkPolyData* SelectionPolyData = nullptr;
385 
386  // do we have wide lines that require special handling
388 
389  // do we have textures that require special handling
390  virtual bool HaveTextures(vtkActor* actor);
391 
392  // how many textures do we have
393  virtual unsigned int GetNumberOfTextures(vtkActor* actor);
394 
395  // populate a vector with the textures we have
396  // the order is always
397  // ColorInternalTexture
398  // Actors texture
399  // Properties textures
400  virtual std::vector<std::pair<vtkTexture*, std::string>> GetTextures(vtkActor* actor);
401 
402  // do we have textures coordinates that require special handling
403  virtual bool HaveTCoords(vtkPolyData* poly);
404 
405  // values we use to determine if we need to rebuild shaders
406  // stored in a map keyed on the vtkOpenGLHelper, so one
407  // typically entry per type of primitive we render which
408  // matches the shader programs we use
410  {
411  public:
415 
416  // Caches the vtkOpenGLRenderPass::RenderPasses() information.
417  // Note: Do not dereference the pointers held by this object. There is no
418  // guarantee that they are still valid!
420  };
421  std::map<const vtkOpenGLHelper*, primitiveInfo> PrimitiveInfo;
422 
426 
427  // Check the renderpasses in actor's property keys to see if they've changed
428  // render stages:
430 
432  vtkTimeStamp VBOBuildTime; // When was the OpenGL VBO updated?
433  vtkStateStorage VBOBuildState; // used for determining when to rebuild the VBO
434  vtkStateStorage IBOBuildState; // used for determining whento rebuild the IBOs
436  vtkStateStorage TempState; // can be used to avoid constant allocs/deallocs
438 
441 
447 
448  // if set to true, tcoords will be passed to the
449  // VBO even if the mapper knows of no texture maps
450  // normally tcoords are only added to the VBO if the
451  // mapper has identified a texture map as well.
453 
454  virtual void BuildCellTextures(
455  vtkRenderer* ren, vtkActor*, vtkCellArray* prims[4], int representation);
456 
457  void AppendCellTextures(vtkRenderer* ren, vtkActor*, vtkCellArray* prims[4], int representation,
458  std::vector<unsigned char>& colors, std::vector<float>& normals, vtkPolyData* pd,
460 
467 
470  std::vector<unsigned char> EdgeValues;
472 
473  // additional picking indirection
478 
480  {
481  public:
486  };
487  std::map<std::string, ExtraAttributeValue> ExtraAttributes;
488 
490 
491  // are we currently drawing spheres/tubes
492  bool DrawingSpheres(vtkOpenGLHelper& cellBO, vtkActor* actor);
493  bool DrawingTubes(vtkOpenGLHelper& cellBO, vtkActor* actor);
495 
496  // get which opengl mode to use to draw the primitive
497  int GetOpenGLMode(int representation, int primType);
498 
499  // get how big to make the points when doing point picking
500  // typically 2 for points, 4 for lines, 6 for surface
501  int GetPointPickingPrimitiveSize(int primType);
502 
503  // used to occasionally invoke timers
504  unsigned int TimerQueryCounter;
505 
506  // stores the mapping from OpenGL primitives IDs (gl_PrimitiveId) to VTK cells IDs
508 
509  // compute and set the maximum point and cell ID used in selection
510  virtual void UpdateMaximumPointCellIds(vtkRenderer* ren, vtkActor* actor);
511 
512  virtual void AddPointIdsToSelectionPrimitives(vtkPolyData* poly, const char* arrayName,
513  unsigned int processId, unsigned int compositeIndex, vtkIdType selectedId);
514  virtual void AddCellIdsToSelectionPrimitives(vtkPolyData* poly, const char* arrayName,
515  unsigned int processId, unsigned int compositeIndex, vtkIdType selectedId);
516 
517  vtkNew<vtkCellArray> SelectionArrays[4];
518 
519 private:
521  void operator=(const vtkOpenGLPolyDataMapper&) = delete;
522 };
523 
524 VTK_ABI_NAMESPACE_END
525 #endif
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
object to represent cell connectivity
Definition: vtkCellArray.h:185
a simple class to control print indentation
Definition: vtkIndent.h:38
represent and manipulate 3x3 transformation matrices
Definition: vtkMatrix3x3.h:35
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:40
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:38
map vtkPolyData to graphics primitives
std::uintptr_t MapperHashType
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:89
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:55
abstract specification for renderers
Definition: vtkRenderer.h:71
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:67
record modification and/or execution time
Definition: vtkTimeStamp.h:34
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:59
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
@ offset
Definition: vtkX3D.h:438
@ string
Definition: vtkX3D.h:490
int vtkIdType
Definition: vtkType.h:315
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270