VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgWindowLineGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <vrvCore/DtUniqueID.h>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtOsgWindowLineGroupInstance;
26  {
27  public:
30 
32  virtual ~DtOsgWindowLineGroup();
33 
34 
37  virtual void setLineCount( unsigned int count );
38 
40  virtual void addLine( float lineWidth, unsigned int stipplePattern, float xVertex0, float yVertex0, float xVertex1, float yVertex1 );
41 
47  virtual void updateLine( unsigned int index, float lineWidth, unsigned int stipplePattern, float xVertex0, float yVertex0, float xVertex1, float yVertex1 );
48 
50  virtual void setVisible( bool isVisible );
51 
53  virtual void setColor( float r, float g, float b, float a );
54 
57  virtual void setGroup( int groupId );
58 
63  virtual void setChannelOverlay( const std::string& displayName,
64  const std::string& windowName, const std::string& channelName ) override;
65  protected:
67  virtual void update();
68 
70  virtual void needsUpdate();
71  protected:
74  };
75 }
Contains makVrv::DtWindowLineGroup class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
This class updates vertices for each line added via addLine. They are stored in a vector of LineStruc...
Definition: DtOsgWindowLineGroupInstance.h:34
OSG implementation of a DtWindowLineGroup. A model-like object that controls a group of 2D Lines...
Definition: DtOsgWindowLineGroup.h:25
Contains makVrv::DtUniqueID type.
A model-like object that controls a group of 2D Lines. This class means that you do not need to store...
Definition: DtWindowLineGroup.h:28
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
bool myConnectedToPostUpdate
Definition: DtOsgWindowLineGroup.h:73
DtOsgWindowLineGroupInstance * myInstance
Definition: DtOsgWindowLineGroup.h:72

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)