GLOW API version 1.0 reference

Back to
Table of contents


class GlowViewManipulatorParams

General information

type: struct
inherits: (none)
module: glowViewTransform

GlowViewManipulatorParams encloses parameters for construction of a GlowViewManipulator.

GLOW programs that use view manipulators will need to use GlowViewManipulatorParams.

Data

Parameter data

GlowTransformData* connectTo

Specifies the transform data to use, or use 0 to create a new transform data object. Initial default is 0.

Vec3f initialTranslation

Initial value for the translation component of the transform to create. Ignored if a connectTo is specified. Initial default is the identity transform.

Quatf initialRotation

Initial value for the rotation component of the transform to create. Ignored if a connectTo is specified. Initial default is the identity transform.

GLfloat initialScale

Initial value for the scale component of the transform to create. Ignored if a connectTo is specified. Initial default is the identity transform.

GLfloat scaleThrottle

Sensitivity of scaling control. Initial default is 1.0.

GLfloat translationThrottle

Sensitivity of translation control. Initial default is 1.0.

GLfloat rotationThrottle

Sensitivity of rotation control. Initial default is 1.0.

std::vector<Vec3f> axisConstraints

Axes to use when manipulating in constrained mode. Initial default is the empty vector.

bool axisConstraintsActive

Running in constrained mode. Initial default is false.

bool spinnable

Allowing spinning. Initial default is false.

bool draw

Drawing arcs during manipulation. Initial default is false.

int spinDataLength

Amount of time to record movement for spinning, in milliseconds. Initial default is 250.

GlowColor color

Color to use when drawing arcs.

Static Data

Defaults

static GlowViewManipulatorParams defaults

Default parameters. These are copied every time a new GlowViewManipulatorParams is constructed.

Methods

Constructor

GlowViewManipulatorParams(void)

Constructs a new parameter block, copying defaults

Back to
Table of contents


The GLOW Toolkit