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

GLCoiManipulator Class Reference

#include <FnGLCoiManipulator.h>

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

List of all members.

Public Member Functions

 GLCoiManipulator ()
 Constructor.
virtual ~GLCoiManipulator ()
 Destructor.
virtual void draw ()
virtual void pickerDraw (int64_t pickerID)
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 attrs)
static FnAttribute::GroupAttribute getTags ()

Protected Member Functions

template<typename className >
className * addManipulatorHandle (const char *pluginName, const char *manipName, bool placeOnCenterOfInterest, FnKat::ViewerUtils::TransformMode transformMode, std::vector< GLTransformManipulatorHandle * > &handles)

Detailed Description

This class contains the set of manipulator handles required to translate or rotate an object around its center of interest.

This manipulator is composed of several axis for translate and rotation.


Member Function Documentation

template<typename className >
className* GLCoiManipulator::addManipulatorHandle ( const char *  pluginName,
const char *  manipName,
bool  placeOnCenterOfInterest,
FnKat::ViewerUtils::TransformMode  transformMode,
std::vector< GLTransformManipulatorHandle * > &  handles 
) [inline, protected]

Function template to help add and initialize a manipulator handle.

virtual void GLCoiManipulator::draw ( ) [virtual]

Overridden to clear the depth buffer after the Rotate handles have been rendered.

Reimplemented from Foundry::Katana::ViewerAPI::Manipulator.

static FnAttribute::GroupAttribute GLCoiManipulator::getTags ( ) [inline, static]
static bool GLCoiManipulator::matches ( FnAttribute::GroupAttribute  attrs) [inline, static]

Returns whether the manipulator is valid for the passed location attributes.

References Foundry::Katana::GroupAttribute::getChildByName(), and Foundry::Katana::Attribute::isValid().

virtual void GLCoiManipulator::pickerDraw ( int64_t  pickerID) [virtual]

Overridden to clear the depth buffer after the Rotate handles have been rendered.

Reimplemented from Foundry::Katana::ViewerAPI::Manipulator.


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