Katana Plug-in APIs 0.1
Public Member Functions | Static Public Member Functions

GLScaleManipulator Class Reference

#include <FnGLScaleManipulator.h>

Inheritance diagram for GLScaleManipulator:
Foundry::Katana::ViewerUtils::GLTransformManipulator Foundry::Katana::ViewerUtils::GLManipulator Foundry::Katana::ViewerAPI::Manipulator Foundry::Katana::ViewerAPI::ManipulatorPluginBase

List of all members.

Public Member Functions

 GLScaleManipulator ()
 Constructor.
virtual ~GLScaleManipulator ()
 Destructor.
void setup ()
 Adds the child handles. Called when the manipulator is created.

Static Public Member Functions

static Manipulator * create ()
 Creates a new instance of the manipulator.
static void flush ()
 Flushes any cached data.
static bool matches (FnAttribute::GroupAttribute locationAttrs)
static FnAttribute::GroupAttribute getTags ()

Detailed Description

This class contains the set of manipulator handles required to scale an object along all three axis. The actual work of scaling objects and setting values is done by the handles.

This manipulator is composed of 3 axis handles (GLScaleAxisHandle) and a central "cube" handle (GLScaleUniformHandle). The GLScaleAxisHandle are oriented according to the rules set by GlTransformManipulatorHandle, which takes the orientation (world, view, object) into account. GLScaleUniformHandle allows to uniformly scale all 3 dimensions at once.


Member Function Documentation

static FnAttribute::GroupAttribute GLScaleManipulator::getTags ( ) [inline, static]
static bool GLScaleManipulator::matches ( FnAttribute::GroupAttribute  locationAttrs) [inline, static]

Returns whether the manipulator is valid for the passed location attributes. See the Manipulator class.

References Foundry::Katana::GroupAttribute::getChildByName().


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Enumerations Enumerator