VR-Forces Developer's Guide
 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)

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 ()
 
virtual void setPosition (double x, double y, double z)=0
 
virtual void setRadius (float radius)=0
 
virtual void setForceType (ForceType falloff_type)=0
 
virtual void setFalloffType (FalloffType falloff_type)=0
 
virtual void setForceStrength (float forceStr)=0
 
virtual void setForceDirection (float x, float y, float z)=0
 

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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)