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

vsg 1.1.3 VulkanSceneGraph library

Loading...
Searching...
No Matches
ConstVisitor.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 JointSampler;
65 class MorphSampler;
66 class TransformSampler;
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 ConstVisitor : public Object
172 {
173 public:
174 ConstVisitor();
175
176 ConstVisitor(const ConstVisitor& 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(const Object&);
187 virtual void apply(const Objects&);
188 virtual void apply(const External&);
189 virtual void apply(const Data&);
190
191 // Values
192 virtual void apply(const stringValue&);
193 virtual void apply(const wstringValue&);
194 virtual void apply(const boolValue&);
195 virtual void apply(const intValue&);
196 virtual void apply(const uintValue&);
197 virtual void apply(const floatValue&);
198 virtual void apply(const doubleValue&);
199 virtual void apply(const vec2Value&);
200 virtual void apply(const vec3Value&);
201 virtual void apply(const vec4Value&);
202 virtual void apply(const dvec2Value&);
203 virtual void apply(const dvec3Value&);
204 virtual void apply(const dvec4Value&);
205 virtual void apply(const bvec2Value&);
206 virtual void apply(const bvec3Value&);
207 virtual void apply(const bvec4Value&);
208 virtual void apply(const ubvec2Value&);
209 virtual void apply(const ubvec3Value&);
210 virtual void apply(const ubvec4Value&);
211 virtual void apply(const svec2Value&);
212 virtual void apply(const svec3Value&);
213 virtual void apply(const svec4Value&);
214 virtual void apply(const usvec2Value&);
215 virtual void apply(const usvec3Value&);
216 virtual void apply(const usvec4Value&);
217 virtual void apply(const ivec2Value&);
218 virtual void apply(const ivec3Value&);
219 virtual void apply(const ivec4Value&);
220 virtual void apply(const uivec2Value&);
221 virtual void apply(const uivec3Value&);
222 virtual void apply(const uivec4Value&);
223 virtual void apply(const mat4Value&);
224 virtual void apply(const dmat4Value&);
225
226 // Arrays
227 virtual void apply(const byteArray&);
228 virtual void apply(const ubyteArray&);
229 virtual void apply(const shortArray&);
230 virtual void apply(const ushortArray&);
231 virtual void apply(const intArray&);
232 virtual void apply(const uintArray&);
233 virtual void apply(const floatArray&);
234 virtual void apply(const doubleArray&);
235 virtual void apply(const vec2Array&);
236 virtual void apply(const vec3Array&);
237 virtual void apply(const vec4Array&);
238 virtual void apply(const dvec2Array&);
239 virtual void apply(const dvec3Array&);
240 virtual void apply(const dvec4Array&);
241 virtual void apply(const bvec2Array&);
242 virtual void apply(const bvec3Array&);
243 virtual void apply(const bvec4Array&);
244 virtual void apply(const svec2Array&);
245 virtual void apply(const svec3Array&);
246 virtual void apply(const svec4Array&);
247 virtual void apply(const ivec2Array&);
248 virtual void apply(const ivec3Array&);
249 virtual void apply(const ivec4Array&);
250 virtual void apply(const ubvec2Array&);
251 virtual void apply(const ubvec3Array&);
252 virtual void apply(const ubvec4Array&);
253 virtual void apply(const usvec2Array&);
254 virtual void apply(const usvec3Array&);
255 virtual void apply(const usvec4Array&);
256 virtual void apply(const uivec2Array&);
257 virtual void apply(const uivec3Array&);
258 virtual void apply(const uivec4Array&);
259 virtual void apply(const mat4Array&);
260 virtual void apply(const dmat4Array&);
261 virtual void apply(const block64Array&);
262 virtual void apply(const block128Array&);
263
264 // Array2Ds
265 virtual void apply(const ubyteArray2D&);
266 virtual void apply(const ushortArray2D&);
267 virtual void apply(const uintArray2D&);
268 virtual void apply(const floatArray2D&);
269 virtual void apply(const doubleArray2D&);
270 virtual void apply(const vec2Array2D&);
271 virtual void apply(const vec3Array2D&);
272 virtual void apply(const vec4Array2D&);
273 virtual void apply(const dvec2Array2D&);
274 virtual void apply(const dvec3Array2D&);
275 virtual void apply(const dvec4Array2D&);
276 virtual void apply(const bvec2Array2D&);
277 virtual void apply(const bvec3Array2D&);
278 virtual void apply(const bvec4Array2D&);
279 virtual void apply(const svec2Array2D&);
280 virtual void apply(const svec3Array2D&);
281 virtual void apply(const svec4Array2D&);
282 virtual void apply(const ivec2Array2D&);
283 virtual void apply(const ivec3Array2D&);
284 virtual void apply(const ivec4Array2D&);
285 virtual void apply(const ubvec2Array2D&);
286 virtual void apply(const ubvec3Array2D&);
287 virtual void apply(const ubvec4Array2D&);
288 virtual void apply(const usvec2Array2D&);
289 virtual void apply(const usvec3Array2D&);
290 virtual void apply(const usvec4Array2D&);
291 virtual void apply(const uivec2Array2D&);
292 virtual void apply(const uivec3Array2D&);
293 virtual void apply(const uivec4Array2D&);
294 virtual void apply(const block64Array2D&);
295 virtual void apply(const block128Array2D&);
296
297 // Array3Ds
298 virtual void apply(const ubyteArray3D&);
299 virtual void apply(const ushortArray3D&);
300 virtual void apply(const uintArray3D&);
301 virtual void apply(const floatArray3D&);
302 virtual void apply(const doubleArray3D&);
303 virtual void apply(const vec2Array3D&);
304 virtual void apply(const vec3Array3D&);
305 virtual void apply(const vec4Array3D&);
306 virtual void apply(const dvec2Array3D&);
307 virtual void apply(const dvec3Array3D&);
308 virtual void apply(const dvec4Array3D&);
309 virtual void apply(const ubvec2Array3D&);
310 virtual void apply(const ubvec3Array3D&);
311 virtual void apply(const ubvec4Array3D&);
312 virtual void apply(const block64Array3D&);
313 virtual void apply(const block128Array3D&);
314
315 // Nodes
316 virtual void apply(const Node&);
317 virtual void apply(const Compilable&);
318 virtual void apply(const Commands&);
319 virtual void apply(const Group&);
320 virtual void apply(const QuadGroup&);
321 virtual void apply(const LOD&);
322 virtual void apply(const PagedLOD&);
323 virtual void apply(const StateGroup&);
324 virtual void apply(const CullGroup&);
325 virtual void apply(const CullNode&);
326 virtual void apply(const MatrixTransform&);
327 virtual void apply(const Transform&);
328 virtual void apply(const Geometry&);
329 virtual void apply(const VertexDraw&);
330 virtual void apply(const VertexIndexDraw&);
331 virtual void apply(const DepthSorted&);
332 virtual void apply(const Layer&);
333 virtual void apply(const Bin&);
334 virtual void apply(const Switch&);
335 virtual void apply(const Light&);
336 virtual void apply(const AmbientLight&);
337 virtual void apply(const DirectionalLight&);
338 virtual void apply(const PointLight&);
339 virtual void apply(const SpotLight&);
340 virtual void apply(const InstrumentationNode&);
341 virtual void apply(const RegionOfInterest&);
342
343 // text
344 virtual void apply(const Text&);
345 virtual void apply(const TextGroup&);
346 virtual void apply(const TextTechnique&);
347 virtual void apply(const TextLayout&);
348
349 // animation
350 virtual void apply(const Animation&);
351 virtual void apply(const AnimationGroup&);
352 virtual void apply(const AnimationSampler&);
353 virtual void apply(const JointSampler&);
354 virtual void apply(const MorphSampler&);
355 virtual void apply(const TransformSampler&);
356 virtual void apply(const Joint&);
357
358 // Vulkan nodes
359 virtual void apply(const BufferInfo&);
360 virtual void apply(const ImageInfo&);
361 virtual void apply(const ImageView&);
362 virtual void apply(const Image&);
363 virtual void apply(const Command&);
364 virtual void apply(const StateCommand&);
365 virtual void apply(const StateSwitch&);
366 virtual void apply(const CommandBuffer&);
367 virtual void apply(const RenderPass&);
368 virtual void apply(const BindDescriptorSet&);
369 virtual void apply(const BindDescriptorSets&);
370 virtual void apply(const BindViewDescriptorSets&);
371 virtual void apply(const Descriptor&);
372 virtual void apply(const DescriptorBuffer&);
373 virtual void apply(const DescriptorImage&);
374 virtual void apply(const DescriptorSet&);
375 virtual void apply(const BindVertexBuffers&);
376 virtual void apply(const BindIndexBuffer&);
377 virtual void apply(const BindComputePipeline&);
378 virtual void apply(const BindGraphicsPipeline&);
379 virtual void apply(const BindRayTracingPipeline&);
380 virtual void apply(const GraphicsPipeline&);
381 virtual void apply(const ComputePipeline&);
382 virtual void apply(const RayTracingPipeline&);
383 virtual void apply(const GraphicsPipelineState&);
384 virtual void apply(const ShaderStage&);
385 virtual void apply(const VertexInputState&);
386 virtual void apply(const InputAssemblyState&);
387 virtual void apply(const TessellationState&);
388 virtual void apply(const ViewportState&);
389 virtual void apply(const RasterizationState&);
390 virtual void apply(const MultisampleState&);
391 virtual void apply(const DepthStencilState&);
392 virtual void apply(const ColorBlendState&);
393 virtual void apply(const DynamicState&);
394 virtual void apply(const ResourceHints&);
395 virtual void apply(const Draw&);
396 virtual void apply(const DrawIndexed&);
397 virtual void apply(const ClearAttachments&);
398 virtual void apply(const ClearColorImage&);
399 virtual void apply(const ClearDepthStencilImage&);
400 virtual void apply(const QueryPool&);
401 virtual void apply(const ResetQueryPool&);
402 virtual void apply(const BeginQuery&);
403 virtual void apply(const EndQuery&);
404 virtual void apply(const WriteTimestamp&);
405 virtual void apply(const CopyQueryPoolResults&);
406
407 // mesh shading classes
408 virtual void apply(const DrawMeshTasks&);
409 virtual void apply(const DrawMeshTasksIndirect&);
410 virtual void apply(const DrawMeshTasksIndirectCount&);
411
412 // ui events
413 virtual void apply(const UIEvent&);
414 virtual void apply(const WindowEvent&);
415 virtual void apply(const ExposeWindowEvent&);
416 virtual void apply(const ConfigureWindowEvent&);
417 virtual void apply(const CloseWindowEvent&);
418 virtual void apply(const FocusInEvent&);
419 virtual void apply(const FocusOutEvent&);
420 virtual void apply(const KeyEvent&);
421 virtual void apply(const KeyPressEvent&);
422 virtual void apply(const KeyReleaseEvent&);
423 virtual void apply(const PointerEvent&);
424 virtual void apply(const ButtonPressEvent&);
425 virtual void apply(const ButtonReleaseEvent&);
426 virtual void apply(const MoveEvent&);
427 virtual void apply(const TouchEvent&);
428 virtual void apply(const TouchDownEvent&);
429 virtual void apply(const TouchUpEvent&);
430 virtual void apply(const TouchMoveEvent&);
431 virtual void apply(const ScrollWheelEvent&);
432 virtual void apply(const TerminateEvent&);
433 virtual void apply(const FrameEvent&);
434
435 // utils
436 virtual void apply(const ShaderCompileSettings&);
437
438 // viewer
439 virtual void apply(const Camera&);
440 virtual void apply(const CommandGraph&);
441 virtual void apply(const SecondaryCommandGraph&);
442 virtual void apply(const RenderGraph&);
443 virtual void apply(const View&);
444 virtual void apply(const Viewer&);
445 virtual void apply(const ViewMatrix&);
446 virtual void apply(const LookAt&);
447 virtual void apply(const RelativeViewMatrix&);
448 virtual void apply(const TrackingViewMatrix&);
449 virtual void apply(const ProjectionMatrix&);
450 virtual void apply(const Perspective&);
451 virtual void apply(const Orthographic&);
452 virtual void apply(const RelativeProjection&);
453 virtual void apply(const EllipsoidPerspective&);
454
455 // general classes
456 virtual void apply(const FrameStamp&);
457
458 bool is_compatible(const std::type_info& type) const noexcept override { return typeid(ConstVisitor) == type || Object::is_compatible(type); }
459 };
460
461 // provide Value<>::accept() implementation
462 template<typename T>
463 void Value<T>::accept(ConstVisitor& visitor) const { visitor.apply(*this); }
464
465 // provide Array<>::accept() implementation
466 template<typename T>
467 void Array<T>::accept(ConstVisitor& visitor) const { visitor.apply(*this); }
468
469 // provide Array2D<>::accept() implementation
470 template<typename T>
471 void Array2D<T>::accept(ConstVisitor& visitor) const { visitor.apply(*this); }
472
473 // provide Array3D<>::accept() implementation
474 template<typename T>
475 void Array3D<T>::accept(ConstVisitor& visitor) const { 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::ConstVisitor
Definition ConstVisitor.h:172
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::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