vsg: include/vsg/core/Visitor.h Source File

vsg 1.1.3 VulkanSceneGraph library

Loading...
Searching...
No Matches
Visitor.h
1#pragma once
2
3/* <editor-fold desc="MIT License">
4
5Copyright(c) 2018 Robert Osfield
6
7Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
9The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
11THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12
13</editor-fold> */
14
15#include <vsg/core/Array.h>
16#include <vsg/core/Array2D.h>
17#include <vsg/core/Array3D.h>
18#include <vsg/core/Mask.h>
19#include <vsg/core/Value.h>
20
21namespace vsg
22{
23 // forward declare core Objects
24 class Objects;
25 class External;
26
27 // forward declare node classes
28 class Node;
29 class Commands;
30 class Group;
31 class QuadGroup;
32 class LOD;
33 class PagedLOD;
34 class StateGroup;
35 class CullGroup;
36 class CullNode;
37 class MatrixTransform;
38 class Transform;
39 class Geometry;
40 class VertexDraw;
41 class VertexIndexDraw;
42 class DepthSorted;
43 class Layer;
44 class Bin;
45 class Switch;
46 class Light;
47 class AmbientLight;
48 class DirectionalLight;
49 class PointLight;
50 class SpotLight;
51 class InstrumentationNode;
52 class RegionOfInterest;
53
54 // forward declare text classes
55 class Text;
56 class TextGroup;
57 class TextTechnique;
58 class TextLayout;
59
60 // forward declare animation classes
61 class Animation;
62 class AnimationGroup;
63 class AnimationSampler;
64 class TransformSampler;
65 class MorphSampler;
66 class JointSampler;
67 class Joint;
68
69 // forward declare vulkan classes
70 class BufferInfo;
71 class ImageInfo;
72 class ImageView;
73 class Image;
74 class Compilable;
75 class Command;
76 class StateCommand;
77 class StateSwitch;
78 class CommandBuffer;
79 class RenderPass;
80 class BindDescriptorSet;
81 class BindDescriptorSets;
82 class BindViewDescriptorSets;
83 class Descriptor;
84 class DescriptorBuffer;
85 class DescriptorImage;
86 class DescriptorSet;
87 class BindVertexBuffers;
88 class BindIndexBuffer;
89 class BindComputePipeline;
90 class BindGraphicsPipeline;
91 class BindRayTracingPipeline;
92 class GraphicsPipeline;
93 class ComputePipeline;
94 class RayTracingPipeline;
95 class Draw;
96 class DrawIndexed;
97 class ShaderStage;
98 class GraphicsPipelineState;
99 class VertexInputState;
100 class InputAssemblyState;
101 class TessellationState;
102 class ViewportState;
103 class RasterizationState;
104 class MultisampleState;
105 class DepthStencilState;
106 class ColorBlendState;
107 class DynamicState;
108 class ResourceHints;
109 class ClearAttachments;
110 class ClearColorImage;
111 class ClearDepthStencilImage;
112 class QueryPool;
113 class ResetQueryPool;
114 class BeginQuery;
115 class EndQuery;
116 class WriteTimestamp;
117 class CopyQueryPoolResults;
118
119 // forward declare rtx classes
120 class DrawMeshTasks;
121 class DrawMeshTasksIndirect;
122 class DrawMeshTasksIndirectCount;
123
124 // forward declare ui events classes
125 class UIEvent;
126 class WindowEvent;
127 class ExposeWindowEvent;
128 class ConfigureWindowEvent;
129 class CloseWindowEvent;
130 class FocusInEvent;
131 class FocusOutEvent;
132 class KeyEvent;
133 class KeyPressEvent;
134 class KeyReleaseEvent;
135 class PointerEvent;
136 class ButtonPressEvent;
137 class ButtonReleaseEvent;
138 class MoveEvent;
139 class TouchEvent;
140 class TouchDownEvent;
141 class TouchUpEvent;
142 class TouchMoveEvent;
143 class ScrollWheelEvent;
144 class TerminateEvent;
145 class FrameEvent;
146
147 // forward declare util classes
148 class ShaderCompileSettings;
149
150 // forward declare viewer classes
151 class Camera;
152 class CommandGraph;
153 class SecondaryCommandGraph;
154 class RenderGraph;
155 class View;
156 class Viewer;
157 class ViewMatrix;
158 class LookAt;
159 class RelativeViewMatrix;
160 class TrackingViewMatrix;
161 class ProjectionMatrix;
162 class Perspective;
163 class Orthographic;
164 class RelativeProjection;
165 class EllipsoidPerspective;
166
167 // forward declare general classes
168 class FrameStamp;
169 class Instrumentation;
170
171 class VSG_DECLSPEC Visitor : public Object
172 {
173 public:
174 Visitor();
175
176 Visitor(const Visitor& rhs, const CopyOp& copyop = {}) :
177 Object(rhs, copyop),
178 traversalMask(rhs.traversalMask),
179 overrideMask(rhs.overrideMask) {}
180
181 Mask traversalMask = MASK_ALL;
182 Mask overrideMask = MASK_OFF;
183
184 virtual Instrumentation* getInstrumentation() { return nullptr; }
185
186 virtual void apply(Object&);
187 virtual void apply(Objects&);
188 virtual void apply(External&);
189 virtual void apply(Data&);
190
191 // Values
192 virtual void apply(stringValue&);
193 virtual void apply(wstringValue&);
194 virtual void apply(boolValue&);
195 virtual void apply(intValue&);
196 virtual void apply(uintValue&);
197 virtual void apply(floatValue&);
198 virtual void apply(doubleValue&);
199 virtual void apply(vec2Value&);
200 virtual void apply(vec3Value&);
201 virtual void apply(vec4Value&);
202 virtual void apply(dvec2Value&);
203 virtual void apply(dvec3Value&);
204 virtual void apply(dvec4Value&);
205 virtual void apply(bvec2Value&);
206 virtual void apply(bvec3Value&);
207 virtual void apply(bvec4Value&);
208 virtual void apply(ubvec2Value&);
209 virtual void apply(ubvec3Value&);
210 virtual void apply(ubvec4Value&);
211 virtual void apply(svec2Value&);
212 virtual void apply(svec3Value&);
213 virtual void apply(svec4Value&);
214 virtual void apply(usvec2Value&);
215 virtual void apply(usvec3Value&);
216 virtual void apply(usvec4Value&);
217 virtual void apply(ivec2Value&);
218 virtual void apply(ivec3Value&);
219 virtual void apply(ivec4Value&);
220 virtual void apply(uivec2Value&);
221 virtual void apply(uivec3Value&);
222 virtual void apply(uivec4Value&);
223 virtual void apply(mat4Value&);
224 virtual void apply(dmat4Value&);
225
226 // Arrays
227 virtual void apply(byteArray&);
228 virtual void apply(ubyteArray&);
229 virtual void apply(shortArray&);
230 virtual void apply(ushortArray&);
231 virtual void apply(intArray&);
232 virtual void apply(uintArray&);
233 virtual void apply(floatArray&);
234 virtual void apply(doubleArray&);
235 virtual void apply(vec2Array&);
236 virtual void apply(vec3Array&);
237 virtual void apply(vec4Array&);
238 virtual void apply(dvec2Array&);
239 virtual void apply(dvec3Array&);
240 virtual void apply(dvec4Array&);
241 virtual void apply(bvec2Array&);
242 virtual void apply(bvec3Array&);
243 virtual void apply(bvec4Array&);
244 virtual void apply(svec2Array&);
245 virtual void apply(svec3Array&);
246 virtual void apply(svec4Array&);
247 virtual void apply(ivec2Array&);
248 virtual void apply(ivec3Array&);
249 virtual void apply(ivec4Array&);
250 virtual void apply(ubvec2Array&);
251 virtual void apply(ubvec3Array&);
252 virtual void apply(ubvec4Array&);
253 virtual void apply(usvec2Array&);
254 virtual void apply(usvec3Array&);
255 virtual void apply(usvec4Array&);
256 virtual void apply(uivec2Array&);
257 virtual void apply(uivec3Array&);
258 virtual void apply(uivec4Array&);
259 virtual void apply(mat4Array&);
260 virtual void apply(dmat4Array&);
261 virtual void apply(block64Array&);
262 virtual void apply(block128Array&);
263
264 // Array2Ds
265 virtual void apply(ubyteArray2D&);
266 virtual void apply(ushortArray2D&);
267 virtual void apply(uintArray2D&);
268 virtual void apply(floatArray2D&);
269 virtual void apply(doubleArray2D&);
270 virtual void apply(vec2Array2D&);
271 virtual void apply(vec3Array2D&);
272 virtual void apply(vec4Array2D&);
273 virtual void apply(dvec2Array2D&);
274 virtual void apply(dvec3Array2D&);
275 virtual void apply(dvec4Array2D&);
276 virtual void apply(bvec2Array2D&);
277 virtual void apply(bvec3Array2D&);
278 virtual void apply(bvec4Array2D&);
279 virtual void apply(svec2Array2D&);
280 virtual void apply(svec3Array2D&);
281 virtual void apply(svec4Array2D&);
282 virtual void apply(ivec2Array2D&);
283 virtual void apply(ivec3Array2D&);
284 virtual void apply(ivec4Array2D&);
285 virtual void apply(ubvec2Array2D&);
286 virtual void apply(ubvec3Array2D&);
287 virtual void apply(ubvec4Array2D&);
288 virtual void apply(usvec2Array2D&);
289 virtual void apply(usvec3Array2D&);
290 virtual void apply(usvec4Array2D&);
291 virtual void apply(uivec2Array2D&);
292 virtual void apply(uivec3Array2D&);
293 virtual void apply(uivec4Array2D&);
294 virtual void apply(block64Array2D&);
295 virtual void apply(block128Array2D&);
296
297 // Array3Ds
298 virtual void apply(ubyteArray3D&);
299 virtual void apply(ushortArray3D&);
300 virtual void apply(uintArray3D&);
301 virtual void apply(floatArray3D&);
302 virtual void apply(doubleArray3D&);
303 virtual void apply(vec2Array3D&);
304 virtual void apply(vec3Array3D&);
305 virtual void apply(vec4Array3D&);
306 virtual void apply(dvec2Array3D&);
307 virtual void apply(dvec3Array3D&);
308 virtual void apply(dvec4Array3D&);
309 virtual void apply(ubvec2Array3D&);
310 virtual void apply(ubvec3Array3D&);
311 virtual void apply(ubvec4Array3D&);
312 virtual void apply(block64Array3D&);
313 virtual void apply(block128Array3D&);
314
315 // Nodes
316 virtual void apply(Node&);
317 virtual void apply(Compilable&);
318 virtual void apply(Commands&);
319 virtual void apply(Group&);
320 virtual void apply(QuadGroup&);
321 virtual void apply(LOD&);
322 virtual void apply(PagedLOD&);
323 virtual void apply(StateGroup&);
324 virtual void apply(CullGroup&);
325 virtual void apply(CullNode&);
326 virtual void apply(MatrixTransform&);
327 virtual void apply(Transform&);
328 virtual void apply(Geometry&);
329 virtual void apply(VertexDraw&);
330 virtual void apply(VertexIndexDraw&);
331 virtual void apply(DepthSorted&);
332 virtual void apply(Layer&);
333 virtual void apply(Bin&);
334 virtual void apply(Switch&);
335 virtual void apply(Light&);
336 virtual void apply(AmbientLight&);
337 virtual void apply(DirectionalLight&);
338 virtual void apply(PointLight&);
339 virtual void apply(SpotLight&);
340 virtual void apply(InstrumentationNode&);
341 virtual void apply(RegionOfInterest&);
342
343 // text
344 virtual void apply(Text&);
345 virtual void apply(TextGroup&);
346 virtual void apply(TextTechnique&);
347 virtual void apply(TextLayout&);
348
349 // animation
350 virtual void apply(Animation&);
351 virtual void apply(AnimationGroup&);
352 virtual void apply(AnimationSampler&);
353 virtual void apply(JointSampler&);
354 virtual void apply(MorphSampler&);
355 virtual void apply(TransformSampler&);
356 virtual void apply(Joint&);
357
358 // Vulkan nodes
359 virtual void apply(BufferInfo&);
360 virtual void apply(ImageInfo&);
361 virtual void apply(ImageView&);
362 virtual void apply(Image&);
363 virtual void apply(Command&);
364 virtual void apply(StateCommand&);
365 virtual void apply(StateSwitch&);
366 virtual void apply(CommandBuffer&);
367 virtual void apply(RenderPass&);
368 virtual void apply(BindDescriptorSet&);
369 virtual void apply(BindDescriptorSets&);
370 virtual void apply(BindViewDescriptorSets&);
371 virtual void apply(Descriptor&);
372 virtual void apply(DescriptorBuffer&);
373 virtual void apply(DescriptorImage&);
374 virtual void apply(DescriptorSet&);
375 virtual void apply(BindVertexBuffers&);
376 virtual void apply(BindIndexBuffer&);
377 virtual void apply(BindComputePipeline&);
378 virtual void apply(BindGraphicsPipeline&);
379 virtual void apply(BindRayTracingPipeline&);
380 virtual void apply(GraphicsPipeline&);
381 virtual void apply(ComputePipeline&);
382 virtual void apply(RayTracingPipeline&);
383 virtual void apply(GraphicsPipelineState&);
384 virtual void apply(ShaderStage&);
385 virtual void apply(VertexInputState&);
386 virtual void apply(InputAssemblyState&);
387 virtual void apply(TessellationState&);
388 virtual void apply(ViewportState&);
389 virtual void apply(RasterizationState&);
390 virtual void apply(MultisampleState&);
391 virtual void apply(DepthStencilState&);
392 virtual void apply(ColorBlendState&);
393 virtual void apply(DynamicState&);
394 virtual void apply(ResourceHints&);
395 virtual void apply(Draw&);
396 virtual void apply(DrawIndexed&);
397 virtual void apply(ClearAttachments&);
398 virtual void apply(ClearColorImage&);
399 virtual void apply(ClearDepthStencilImage&);
400 virtual void apply(QueryPool&);
401 virtual void apply(ResetQueryPool&);
402 virtual void apply(BeginQuery&);
403 virtual void apply(EndQuery&);
404 virtual void apply(WriteTimestamp&);
405 virtual void apply(CopyQueryPoolResults&);
406
407 // mesh shading classes
408 virtual void apply(DrawMeshTasks&);
409 virtual void apply(DrawMeshTasksIndirect&);
410 virtual void apply(DrawMeshTasksIndirectCount&);
411
412 // ui events
413 virtual void apply(UIEvent&);
414 virtual void apply(WindowEvent&);
415 virtual void apply(ExposeWindowEvent&);
416 virtual void apply(ConfigureWindowEvent&);
417 virtual void apply(CloseWindowEvent&);
418 virtual void apply(FocusInEvent&);
419 virtual void apply(FocusOutEvent&);
420 virtual void apply(KeyEvent&);
421 virtual void apply(KeyPressEvent&);
422 virtual void apply(KeyReleaseEvent&);
423 virtual void apply(PointerEvent&);
424 virtual void apply(ButtonPressEvent&);
425 virtual void apply(ButtonReleaseEvent&);
426 virtual void apply(MoveEvent&);
427 virtual void apply(TouchEvent&);
428 virtual void apply(TouchDownEvent&);
429 virtual void apply(TouchUpEvent&);
430 virtual void apply(TouchMoveEvent&);
431 virtual void apply(ScrollWheelEvent&);
432 virtual void apply(TerminateEvent&);
433 virtual void apply(FrameEvent&);
434
435 // utils
436 virtual void apply(ShaderCompileSettings&);
437
438 // app
439 virtual void apply(Camera&);
440 virtual void apply(CommandGraph&);
441 virtual void apply(SecondaryCommandGraph&);
442 virtual void apply(RenderGraph&);
443 virtual void apply(View&);
444 virtual void apply(Viewer&);
445 virtual void apply(ViewMatrix&);
446 virtual void apply(LookAt&);
447 virtual void apply(RelativeViewMatrix&);
448 virtual void apply(TrackingViewMatrix&);
449 virtual void apply(ProjectionMatrix&);
450 virtual void apply(Perspective&);
451 virtual void apply(Orthographic&);
452 virtual void apply(RelativeProjection&);
453 virtual void apply(EllipsoidPerspective&);
454
455 // general classes
456 virtual void apply(FrameStamp&);
457
458 bool is_compatible(const std::type_info& type) const noexcept override { return typeid(Visitor) == type || Object::is_compatible(type); }
459 };
460
461 // provide Value<>::accept() implementation
462 template<typename T>
463 void Value<T>::accept(Visitor& visitor) { visitor.apply(*this); }
464
465 // provide Array<>::accept() implementation
466 template<typename T>
467 void Array<T>::accept(Visitor& visitor) { visitor.apply(*this); }
468
469 // provide Array2D<>::accept() implementation
470 template<typename T>
471 void Array2D<T>::accept(Visitor& visitor) { visitor.apply(*this); }
472
473 // provide Array3D<>::accept() implementation
474 template<typename T>
475 void Array3D<T>::accept(Visitor& visitor) { visitor.apply(*this); }
476
477} // namespace vsg
vsg::AmbientLight
AmbientLight represents an ambient light source.
Definition AmbientLight.h:24
vsg::AnimationGroup
AnimationGroup node provides a list of child nodes and a list of animations to animate them.
Definition AnimationGroup.h:24
vsg::Animation
Animation class that controls a single animation made up of one more samplers.
Definition Animation.h:44
vsg::AnimationSampler
Base class for animation samplers that sample animation data and set associated scene graph objects.
Definition Animation.h:24
vsg::BeginQuery
BeginQuery command encapsulates vkCmdBeginQuery call and associated functionality.
Definition BeginQuery.h:22
vsg::Bin
Definition Bin.h:24
vsg::BindComputePipeline
BindComputePipeline state command encapsulates the vkCmdBindPipeline call for a ComputePipeline.
Definition ComputePipeline.h:65
vsg::BindDescriptorSet
Definition BindDescriptorSet.h:92
vsg::BindDescriptorSets
BindDescriptorSets state command encapsulates vkCmdBindDescriptorSets call and associated settings fo...
Definition BindDescriptorSet.h:25
vsg::BindGraphicsPipeline
BindGraphicsPipeline state command encapsulates the vkCmdBindPipeline call for a GraphicsPipeline.
Definition GraphicsPipeline.h:109
vsg::BindIndexBuffer
BindIndexBuffer command encapsulates vkCmdBindIndexBuffer call and associated settings.
Definition BindIndexBuffer.h:28
vsg::BindRayTracingPipeline
BindRayTracingPipeline state command encapsulates vkCmdBindPipeline for a RayTracingPipeline.
Definition RayTracingPipeline.h:85
vsg::BindVertexBuffers
BindVertexBuffers command encapsulates vkCmdBindVertexBuffers call and associated settings.
Definition BindVertexBuffers.h:25
vsg::BindViewDescriptorSets
Definition ViewDependentState.h:53
vsg::BufferInfo
BufferInfo encapsulates the settings that map to VkDescriptorBufferInfo.
Definition BufferInfo.h:27
vsg::ButtonPressEvent
ButtonPressEvent represents a button press event.
Definition PointerEvent.h:55
vsg::ButtonReleaseEvent
ButtonReleaseEvent represents a button release event.
Definition PointerEvent.h:72
vsg::Camera
Definition Camera.h:27
vsg::ClearAttachments
ClearAttachments command encapsulates vkCmdClearAttachments functionality and associated settings.
Definition ClearAttachments.h:22
vsg::ClearColorImage
ClearColorImage command encapsulates vkCmdClearColorImage functionality and associated settings.
Definition ClearImage.h:23
vsg::ClearDepthStencilImage
ClearDepthStencilImage command encapsulates vkCmdClearDepthStencilImage functionality and associated ...
Definition ClearImage.h:38
vsg::CloseWindowEvent
CloseWindowEvent represents a window close event.
Definition WindowEvent.h:87
vsg::ColorBlendState
ColorBlendState encapsulates VkPipelineColorBlendStateCreateInfo settings passed when setting up Grap...
Definition ColorBlendState.h:22
vsg::CommandBuffer
CommandBuffer encapsulates VkCommandBuffer.
Definition CommandBuffer.h:27
vsg::CommandGraph
CommandGraph is a group node that sits at the top of the scene graph and manages the recording of its...
Definition CommandGraph.h:28
vsg::Command
Command base class for encapsulating vkCmd* calls and associated settings.
Definition Command.h:23
vsg::Commands
Definition Commands.h:29
vsg::Compilable
Base class for encapsulating nodes that have Vulkan objects associated with them that will need compi...
Definition Compilable.h:23
vsg::ComputePipeline
ComputePipeline encapsulates compute VkPipeline and the VkComputePipelineCreateInfo settings used to ...
Definition ComputePipeline.h:24
vsg::ConfigureWindowEvent
ConfigureWindowEvent represents a window configure event - such as changes to the size of the window.
Definition WindowEvent.h:64
vsg::CopyOp
Definition Object.h:42
vsg::CopyQueryPoolResults
CopyQueryPoolResults commands encapsulates vkCmdCopyQueryPoolResults and associated settings.
Definition CopyQueryPoolResults.h:23
vsg::CullGroup
CullNode that enables view frustum culling on a list of children.
Definition CullGroup.h:23
vsg::CullNode
Definition CullNode.h:25
vsg::Data
Definition Data.h:110
vsg::DepthSorted
Definition DepthSorted.h:27
vsg::DepthStencilState
DepthStencilState encapsulates VkPipelineDepthStencilStateCreateInfo settings passed when setting up ...
Definition DepthStencilState.h:22
vsg::DescriptorBuffer
Definition DescriptorBuffer.h:24
vsg::Descriptor
Definition Descriptor.h:26
vsg::DescriptorImage
Definition DescriptorImage.h:24
vsg::DescriptorSet
DescriptorSet encapsulates VkDescriptorSet and VkDescriptorSetAllocateInfo settings used to describe ...
Definition DescriptorSet.h:26
vsg::DirectionalLight
DirectionalLight represents a directional light source - used for light sources that are treated as i...
Definition DirectionalLight.h:24
vsg::Draw
Draw command encapsulates vkCmdDraw call and associated settings.
Definition Draw.h:24
vsg::DrawIndexed
DrawIndexed command encapsulates vkCmdDrawIndexed call and associated settings.
Definition DrawIndexed.h:24
vsg::DrawMeshTasks
Definition DrawMeshTasks.h:22
vsg::DrawMeshTasksIndirectCount
DrawMeshTasksIndirectCount command encapsulates vkCmdDrawMeshTasksIndirectCountEXT call and associate...
Definition DrawMeshTasksIndirectCount.h:23
vsg::DrawMeshTasksIndirect
DrawMeshTasksIndirect command encapsulates vkCmdDrawMeshTasksIndirectEXT call and associated paramete...
Definition DrawMeshTasksIndirect.h:23
vsg::DynamicState
DynamicState encapsulates VkPipelineDynamicStateCreateInfo settings passed when setting up GraphicsPi...
Definition DynamicState.h:22
vsg::EllipsoidPerspective
Definition ProjectionMatrix.h:157
vsg::EndQuery
encapsulation of vkCmdEndQuery
Definition EndQuery.h:22
vsg::ExposeWindowEvent
ExposeWindowEvent represents a window expose event.
Definition WindowEvent.h:41
vsg::External
Definition External.h:31
vsg::FocusInEvent
FocusInEvent represents a window acquiring focus event.
Definition WindowEvent.h:98
vsg::FocusOutEvent
FocusOutEvent represents a window losing focus event.
Definition WindowEvent.h:109
vsg::FrameEvent
Definition ApplicationEvent.h:37
vsg::FrameStamp
FrameStamp represents the time and frame count of a specific frame.
Definition FrameStamp.h:22
vsg::Geometry
Definition Geometry.h:30
vsg::GraphicsPipeline
GraphicsPipeline encapsulates graphics VkPipeline and the VkGraphicsPipelineCreateInfo settings used ...
Definition GraphicsPipeline.h:56
vsg::GraphicsPipelineState
Definition GraphicsPipeline.h:29
vsg::Group
Group node provides a list of children.
Definition Group.h:24
vsg::Image
Image class encapsulates VkImage and VkImageCreateInfo settings used to set it up.
Definition Image.h:25
vsg::ImageInfo
ImageInfo class provides the VkDescriptorImageInfo settings used when setting up vsg::/vkDescriptorIm...
Definition ImageInfo.h:23
vsg::ImageView
ImageView class encapsulates VkImageView and VkImageViewCreateInfo settings used to set it up.
Definition ImageView.h:25
vsg::InputAssemblyState
InputAssemblyState encapsulates VkPipelineInputAssemblyStateCreateInfo settings passed when setting u...
Definition InputAssemblyState.h:22
vsg::Instrumentation
base class for Instrumentation implentations
Definition Instrumentation.h:51
vsg::InstrumentationNode
InstrumentationNode enables instrumentation of a subgraph.
Definition InstrumentationNode.h:24
vsg::Joint
Definition Joint.h:22
vsg::JointSampler
Animation sampler for acumulating vsg::Joint hierarchies and assigned accumulated transform matrices ...
Definition JointSampler.h:23
vsg::KeyEvent
KeyEvent is a base class for key events.
Definition KeyEvent.h:286
vsg::KeyPressEvent
KeyPressEvent represents a key press event.
Definition KeyEvent.h:309
vsg::KeyReleaseEvent
KeyReleaseEvent represents a key release event.
Definition KeyEvent.h:320
vsg::LOD
Definition LOD.h:33
vsg::Layer
Layer node is used to control which bin to place the subgraph in and what sort value to assign.
Definition Layer.h:23
vsg::Light
Definition Light.h:26
vsg::LookAt
LookAt is a ViewMatrix that implements the gluLookAt model for specifying the view matrix.
Definition ViewMatrix.h:36
vsg::MatrixTransform
Definition MatrixTransform.h:24
vsg::MorphSampler
Animation sampler for morphing geometry, implementation not yet completed.
Definition MorphSampler.h:48
vsg::MoveEvent
MoveEvent represents a pointer move event.
Definition PointerEvent.h:89
vsg::MultisampleState
MultisampleState encapsulates VkPipelineMultisampleStateCreateInfo settings passed when setting up Gr...
Definition MultisampleState.h:22
vsg::Node
Definition Node.h:24
vsg::Object
Definition Object.h:60
vsg::Objects
Simple container class that has a list of vsg::Object as children.
Definition Objects.h:25
vsg::Orthographic
Orthographic is a ProjectionMatrix that implements the glOrtho model for setting the projection matri...
Definition ProjectionMatrix.h:82
vsg::PagedLOD
Definition PagedLOD.h:36
vsg::Perspective
Perspective is a ProjectionMatrix that implements the gluPerspective model for setting the projection...
Definition ProjectionMatrix.h:41
vsg::PointLight
PointLight represents a local point light source where all light radiants event from the light positi...
Definition PointLight.h:24
vsg::PointerEvent
PointerEvent is a base class for mouse pointer events.
Definition PointerEvent.h:34
vsg::ProjectionMatrix
ProjectionMatrix is a base class for specifying the Camera projection matrix and its inverse.
Definition ProjectionMatrix.h:24
vsg::QuadGroup
Definition QuadGroup.h:29
vsg::QueryPool
QueryPool encapsulates the VkQueryPool and the VkQueryPoolCreateInfo settings used to set it up.
Definition QueryPool.h:23
vsg::RasterizationState
RasterizationState encapsulates VkPipelineRasterizationStateCreateInfo settings passed when setting u...
Definition RasterizationState.h:22
vsg::RayTracingPipeline
Definition RayTracingPipeline.h:26
vsg::RegionOfInterest
RegionOfInterest node is inform applications/algorithms extents that should take account of.
Definition RegionOfInterest.h:23
vsg::RelativeProjection
RelativeProjection is a ProjectionMatrix that decorates another ProjectionMatrix and pre-multiplies i...
Definition ProjectionMatrix.h:129
vsg::RelativeViewMatrix
RelativeViewMatrix is a ViewMatrix that decorates another ViewMatrix and pre-multiplies its transform...
Definition ViewMatrix.h:98
vsg::RenderGraph
Definition RenderGraph.h:28
vsg::RenderPass
RenderPass encapsulation of VkRenderPass.
Definition RenderPass.h:86
vsg::ResetQueryPool
ResetQueryPool command encapsulates vkCmdResetQueryPool functionality.
Definition ResetQueryPool.h:23
vsg::ResourceHints
ResourceHints provides settings that help preallocation of Vulkan resources and memory.
Definition ResourceHints.h:23
vsg::ScrollWheelEvent
ScrollWheelEvent represents a scroll wheel event.
Definition ScrollWheelEvent.h:22
vsg::SecondaryCommandGraph
SecondaryCommandGraph is a specialization of CommandGraph that provides Vulkan secondary command buff...
Definition SecondaryCommandGraph.h:25
vsg::ShaderCompileSettings
Definition ShaderModule.h:28
vsg::ShaderStage
ShaderStage encapsulates VkPipelineShaderStageCreateInfo settings passed when setting up GraphicsPipe...
Definition ShaderStage.h:24
vsg::SpotLight
SpotLight represents a local point light source whose intensity varies as a spot light.
Definition SpotLight.h:24
vsg::StateCommand
Definition StateCommand.h:24
vsg::StateGroup
Definition StateGroup.h:32
vsg::StateSwitch
Definition StateSwitch.h:22
vsg::Switch
Switch node for toggling on/off recording of children.
Definition Switch.h:25
vsg::TerminateEvent
TerminateEvent represents an application termination event.
Definition ApplicationEvent.h:24
vsg::TessellationState
TessellationState encapsulates VkPipelineTessellationStateCreateInfo settings passed when setting up ...
Definition TessellationState.h:22
vsg::TextGroup
Definition TextGroup.h:27
vsg::Text
Definition Text.h:30
vsg::TextLayout
Definition TextLayout.h:35
vsg::TextTechnique
Definition TextTechnique.h:25
vsg::TouchDownEvent
TouchDownEvent represents a touch down event.
Definition TouchEvent.h:45
vsg::TouchEvent
TouchEvent is a base class for touch events.
Definition TouchEvent.h:24
vsg::TouchMoveEvent
TouchMoveEvent represents a touch move event.
Definition TouchEvent.h:67
vsg::TouchUpEvent
TouchUpEvent represents a touch up event.
Definition TouchEvent.h:56
vsg::TrackingViewMatrix
Definition ViewMatrix.h:121
vsg::Transform
Transform node is a pure virtual base class for positioning/scaling/rotating subgraphs.
Definition Transform.h:22
vsg::TransformSampler
Animation sampler for sampling position, rotation and scale keyframes for setting transforms/joints.
Definition TransformSampler.h:82
vsg::UIEvent
UIEvent is a base class for user interface events.
Definition UIEvent.h:28
vsg::Value
Definition Value.h:39
vsg::VertexDraw
Definition VertexDraw.h:25
vsg::VertexIndexDraw
Definition VertexIndexDraw.h:25
vsg::VertexInputState
VertexInputState encapsulates VkPipelineVertexInputStateCreateInfo settings passed when setting up Gr...
Definition VertexInputState.h:22
vsg::View
View is a Group class that pairs a Camera that defines the view with a subgraph that defines the scen...
Definition View.h:36
vsg::ViewMatrix
ViewMatrix is a base class for specifying the Camera view matrix and its inverse.
Definition ViewMatrix.h:23
vsg::Viewer
Definition Viewer.h:33
vsg::ViewportState
ViewportState encapsulates VkPipelineViewportStateCreateInfo settings passed when setting up Graphics...
Definition ViewportState.h:24
vsg::Visitor
Definition Visitor.h:172
vsg::WindowEvent
WindowEvent is the base class for events related to a window.
Definition WindowEvent.h:24
vsg::WriteTimestamp
WriteTimestamp command encapsulates vkCmdWriteTimestamp call and settings passed to it.
Definition WriteTimestamp.h:22