VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTritonEventProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
8 
9 #pragma once
10 
14 #include <matrix/vlVector.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
20  // just for demos
22  {
23  public:
26 
28  virtual ~DtTritonEventProcessor();
29 
30  virtual bool processKeyboardEvent( const DtKeyEvent&, DtChannel& );
31 
32  virtual const std::string& className();
33 
37  virtual bool processMouseEvent( const DtMouseEvent& mouseEvent, DtChannel& channel);
38 
39  // For key binding
40  virtual void impactModeOn();
41  virtual void impactModeOff();
42 
43  // Parameter changes
44  virtual void slot_impactMassChanged( double mass );
45  virtual void slot_impactSpeedChanged( double speed );
46  virtual void slot_impactDiameterChanged( double diameter );
47  virtual void slot_impactSprayScaleChanged( double sprayScale );
48 
49  protected:
51  std::string myName;
54  double mySpeed;
55  double myDiameter;
56  double myMass;
57  double mySprayScale;
59  Triton::Impact* myCurrentImpact;
60 
62  };
63 }

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)