VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowTriangleFanInstance.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/vrvCore.h>
14 #include <vrvMath/DtVector2.h>
15 #include <vrvMath/DtMatrix3.h>
17 #include <vector>
18 
19 namespace makVrv
20 {
26  {
27  public:
29  virtual ~DtWindowTriangleFanInstance();
30 
32  virtual void setVertex( int i, double x, double y ) = 0;
33 
35  virtual void setFillPattern( unsigned int fillPattern ) = 0;
36 
38  virtual void setNumVertices( unsigned int numVertices ) = 0;
39 
41  virtual void setColor( float r, float g, float b, float a ) = 0;
42 
45  virtual void setTransform( DtMatrix3<double> transform ) = 0;
46 
48  virtual void update() = 0;
49 
51  virtual void setClipBox( DtVector2<double> bottomLeftLocation, DtVector2<double> topRightLocation ) = 0;
52 
55  virtual void setGroup( int groupId ) = 0;
56 
61  virtual void setChannelOverlay( const std::string& displayName,
62  const std::string& windowName, const std::string& channelName ) = 0;
63  };
64 
68  {
69  public:
72 
75 
77  static DtWindowTriangleFanInstanceCreator& instance( DtDe& de );
78 
80  static void registerInstance( DtDe& de, DtWindowTriangleFanInstanceCreator* instance );
81 
83  virtual DtWindowTriangleFanInstance* create();
84  protected:
86  };
87 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
3 dimensional matrix
2 dimensional vector
Interface for a DtWindowTriangleFanInstance. DtWindowTriangleFan calls the methods in this class whic...
Definition: DtWindowTriangleFanInstance.h:25
Creator for DtWindowTriangleFanInstance, will throw if you create on it. osg creator is registered in...
Definition: DtWindowTriangleFanInstance.h:67
DtDe & myDe
Definition: DtWindowTriangleFanInstance.h:85
Interface for classes with settable visibility, such as a 3D model or 2D graphic. ...
Definition: DtSetVisibilityInterface.h:22
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSetVisibilityInterface.
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
Contains DLL export macros.

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)