VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
makVrv::DtFxForceInterface Class Referenceabstract

class that allows clients to add global forces (no export of virtual base class) More...

Inheritance diagram for makVrv::DtFxForceInterface:
Inheritance graph
[legend]

Public Types

enum  ForceType {
  Repulsor2D, Repulsor3D, Attractor2D, Attractor3D,
  Spinner2D, LiftVortex, WindVolume, CurlNoise
}
 
enum  FalloffType { None, Linear, DistanceSquared }
 

Public Member Functions

virtual ~DtFxForceInterface ()
 DTOR. More...
 
virtual void setPosition (double x, double y, double z)=0
 sets the position of the force More...
 
virtual void setRadius (float radius)=0
 sets the volume of the force, only used for None falloff type, other ones will be derived base on falloff. More...
 
virtual void setForceType (ForceType falloff_type)=0
 sets the type of force More...
 
virtual void setFalloffType (FalloffType falloff_type)=0
 sets the falloff type More...
 
virtual void setForceStrength (float forceStr)=0
 sets the force strength More...
 
virtual void setForceDirection (float x, float y, float z)=0
 currently only used for wind More...
 

Detailed Description

class that allows clients to add global forces (no export of virtual base class)

Member Enumeration Documentation

Enumerator
Repulsor2D 
Repulsor3D 
Attractor2D 
Attractor3D 
Spinner2D 
LiftVortex 
WindVolume 
CurlNoise 
Enumerator
None 
Linear 
DistanceSquared 

Constructor & Destructor Documentation

virtual makVrv::DtFxForceInterface::~DtFxForceInterface ( )
inlinevirtual

DTOR.

Member Function Documentation

virtual void makVrv::DtFxForceInterface::setPosition ( double  x,
double  y,
double  z 
)
pure virtual

sets the position of the force

Implemented in makVrv::DtFxForce.

virtual void makVrv::DtFxForceInterface::setRadius ( float  radius)
pure virtual

sets the volume of the force, only used for None falloff type, other ones will be derived base on falloff.

Implemented in makVrv::DtFxForce.

virtual void makVrv::DtFxForceInterface::setForceType ( ForceType  falloff_type)
pure virtual

sets the type of force

virtual void makVrv::DtFxForceInterface::setFalloffType ( FalloffType  falloff_type)
pure virtual

sets the falloff type

virtual void makVrv::DtFxForceInterface::setForceStrength ( float  forceStr)
pure virtual

sets the force strength

Implemented in makVrv::DtFxForce.

virtual void makVrv::DtFxForceInterface::setForceDirection ( float  x,
float  y,
float  z 
)
pure virtual

currently only used for wind

Implemented in makVrv::DtFxForce.


The documentation for this class was generated from the following file:

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)