VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowTriangleStrip.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 <vrvCore/DtWindowObject.h>
13 
14 #include <vector>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtWindowTriangleStripInstance;
20 
37  {
38  public:
41 
43  virtual ~DtWindowTriangleStrip();
44 
46  virtual void setVertex( int i, double x, double y );
47 
49  virtual void setNumVertices( int numVertices );
50 
52  virtual void setVisible( bool isVisible );
53 
55  virtual void setStipplePattern( unsigned int stipplePattern );
56 
58  virtual void setColor( float r, float g, float b, float a );
59 
62  virtual void setGroup( int groupId );
63 
68  virtual void setChannelOverlay( const std::string& displayName,
69  const std::string& windowName, const std::string& channelName ) override;
70  protected:
72  virtual void update();
73 
75  virtual void needsUpdate();
76  protected:
79  };
80 }
Base class for a graphical object that exists in a window Implements a parenting system for DtWindowO...
Definition: DtWindowObject.h:24
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
bool myConnectedToPostUpdate
Definition: DtWindowTriangleStrip.h:78
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:72
DtWindowTriangleStripInstance * myInstance
Definition: DtWindowTriangleStrip.h:77
Contains makVrv::DtWindowObject class.
Interface for a DtWindowTriangleStripInstance. DtWindowTriangleStrip calls the methods in this class ...
Definition: DtWindowTriangleStripInstance.h:25
A model-like object that draws a 2D polygon on screen. This polygon class inherits from DtWindowObjec...
Definition: DtWindowTriangleStrip.h:36

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)