VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTexturedLine.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
15 
16 namespace makVrv
17 {
18  class DtTexturedLineSegment;
19 
23  {
24  public:
25 
28 
30  virtual ~DtTexturedLine();
31 
33  virtual DtLineSegmentInterface* createAndInitNewSegment();
34 
36  virtual void setTexture(DtOverlayResourceProvider::NativeResourceHandle texture, float textureWidth);
37 
40  virtual void setZoomFactor(float z);
41 
43  virtual void setRotationOffset(float);
44 
47  virtual void setGroup( int );
48 
49  protected:
51  virtual void removeLineSegmentsUntilEndFrom(int segmentCount);
52 
54  virtual void setLineSegment(int, DtLineSegmentInterface*);
55 
56  protected:
57  typedef std::vector<DtTexturedLineSegment*> TexturedLineSegmentList;
59 
62  float myZoomFactor;
64  };
65 }
Draw a line with a texture.
Definition: DtTexturedLine.h:22
DtOverlayResourceProvider::NativeResourceHandle myTexture
Definition: DtTexturedLine.h:60
void * NativeResourceHandle
Definition: DtOverlayResourceProvider.h:33
std::vector< DtTexturedLineSegment * > TexturedLineSegmentList
Definition: DtTexturedLine.h:57
float myTextureWidth
Definition: DtTexturedLine.h:61
A class which represents a single line segment.
Definition: DtLineSegmentInterface.h:16
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
float myZoomFactor
Definition: DtTexturedLine.h:62
TexturedLineSegmentList myTexturedLineSegments
Definition: DtTexturedLine.h:58
float myRotationOffset
Definition: DtTexturedLine.h:63
A convex polygon drawn using lines.
Definition: DtSegmentedLine.h:24
Contains the makVrv::DtSegmentedLine class declaration.
The picker class which allocates and does picking operatings on widgets.
Definition: DtWidgetPicker.h:32
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)