FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Wizt::Orientation Struct Reference

Convenience class to provide an input slot for selection a coordinate orientation along the X, Y or Z axis. More...

#include <XYZOrientation.hpp>

Inheritance diagram for Wizt::Orientation:
Wizt::FieldSlice Wizt::OrthoSlice Wizt::ColorizedFloatSliceRenderer Wizt::OrthoSlice::FieldState Wizt::VectorFieldSlice

Public Member Functions

 Orientation (VObject *what, const std::string &name="orientation", int EL=0, unsigned DefaultValue=2)
 
int getOrientation (const RefPtr< ValuePool > &Context) const
 Return 0,1 or 2 for the currently selected orientation in X,Y or Z.
 
Eagle::bivector3 getOrientationVector (const RefPtr< ValuePool > &Context) const
 Return a bi-vector corresponding to the currently selected orientation.
 
bool setSliceRange (const RefPtr< ValuePool > &Context, const RefPtr< Eagle::BoundingBox > &BBox, const TypedSlot< double > &CoordinateValue, bool AdjustValueAsWell) const
 Given a bounding box, set the min/max properties of the given typed slot according to the currently selected orientation.
 

Static Public Member Functions

static Eagle::bivector3 getOrientationVector (int OrientationValue)
 Given an orientation direction (0,1,2) corresponding to X,Y,Z, return a bivector describing that plane.
 

Public Attributes

TypedSlot< EnummyOrientation
 

Detailed Description

Convenience class to provide an input slot for selection a coordinate orientation along the X, Y or Z axis.