VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowArcInstance.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 
13 
15 #include <vrvOsg/vrvOsg.h>
16 
18 
19 #include <osg/Vec2>
20 #include <osg/Vec4>
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtSegmentedLine;
26 
46  {
47  public:
50 
52  virtual ~DtWindowArcInstance();
53 
54  protected:
55 
57  virtual void setArcVertex(unsigned int index, double x, double y, double z);
58 
62  virtual double calculateHeight(const DtVector& heightVertex) const;
63 
64  };
65 
69  {
70  public:
73  static DtWindowArcInstanceCreator& instance(DtDe& de);
74 
76  static void registerInstance(DtDe& de,
77  DtWindowArcInstanceCreator* instance);
78 
80  virtual DtWindowArcInstance* create(DtDe& de);
81 
82  };
83 }
84 
Interface for an Arc Model instance.
Definition: DtArcModelInstance.h:54
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Contains makVrv::DtRgbColorInterpolator class declaration.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains the makVrv::DtArcModelInstance class declaration.
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
A Creator for the makVrv::DtOverlayArcModelInstance class.
Definition: DtWindowArcInstance.h:68
Window version of 2D elliptical arc.
Definition: DtWindowArcInstance.h:45
Contains the makVrv::DtSegmentedLine class declaration.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)