VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
attackLineAttachableUpdater.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 
13 #include <vrfGuiCore/vrfGuiCore.h>
15 
16 namespace makVrf
17 {
19  {
20  public:
23 
26  virtual void doAttachment(double);
27 
28  virtual void setAttacker(makVrv::DtElementID);
29  virtual void setTarget(makVrv::DtElementID);
30 
31  virtual void setWedgeSize(double degrees);
32  virtual void setTwoPointMode(bool);
33 
34  protected:
35  struct Object;
36 
37  virtual void setupSceneObject(Object&);
38  virtual bool findSpotReportFor(Object&);
39  virtual bool findSuperiorFor(Object&);
40  virtual void releaseSceneObject(Object&);
41 
42  virtual void slot_sceneObjectToBeDeleted( const makVrv::DtUniqueID& id );
43 
44  virtual bool positionAndOrientation(Object&, double, DtVector& pos, DtTaitBryan& ori) const;
45 
46  virtual DtVector setupPoint(int vtx, const DtVector& origin, const DtVector& offset,
47  const DtVector& offset2D) const;
48 
49  protected:
50  struct Object
51  {
52  Object() : sceneObject(0), spotReportSceneObject(0), pseudoAggregateSceneObject(0),
53  sceneObjectNeedsUpdate(false), spotReportNeedsUpdate(false), pseudoAggregateNeedsUpdate(false) {};
54  virtual ~Object() {};
55 
56  makVrv::DtSceneObject* sceneObject;
67  };
68 
71 
72  double myWedgeSize;
76  };
77 
78 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)