VTK
vtkShader2Collection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkShader2Collection.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 =========================================================================*/
26 #ifndef vtkShader2Collection_h
27 #define vtkShader2Collection_h
28 
29 #include "vtkRenderingOpenGLModule.h" // For export macro
30 #include "vtkCollection.h"
31 
32 class vtkShader2;
33 
35 {
36  public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
43  unsigned long GetMTime();
44 
47 
50 
53 
54  //BTX
56 
59  //ETX
61 
67 
74 
79 
83 
87 
90 
95 
98 
99 protected:
102 
103  bool HasShadersOfType(int);
104 
105 private:
106  // hide the standard AddItem from the user and the compiler.
107  void AddItem(vtkObject *o);
108 
109  vtkShader2Collection(const vtkShader2Collection&); // Not implemented.
110  void operator=(const vtkShader2Collection&); // Not implemented.
111 };
112 
113 #endif
vtkShader2Collection::~vtkShader2Collection
~vtkShader2Collection()
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
vtkCollection.h
vtkShader2Collection::vtkShader2Collection
vtkShader2Collection()
vtkShader2Collection
a list of Shader2 objects.
Definition: vtkShader2Collection.h:35
vtkRenderingOpenGLModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkShader2Collection::HasGeometryShaders
bool HasGeometryShaders()
vtkShader2Collection::GetNextShader
vtkShader2 * GetNextShader(vtkCollectionSimpleIterator &cookie)
vtkShader2Collection::HasVertexShaders
bool HasVertexShaders()
vtkShader2Collection::GetMTime
unsigned long GetMTime()
vtkShader2Collection::GetNextShader
vtkShader2 * GetNextShader()
vtkCollection
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:53
vtkShader2Collection::AddCollection
void AddCollection(vtkShader2Collection *other)
vtkShader2Collection::GetLastShader
vtkShader2 * GetLastShader()
vtkShader2Collection::HasTessellationEvaluationShaders
bool HasTessellationEvaluationShaders()
vtkgl::shader
GLuint shader
Definition: vtkgl.h:11982
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkShader2Collection::AddItem
void AddItem(vtkShader2 *shader)
vtkShader2Collection::HasShadersOfType
bool HasShadersOfType(int)
vtkShader2Collection::HasFragmentShaders
bool HasFragmentShaders()
vtkShader2
GLSL Shader.
Definition: vtkShader2.h:62
vtkCollection::AddItem
void AddItem(vtkObject *)
vtkShader2Collection::ReleaseGraphicsResources
void ReleaseGraphicsResources()
vtkShader2Collection::HasTessellationControlShaders
bool HasTessellationControlShaders()
vtkShader2Collection::New
static vtkShader2Collection * New()
vtkShader2Collection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkShader2Collection::RemoveCollection
void RemoveCollection(vtkShader2Collection *other)
VTKRENDERINGOPENGL_EXPORT
#define VTKRENDERINGOPENGL_EXPORT
Definition: vtkRenderingOpenGLModule.h:15