Home
last modified time | relevance | path

Searched refs:vtkShader (Results 1 – 25 of 70) sorted by relevance

123

/dports/math/vtk8/VTK-8.2.0/Rendering/VolumeOpenGL2/
H A DvtkOpenGLGPUVolumeRayCastMapper.h284 void GetShaderTemplate(std::map<vtkShader::Type, vtkShader*>& shaders);
289 void ReplaceShaderValues(std::map<vtkShader::Type, vtkShader*>& shaders,
297 std::map<vtkShader::Type, vtkShader*>& shaders );
298 void ReplaceShaderBase(std::map<vtkShader::Type, vtkShader*>& shaders,
302 void ReplaceShaderShading(std::map<vtkShader::Type, vtkShader*>& shaders,
304 void ReplaceShaderCompute(std::map<vtkShader::Type, vtkShader*>& shaders,
306 void ReplaceShaderCropping(std::map<vtkShader::Type, vtkShader*>& shaders,
310 void ReplaceShaderMasking(std::map<vtkShader::Type, vtkShader*>& shaders,
312 void ReplaceShaderPicking(std::map<vtkShader::Type, vtkShader*>& shaders,
314 void ReplaceShaderRTT(std::map<vtkShader::Type, vtkShader*>& shaders,
[all …]
/dports/math/vtk9/VTK-9.1.0/Rendering/VolumeOpenGL2/
H A DvtkOpenGLGPUVolumeRayCastMapper.h233 std::map<vtkShader::Type, vtkShader*>& shaders, vtkOpenGLShaderProperty* p);
239 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
246 std::map<vtkShader::Type, vtkShader*>& shaders, vtkOpenGLShaderProperty* p);
248 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
250 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
252 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
254 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
256 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
258 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
260 std::map<vtkShader::Type, vtkShader*>& shaders, vtkRenderer* ren, vtkVolume* vol, int numComps);
[all …]
/dports/math/vtk9/VTK-9.1.0/Rendering/OpenGL2/
H A DvtkShader.cxx20 vtkStandardNewMacro(vtkShader);
22 vtkShader::vtkShader() in vtkShader() function in vtkShader
26 this->ShaderType = vtkShader::Unknown; in vtkShader()
29 vtkShader::~vtkShader() = default;
31 void vtkShader::SetType(Type type) in SetType()
43 bool vtkShader::Compile() in Compile()
61 case vtkShader::Geometry: in Compile()
65 case vtkShader::Fragment: in Compile()
68 case vtkShader::Vertex: in Compile()
69 case vtkShader::Unknown: in Compile()
[all …]
H A DvtkOpenGLShaderProperty.cxx71 if (it->first.ShaderType == vtkShader::Vertex) in GetNthShaderReplacementTypeAsString()
75 else if (it->first.ShaderType == vtkShader::Fragment) in GetNthShaderReplacementTypeAsString()
79 else if (it->first.ShaderType == vtkShader::Geometry) in GetNthShaderReplacementTypeAsString()
121 this->ClearAllShaderReplacements(vtkShader::Vertex); in ClearAllVertexShaderReplacements()
146 vtkShader::Type shaderType, // vertex, fragment, etc in AddShaderReplacement()
151 vtkShader::ReplacementSpec spec; in AddShaderReplacement()
156 vtkShader::ReplacementValue values; in AddShaderReplacement()
166 vtkShader::Type shaderType, // vertex, fragment, etc in ClearShaderReplacement()
169 vtkShader::ReplacementSpec spec; in ClearShaderReplacement()
174 typedef std::map<vtkShader::ReplacementSpec, vtkShader::ReplacementValue>::iterator RIter; in ClearShaderReplacement()
[all …]
H A DvtkOpenGLPolyDataMapper.h306 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
312 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
318 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
328 std::map<vtkShader::Type, vtkShader*> shaders, vtkActor* act);
330 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
332 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
334 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
336 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
338 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
340 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act);
[all …]
H A DvtkOpenGLGlyph3DHelper.h73 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act) override;
80 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act) override;
82 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act) override;
84 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act) override;
86 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act) override;
88 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* act) override;
H A DvtkOpenGLGlyph3DHelper.cxx84 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in GetShaderTemplate()
92 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in ReplaceShaderPositionVC()
109 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderPositionVC()
115 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in ReplaceShaderColor()
173 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderColor()
174 shaders[vtkShader::Fragment]->SetSource(FSSource); in ReplaceShaderColor()
181 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in ReplaceShaderNormal()
209 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderNormal()
216 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in ReplaceShaderClip()
237 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderClip()
[all …]
H A DvtkShaderProgram.h33 class vtkShader; variable
55 vtkGetObjectMacro(VertexShader, vtkShader);
56 void SetVertexShader(vtkShader*);
63 vtkGetObjectMacro(FragmentShader, vtkShader);
64 void SetFragmentShader(vtkShader*);
71 vtkGetObjectMacro(GeometryShader, vtkShader);
72 void SetGeometryShader(vtkShader*);
325 bool AttachShader(const vtkShader* shader);
357 vtkShader* VertexShader;
358 vtkShader* FragmentShader;
[all …]
H A DvtkShader.h37 class VTKRENDERINGOPENGL2_EXPORT vtkShader : public vtkObject
40 static vtkShader* New();
41 vtkTypeMacro(vtkShader, vtkObject);
86 vtkShader::Type ShaderType;
121 vtkShader();
122 ~vtkShader() override;
132 vtkShader(const vtkShader&) = delete;
133 void operator=(const vtkShader&) = delete;
H A DvtkOpenGLShaderCache.cxx214 std::map<vtkShader::Type, vtkShader*> shaders, vtkTransformFeedback* cap) in ReadyShaderProgram()
216 std::string VSSource = shaders[vtkShader::Vertex]->GetSource(); in ReadyShaderProgram()
221 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReadyShaderProgram()
222 shaders[vtkShader::Fragment]->SetSource(FSSource); in ReadyShaderProgram()
223 shaders[vtkShader::Geometry]->SetSource(GSSource); in ReadyShaderProgram()
281 std::map<vtkShader::Type, vtkShader*> shaders) in GetShaderProgram()
286 shaders[vtkShader::Fragment]->GetSource().c_str(), in GetShaderProgram()
287 shaders[vtkShader::Geometry]->GetSource().c_str(), result); in GetShaderProgram()
296 sps->SetVertexShader(shaders[vtkShader::Vertex]); in GetShaderProgram()
297 sps->SetFragmentShader(shaders[vtkShader::Fragment]); in GetShaderProgram()
[all …]
H A DvtkOpenGLPolyDataMapper.cxx654 std::map<vtkShader::Type, vtkShader*> shaders, vtkActor* actor) in ReplaceShaderCustomUniforms()
658 vtkShader* vertexShader = shaders[vtkShader::Vertex]; in ReplaceShaderCustomUniforms()
662 vtkShader* fragmentShader = shaders[vtkShader::Fragment]; in ReplaceShaderCustomUniforms()
666 vtkShader* geometryShader = shaders[vtkShader::Geometry]; in ReplaceShaderCustomUniforms()
1946 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer*, vtkActor*) in ReplaceShaderClip()
2413 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer*, vtkActor*) in ReplaceShaderPrimID()
2456 std::map<vtkShader::Type, vtkShader*>, vtkRenderer*, vtkActor*) in ReplaceShaderDepth() argument
2625 std::map<vtkShader::Type, vtkShader*> shaders; in UpdateShaders()
2626 vtkShader* vss = vtkShader::New(); in UpdateShaders()
2629 vtkShader* gss = vtkShader::New(); in UpdateShaders()
[all …]
H A DvtkOpenGLStickMapper.cxx55 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in GetShaderTemplate()
58 shaders[vtkShader::Vertex]->SetSource(vtkPointGaussianVS); in GetShaderTemplate()
59 shaders[vtkShader::Geometry]->SetSource(vtkStickMapperGS); in GetShaderTemplate()
63 std::map<vtkShader::Type, vtkShader*> shaders, vtkRenderer* ren, vtkActor* actor) in ReplaceShaderValues()
65 std::string VSSource = shaders[vtkShader::Vertex]->GetSource(); in ReplaceShaderValues()
66 std::string GSSource = shaders[vtkShader::Geometry]->GetSource(); in ReplaceShaderValues()
67 std::string FSSource = shaders[vtkShader::Fragment]->GetSource(); in ReplaceShaderValues()
208 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderValues()
209 shaders[vtkShader::Geometry]->SetSource(GSSource); in ReplaceShaderValues()
210 shaders[vtkShader::Fragment]->SetSource(FSSource); in ReplaceShaderValues()
/dports/math/vtk8/VTK-8.2.0/Rendering/OpenGL2/
H A DvtkShader.cxx20 vtkStandardNewMacro(vtkShader) in vtkStandardNewMacro() argument
22 vtkShader::vtkShader() in vtkStandardNewMacro()
26 this->ShaderType = vtkShader::Unknown; in vtkStandardNewMacro()
29 vtkShader::~vtkShader() = default;
31 void vtkShader::SetType(Type type) in SetType()
37 void vtkShader::SetSource(const std::string &source) in SetSource()
43 bool vtkShader::Compile() in Compile()
61 case vtkShader::Geometry: in Compile()
65 case vtkShader::Fragment: in Compile()
68 case vtkShader::Vertex: in Compile()
[all …]
H A DvtkOpenGLPolyDataMapper.h350 std::map<vtkShader::Type, vtkShader *> shaders,
357 std::map<vtkShader::Type, vtkShader *> shaders,
364 std::map<vtkShader::Type, vtkShader *> shaders,
373 std::map<vtkShader::Type, vtkShader *> shaders,
376 std::map<vtkShader::Type, vtkShader *> shaders,
379 std::map<vtkShader::Type, vtkShader *> shaders,
382 std::map<vtkShader::Type, vtkShader *> shaders,
385 std::map<vtkShader::Type, vtkShader *> shaders,
388 std::map<vtkShader::Type, vtkShader *> shaders,
391 std::map<vtkShader::Type, vtkShader *> shaders,
[all …]
H A DvtkOpenGLGlyph3DHelper.h74 std::map<vtkShader::Type, vtkShader *> shaders,
82 std::map<vtkShader::Type, vtkShader *> shaders,
85 std::map<vtkShader::Type, vtkShader *> shaders,
88 std::map<vtkShader::Type, vtkShader *> shaders,
91 std::map<vtkShader::Type, vtkShader *> shaders,
94 std::map<vtkShader::Type, vtkShader *> shaders,
H A DvtkOpenGLGlyph3DHelper.cxx75 std::map<vtkShader::Type, vtkShader *> shaders, in GetShaderTemplate()
84 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderPositionVC()
104 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderPositionVC()
110 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderColor()
176 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderColor()
177 shaders[vtkShader::Fragment]->SetSource(FSSource); in ReplaceShaderColor()
184 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderNormal()
215 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderNormal()
223 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderClip()
246 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderClip()
[all …]
H A DvtkShaderProgram.h33 class vtkShader; variable
55 vtkGetObjectMacro(VertexShader, vtkShader);
56 void SetVertexShader(vtkShader*);
63 vtkGetObjectMacro(FragmentShader, vtkShader);
64 void SetFragmentShader(vtkShader*);
71 vtkGetObjectMacro(GeometryShader, vtkShader);
72 void SetGeometryShader(vtkShader*);
240 vtkShader* shader,
364 vtkShader *VertexShader;
365 vtkShader *FragmentShader;
[all …]
H A DvtkShader.h37 class VTKRENDERINGOPENGL2_EXPORT vtkShader : public vtkObject
40 static vtkShader* New();
41 vtkTypeMacro(vtkShader, vtkObject);
86 vtkShader::Type ShaderType;
121 vtkShader();
122 ~vtkShader() override;
132 vtkShader(const vtkShader&) = delete;
133 void operator=(const vtkShader&) = delete;
H A DvtkOpenGLPolyDataMapper.cxx319 std::map<vtkShader::Type, vtkShader *> shaders, in BuildShaders()
517 std::map<vtkShader::Type, vtkShader *> shaders, in GetShaderTemplate()
600 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderColor()
740 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderLight()
903 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderTCoord()
1124 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderPicking()
1216 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderClip()
1662 std::map<vtkShader::Type, vtkShader *> , in ReplaceShaderDepth() argument
1834 vtkShader *vss = vtkShader::New(); in UpdateShaders()
1837 vtkShader *gss = vtkShader::New(); in UpdateShaders()
[all …]
H A DvtkOpenGLShaderCache.cxx232 std::map<vtkShader::Type,vtkShader *> shaders, in ReadyShaderProgram()
241 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReadyShaderProgram()
242 shaders[vtkShader::Fragment]->SetSource(FSSource); in ReadyShaderProgram()
243 shaders[vtkShader::Geometry]->SetSource(GSSource); in ReadyShaderProgram()
304 std::map<vtkShader::Type,vtkShader *> shaders) in GetShaderProgram()
309 shaders[vtkShader::Vertex]->GetSource().c_str(), in GetShaderProgram()
310 shaders[vtkShader::Fragment]->GetSource().c_str(), in GetShaderProgram()
311 shaders[vtkShader::Geometry]->GetSource().c_str(), result); in GetShaderProgram()
320 sps->SetVertexShader(shaders[vtkShader::Vertex]); in GetShaderProgram()
321 sps->SetFragmentShader(shaders[vtkShader::Fragment]); in GetShaderProgram()
[all …]
H A DvtkOpenGLStickMapper.cxx57 std::map<vtkShader::Type, vtkShader *> shaders, in GetShaderTemplate()
61 shaders[vtkShader::Vertex]->SetSource(vtkPointGaussianVS); in GetShaderTemplate()
62 shaders[vtkShader::Geometry]->SetSource(vtkStickMapperGS); in GetShaderTemplate()
66 std::map<vtkShader::Type, vtkShader *> shaders, in ReplaceShaderValues()
69 std::string VSSource = shaders[vtkShader::Vertex]->GetSource(); in ReplaceShaderValues()
70 std::string GSSource = shaders[vtkShader::Geometry]->GetSource(); in ReplaceShaderValues()
71 std::string FSSource = shaders[vtkShader::Fragment]->GetSource(); in ReplaceShaderValues()
231 shaders[vtkShader::Vertex]->SetSource(VSSource); in ReplaceShaderValues()
232 shaders[vtkShader::Geometry]->SetSource(GSSource); in ReplaceShaderValues()
233 shaders[vtkShader::Fragment]->SetSource(FSSource); in ReplaceShaderValues()
/dports/math/vtk6/VTK-6.2.0/Rendering/OpenGL2/
H A DvtkShader.cxx20 vtkStandardNewMacro(vtkShader) in vtkStandardNewMacro() argument
22 vtkShader::vtkShader() in vtkStandardNewMacro()
26 this->ShaderType = vtkShader::Unknown; in vtkStandardNewMacro()
29 vtkShader::~vtkShader() in ~vtkShader()
33 void vtkShader::SetType(Type type) in SetType()
39 void vtkShader::SetSource(const std::string &source) in SetSource()
45 bool vtkShader::Compile() in Compile()
92 void vtkShader::Cleanup() in Cleanup()
105 void vtkShader::PrintSelf(ostream& os, vtkIndent indent) in PrintSelf()
H A DvtkShader.h32 class VTKRENDERINGOPENGL2_EXPORT vtkShader : public vtkObject
35 static vtkShader *New();
36 vtkTypeMacro(vtkShader, vtkObject);
78 vtkShader();
79 ~vtkShader();
89 vtkShader(const vtkShader&); // Not implemented.
90 void operator=(const vtkShader&); // Not implemented.
H A DvtkShaderProgram.h28 class vtkShader; variable
48 vtkGetObjectMacro(VertexShader, vtkShader);
52 vtkGetObjectMacro(FragmentShader, vtkShader);
56 vtkGetObjectMacro(GeometryShader, vtkShader);
193 bool AttachShader(const vtkShader *shader);
200 bool DetachShader(const vtkShader *shader);
224 vtkShader *VertexShader;
225 vtkShader *FragmentShader;
226 vtkShader *GeometryShader;
/dports/math/vtk8/VTK-8.2.0/Rendering/OpenGL2/Testing/Cxx/
H A DTestUserShader.cxx78 vtkShader::Vertex, in TestUserShader()
86 vtkShader::Vertex, in TestUserShader()
94 vtkShader::Vertex, in TestUserShader()
101 vtkShader::Vertex, // clear our dummy replacement in TestUserShader()
108 vtkShader::Fragment, // in the fragment shader in TestUserShader()
116 vtkShader::Fragment, // in the fragment shader in TestUserShader()

123