VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgWindowEllipseGroup.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 <vrvCore/DtUniqueID.h>
16 
17 #include <vrvUtil/signalslib.h>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtOsgWindowEllipseGroupInstance;
28  {
29  public:
32 
34  virtual ~DtOsgWindowEllipseGroup();
35 
36 
39  virtual void setEllipseCount( unsigned int count );
40 
43  virtual void addEllipse( unsigned int stipplePattern,
44  bool fill, float lineWidth, float centerX, float centerY, float radius,
45  float innerRadius, float startAngle, float endAngle );
46 
52  virtual void updateEllipse( unsigned int index, unsigned int stipplePattern,
53  bool fill, float lineWidth, float centerX, float centerY, float radius,
54  float innerRadius, float startAngle, float endAngle );
55 
57  virtual void setVisible( bool isVisible );
58 
60  virtual void setColor( float r, float g, float b, float a );
61 
64  virtual void setGroup( int groupId );
65 
70  virtual void setChannelOverlay( const std::string& displayName,
71  const std::string& windowName, const std::string& channelName ) override;
72  protected:
74  virtual void update();
75 
77  virtual void needsUpdate();
78  protected:
81 
82  boost::signalslib::connection mySignalPostUpdateConnection;
83  };
84 }
OSG implementation of a DtWindowEllipseGroup. A model-like object that controls a group of 2D Ellipse...
Definition: DtOsgWindowEllipseGroup.h:27
bool myConnectedToPostUpdate
Definition: DtOsgWindowEllipseGroup.h:80
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgWindowEllipseGroupInstance * myInstance
Definition: DtOsgWindowEllipseGroup.h:79
A model-like object that controls a group of 2D ellipses. This class means that you do not need to st...
Definition: DtWindowEllipseGroup.h:25
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtUniqueID type.
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:76
This class updates vertices for each ellipse added via addellipse. They are stored in a vector of Ell...
Definition: DtOsgWindowEllipseGroupInstance.h:35
Contains makVrv::DtWindowEllipseGroup class.
boost::signalslib::connection mySignalPostUpdateConnection
Definition: DtOsgWindowEllipseGroup.h:82

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)