FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
XYZOrientation.hpp
1#ifndef __FISH_SPINE_XYZORIENTATION_HPP
2#define __FISH_SPINE_XYZORIENTATION_HPP
3
4#include "fishspineDllApi.h"
5
6#include <ocean/shrimp/VEnum.hpp>
7#include <aerie/BoundingBox.hpp>
8
9namespace Wizt
10{
11
17{
19 TypedSlot<Enum> myOrientation;
20
22 Orientation(VObject*what, const std::string&name = "orientation",
23 int EL=0, unsigned DefaultValue=2);
24
26 ~Orientation();
27
29 int getOrientation(const RefPtr<ValuePool>&Context) const;
30
33static Eagle::bivector3 getOrientationVector(int OrientationValue);
34
37 Eagle::bivector3 getOrientationVector(const RefPtr<ValuePool>&Context) const
38 {
39 return getOrientationVector( getOrientation( Context ) );
40 }
41
47 bool setSliceRange(const RefPtr<ValuePool>&Context,
50 bool AdjustValueAsWell) const;
51};
52
55
56
57} // namespace Wizt
58
59
60#endif // __FISH_SPINE_XYZORIENTATION_HPP
61
basic_string< char > string
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
Orientation XYZOrientation
Alias name, more specific.
Definition XYZOrientation.hpp:54
Convenience class to provide an input slot for selection a coordinate orientation along the X,...
Definition XYZOrientation.hpp:17
Eagle::bivector3 getOrientationVector(const RefPtr< ValuePool > &Context) const
Return a bi-vector corresponding to the currently selected orientation.
Definition XYZOrientation.hpp:37