VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTexturedOutlinedPolygonInterface.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 <vrvCore/vrvCore.h>
15 
17 
18 namespace makVrv
19 {
20  class DtTextureInterface;
21  class DtChannel;
22 
26  {
27  public:
28 
31 
34 
36  virtual DtLineSegmentInterface* createAndInitNewSegment() = 0;
37 
39  virtual void setTexture(DtTextureInterface* textureHandle, float textureWidth) = 0;
40 
42  virtual void setZoomFactor(float z) = 0;
43 
45  virtual void setRotationOffset(float) = 0;
46 
47  };
48 
50  {
51  public:
55 
57  static void registerInstance(DtDe& de, DtTexturedOutlinedPolygonInterfaceCreator* anInstance);
58 
60  virtual DtOutlinedPolygonInterface* create(DtDe& de, DtChannel* channel, DtModelSetId modelSet) = 0;
61  };
62 }
A convex polygon drawn using lines.
Definition: DtOutlinedPolygonInterface.h:25
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:24
Contains the makVrv::DtOutlinedPolygonInterface class declaration.
The abstract Channel Class.
Definition: DtChannel.h:35
An interface for a single line segment.
Definition: DtLineSegmentInterface.h:23
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
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
Draw a polygonal line with a texture.
Definition: DtTexturedOutlinedPolygonInterface.h:25
Definition: DtTexturedOutlinedPolygonInterface.h:49
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains various enum classes relating to model sets.
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)