VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHeightMapDrawableCullCallback.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/Callback>
15 
16 namespace osg
17 {
18  class View;
19  class Object;
20 }
21 
22 namespace makVrv
23 {
26  struct DT_DLL_VRVOSG DtHeightMapDrawableCullCallback : public osg::Callback
27  {
28  public:
30  DtHeightMapDrawableCullCallback(osg::View* view);;
31 
32  protected:
35 
36  private:
42  DtHeightMapDrawableCullCallback& operator=(const DtHeightMapDrawableCullCallback& other) = delete;
43 
44  public:
46  virtual bool run(osg::Object* object, osg::Object* data);
47 
48  protected:
49  //Doesn't need to be a ref pointer since it is never accessed. Only used to compare to another pointer.
50  osg::View* myView;
51  };
52 }
53 
osg::View * myView
Definition: DtHeightMapDrawableCullCallback.h:50
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains DLL export macros.
Cull callback used to prevent the height map camera from rendering anything for any views that are no...
Definition: DtHeightMapDrawableCullCallback.h:26

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)