VR-Forces 4.10 Class Documentation
 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) 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 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtOsgWindowEllipseGroupInstance;
27  {
28  public:
31 
33  virtual ~DtOsgWindowEllipseGroup();
34 
35 
38  virtual void setEllipseCount( unsigned int count );
39 
42  virtual void addEllipse( unsigned int stipplePattern,
43  bool fill, float lineWidth, float centerX, float centerY, float radius,
44  float innerRadius, float startAngle, float endAngle );
45 
51  virtual void updateEllipse( unsigned int index, unsigned int stipplePattern,
52  bool fill, float lineWidth, float centerX, float centerY, float radius,
53  float innerRadius, float startAngle, float endAngle );
54 
56  virtual void setVisible( bool isVisible );
57 
59  virtual void setColor( float r, float g, float b, float a );
60 
63  virtual void setGroup( int groupId );
64 
69  virtual void setChannelOverlay( std::string displayName,
70  std::string windowName, std::string channelName );
71  protected:
73  virtual void update();
74 
76  virtual void needsUpdate();
77  protected:
80  };
81 }
OSG implementation of a DtWindowEllipseGroup.
Definition: DtOsgWindowEllipseGroup.h:26
bool myConnectedToPostUpdate
Definition: DtOsgWindowEllipseGroup.h:79
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgWindowEllipseGroupInstance * myInstance
Definition: DtOsgWindowEllipseGroup.h:78
A model-like object that controls a group of 2D ellipses.
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.
Definition: DtDe.h:69
This class updates vertices for each ellipse added via addellipse.
Definition: DtOsgWindowEllipseGroupInstance.h:35
Contains makVrv::DtWindowEllipseGroup class.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)