vrecko
virtual reality framework
|
Typedefs | |
typedef std::vector< std::string > | AttractorNames |
typedef osg::ref_ptr< Attractor > | AttractorPtr |
typedef osg::ref_ptr< Brush > | BrushPtr |
typedef osg::ref_ptr < IComputeStrategy > | IComputeStrategyPtr |
typedef osg::ref_ptr < ComputeThread > | ComputeThreadPtr |
typedef std::vector< DATool * > | DATools |
virtual PoA controller More... | |
typedef PoAAdapter< DiameterGen > | DiameterGenAdapter |
typedef osg::ref_ptr< Hoop > | HoopPtr |
typedef osg::ref_ptr< HoopShape > | HoopShapePtr |
typedef osg::ref_ptr< Mode > | ModePtr |
typedef struct APDYNAMICART::Parameter | Parameter |
typedef std::vector< Parameter > | Parameters |
typedef osg::ref_ptr< IParameters > | IParametersPtr |
typedef osg::ref_ptr< PatternBase > | PatternPtr |
typedef std::vector< PatternPtr > | Patterns |
typedef osg::ref_ptr < PatternsGeode > | PatternGeodePtr |
typedef std::vector < PatternGeodePtr > | PatternGeodeList |
typedef std::vector < osg::ref_ptr< osg::Sphere > > | Spheres |
typedef osg::ref_ptr< PoA > | ref_ptr_PoA |
type: reference pointer to PoA More... | |
typedef osg::ref_ptr < PolyhedraSculpture > | PolyhedraSculpturePtr |
typedef osg::ref_ptr < PS_Component > | PS_ComponentPtr |
typedef osg::ref_ptr< PS_Layer > | PS_LayerPtr |
typedef osg::ref_ptr< PS_Face > | PS_FacePtr |
typedef osg::ref_ptr < PS_FacePlane > | PS_FacePlanePtr |
typedef osg::ref_ptr < PS_FlatShape > | PS_FlatShapePtr |
typedef osg::ref_ptr < PS_Polyhedron > | PS_PolyhedronPtr |
typedef osg::ref_ptr< SimpleBox > | ref_ptr_SimpleBox |
typedef osg::ref_ptr< ToolBrush > | ref_ptr_ToolBrush |
typedef std::pair< HoopPtr, osg::ref_ptr< HookObject > > | Hook |
Hook tool. More... | |
typedef osg::ref_ptr < ToolSelector > | ToolSelectorPtr |
typedef osg::ref_ptr < osg::UIntArray > | UIntArrayPtr |
typedef osg::ref_ptr < osg::Vec3Array > | Vec3ArrayPtr |
typedef osg::ref_ptr < osg::Vec4Array > | Vec4ArrayPtr |
typedef osg::ref_ptr< osg::Geode > | GeodePtr |
typedef osg::ref_ptr < osg::Geometry > | GeometryPtr |
typedef osg::ref_ptr < vreckoUtils::Menu > | MenuPtr |
typedef osg::ref_ptr < vreckoUtils::MenuRoot > | MenuRootPtr |
typedef osg::ref_ptr < vreckoUtils::IMenuComponent > | IMenuComponentPtr |
typedef osg::ref_ptr < std::vector< osg::Vec4 > > | ColorList |
typedef std::map< std::string, Trait > | TraitMap |
typedef osg::ref_ptr < HoopGeometry > | HoopGeometryPtr |
typedef osg::ref_ptr < IShapeGenerator > | IShapeGeneratorPtr |
typedef std::vector< SnapPoint > | SnapPointArray |
Enumerations | |
enum | AttractorRenderingType { ATT__RENDER_POINTS = 1, ATT__RENDER_LINES, ATT__RENDER_TRIANGLES } |
enum | PlaybackType { FHP__REAL_TIME = 1, FHP__LAG_SKIP } |
enum | DAToolType { TOOL__BRUSH = 1, TOOL__TONGS, TOOL__ERASER, TOOL__SLICE, TOOL__MAGICWAND, TOOL__NEST, TOOL__MAGNET, TOOL__PERLIN_LINES_CONTROLLER, TOOL__SELECTOR, TOOL__ROTATION, TOOL__HOOK } |
enum | PoAType { POA__DUMMY = -1, POA__BRUSH_STROKE = 1, POA__MOTION_TRAIL, POA__CHAOTIC_ATTRACTOR, POA__PERLIN_LINE, POA__STRING_SCULPTURES, POA__POLYHEDRA_SCULPTURES } |
Types of PoA. More... | |
enum | PoAUpdateType { POA__UPDATE_NONE = 0, POA__UPDATE_DELETE = 1, POA__UPDATE_RENDER, POA__UPDATE_COLOR_CHANGE, POA__UPDATE_DYNAMIC, POA__MT_SAMPLING } |
Types of updates of PoA. More... | |
enum | PoBType { POB__ICON = 1 } |
types of PoB More... | |
Functions | |
void | createParticleSystem (osg::Group *emmitterParent, osg::Group *particleSystemParent, ParticleSystemParameters *params) |
METHOD_INPUT (Colour, MessageVec4, BrushStroke) | |
METHOD_INPUT (Position_sensor_0, MessageVec3, Ctrl_PerlinLines) | |
METHOD_INPUT (Autorotation, MessageBool, DAEnvironment) | |
METHOD_INPUT (ChangeAutoRotationSpeed, MessageInt, DAEnvironment) | |
METHOD_INPUT (Colour, MessageVec4, DAEnvironment) | |
METHOD_INPUT (CreateMenuStructure, MessageInt, DAEnvironment) | |
METHOD_INPUT (DebugPurposeKey, MessageBool, DAEnvironment) | |
METHOD_INPUT (GUIItemClicked, MessageString, DAEnvironment) | |
METHOD_INPUT (HidingMenu, MessageBool, DAEnvironment) | |
METHOD_INPUT (SwitchGUIVisibility, MessageBool, DAEnvironment) | |
METHOD_INPUT (Import, MessageBool, DAEnvironment) | |
METHOD_INPUT (MenuItemClicked, MessageString, DAEnvironment) | |
METHOD_INPUT (ResetDAArea, MessageBool, DAEnvironment) | |
METHOD_INPUT (Sensor_0_position, MessageVec3, DAEnvironment) | |
METHOD_INPUT (Sensor_1_position, MessageVec3, DAEnvironment) | |
METHOD_INPUT (Sensor_0_orientation, MessageQuat, DAEnvironment) | |
METHOD_INPUT (Sensor_1_orientation, MessageQuat, DAEnvironment) | |
METHOD_INPUT (ScaleDAArea, MessageInt, DAEnvironment) | |
METHOD_INPUT (SwitchTool, MessageBool, DAEnvironment) | |
METHOD_INPUT (SwitchRenderingMethod, MessageBool, DAEnvironment) | |
METHOD_INPUT (QuickLoad, MessageBool, DAEnvironment) | |
METHOD_INPUT (QuickSave, MessageBool, DAEnvironment) | |
METHOD_REQUEST_INPUT (Sensor_1_actionMain, MessageBool, MessageBool, DAEnvironment) | |
METHOD_REQUEST_INPUT (Sensor_0_actionMain, MessageBool, MessageBool, DAEnvironment) | |
METHOD_INPUT (ExternalDeactivation, MessageObjectID, DAEnvironment) | |
METHOD_INPUT (Colour, MessageVec4, Hoop) | |
METHOD_INPUT (GUIItemClicked, MessageString, ToolBrush) | |
METHOD_INPUT (CreateMenuStructure, MessageInt, ToolBrush) | |
METHOD_INPUT (HidingMenu, MessageBool, ToolBrush) | |
METHOD_INPUT (GUIItemClicked, MessageString, ToolHook) | |
METHOD_INPUT (CreateMenuStructure, MessageInt, ToolHook) | |
METHOD_INPUT (HidingMenu, MessageBool, ToolHook) | |
METHOD_INPUT (GUIItemClicked, MessageString, ToolMagicWand) | |
METHOD_INPUT (CreateMenuStructure, MessageInt, ToolMagicWand) | |
METHOD_INPUT (HidingMenu, MessageBool, ToolMagicWand) | |
METHOD_INPUT (GUIItemClicked, MessageString, ToolRotation) | |
METHOD_INPUT (CreateMenuStructure, MessageInt, ToolRotation) | |
METHOD_INPUT (HidingMenu, MessageBool, ToolRotation) | |
METHOD_INPUT (GUIItemClicked, MessageString, ToolSelector) | |
METHOD_INPUT (CreateMenuStructure, MessageInt, ToolSelector) | |
METHOD_INPUT (HidingMenu, MessageBool, ToolSelector) | |
Variables | |
const unsigned int | NOT_FOUND = -1 |
Selector tool. More... | |
std::string | saveFileNameBase = "da_scene#" |
__pad0__ | |
colorGenAdapter | |
diamGenAdapt | |
crossSectionAdapter | |
PoA class for visualizing Hooks
PoA class for generating hoops
PoA class for whole polyhedra sculpture
class for management of one component of polyhedra sculpture
class for
interface for various flat shapes such as face or component
class for management of one layer of polyhedra sculpture
class for management of one polyhedron of polyhedra sculpture
class for management of symmetries of polyhedron
typedef std::vector<std::string> APDYNAMICART::AttractorNames |
typedef osg::ref_ptr<Attractor> APDYNAMICART::AttractorPtr |
typedef osg::ref_ptr<Brush> APDYNAMICART::BrushPtr |
typedef osg::ref_ptr<std::vector<osg::Vec4> > APDYNAMICART::ColorList |
typedef osg::ref_ptr<ComputeThread> APDYNAMICART::ComputeThreadPtr |
typedef std::vector<DATool*> APDYNAMICART::DATools |
virtual PoA controller
Controllers manage PoAs of own type. For each type of PoA (Motion trails, Chaotic attractors, Perlin lines, ...) there have to be exactly one controller. One controller may contain only one type of PoAs. Controllers objects are defined in .xml file. All controllers ability must have same parent EO as DAEnvironment ability.
typedef PoAAdapter<DiameterGen> APDYNAMICART::DiameterGenAdapter |
typedef osg::ref_ptr<osg::Geode> APDYNAMICART::GeodePtr |
typedef osg::ref_ptr<osg::Geometry> APDYNAMICART::GeometryPtr |
typedef std::pair<HoopPtr, osg::ref_ptr<HookObject> > APDYNAMICART::Hook |
Hook tool.
Used for PhysX simulation, every hoop can be hooked to a rope using this tool
typedef osg::ref_ptr<HoopGeometry> APDYNAMICART::HoopGeometryPtr |
typedefs
typedef osg::ref_ptr<Hoop> APDYNAMICART::HoopPtr |
typedef osg::ref_ptr<HoopShape> APDYNAMICART::HoopShapePtr |
typedef osg::ref_ptr<IComputeStrategy> APDYNAMICART::IComputeStrategyPtr |
typedef osg::ref_ptr<vreckoUtils::IMenuComponent> APDYNAMICART::IMenuComponentPtr |
typedef osg::ref_ptr<IParameters> APDYNAMICART::IParametersPtr |
typedef osg::ref_ptr<IShapeGenerator> APDYNAMICART::IShapeGeneratorPtr |
typedefs
typedef osg::ref_ptr<vreckoUtils::Menu> APDYNAMICART::MenuPtr |
typedef osg::ref_ptr<vreckoUtils::MenuRoot> APDYNAMICART::MenuRootPtr |
typedef osg::ref_ptr<Mode> APDYNAMICART::ModePtr |
typedefs
typedef struct APDYNAMICART::Parameter APDYNAMICART::Parameter |
Parameter struct
typedef std::vector<Parameter> APDYNAMICART::Parameters |
typedef std::vector<PatternGeodePtr> APDYNAMICART::PatternGeodeList |
typedef osg::ref_ptr<PatternsGeode> APDYNAMICART::PatternGeodePtr |
typedef osg::ref_ptr<PatternBase> APDYNAMICART::PatternPtr |
typedefs
typedef std::vector<PatternPtr> APDYNAMICART::Patterns |
typedef osg::ref_ptr<PolyhedraSculpture> APDYNAMICART::PolyhedraSculpturePtr |
typedef osg::ref_ptr<PS_Component> APDYNAMICART::PS_ComponentPtr |
typedef osg::ref_ptr<PS_FacePlane> APDYNAMICART::PS_FacePlanePtr |
typedef osg::ref_ptr<PS_Face> APDYNAMICART::PS_FacePtr |
typedef osg::ref_ptr<PS_FlatShape> APDYNAMICART::PS_FlatShapePtr |
typedef osg::ref_ptr< PS_Layer > APDYNAMICART::PS_LayerPtr |
typedef osg::ref_ptr<PS_Polyhedron> APDYNAMICART::PS_PolyhedronPtr |
typedef osg::ref_ptr<PoA> APDYNAMICART::ref_ptr_PoA |
type: reference pointer to PoA
typedef osg::ref_ptr<SimpleBox> APDYNAMICART::ref_ptr_SimpleBox |
typedef osg::ref_ptr<ToolBrush> APDYNAMICART::ref_ptr_ToolBrush |
typedef std::vector<SnapPoint> APDYNAMICART::SnapPointArray |
typedef std::vector<osg::ref_ptr<osg::Sphere> > APDYNAMICART::Spheres |
typedef osg::ref_ptr<ToolSelector> APDYNAMICART::ToolSelectorPtr |
typedef std::map<std::string, Trait> APDYNAMICART::TraitMap |
typedef osg::ref_ptr<osg::UIntArray> APDYNAMICART::UIntArrayPtr |
general typedefs
typedef osg::ref_ptr<osg::Vec3Array> APDYNAMICART::Vec3ArrayPtr |
typedef osg::ref_ptr<osg::Vec4Array> APDYNAMICART::Vec4ArrayPtr |
PoA class for generating an attractor
Enumerator | |
---|---|
ATT__RENDER_POINTS | |
ATT__RENDER_LINES | |
ATT__RENDER_TRIANGLES |
Types of PoA.
Enumerator | |
---|---|
POA__DUMMY | |
POA__BRUSH_STROKE | |
POA__MOTION_TRAIL | |
POA__CHAOTIC_ATTRACTOR | |
POA__PERLIN_LINE | |
POA__STRING_SCULPTURES | |
POA__POLYHEDRA_SCULPTURES |
Types of updates of PoA.
PoA may need different types of update during time, with different frequency of updates Set update type by calling setUpdateFlag() function.
Enumerator | |
---|---|
POA__UPDATE_NONE |
no update is required |
POA__UPDATE_DELETE |
PoA will be cleared immediately. Controller will later delete PoA object and free memory. |
POA__UPDATE_RENDER |
PoA will be re-rendered during next update. |
POA__UPDATE_COLOR_CHANGE |
change in colors... do something - partialy re-render, perhaps |
POA__UPDATE_DYNAMIC |
object is somehow dynamic and therefore requires more than one update |
POA__MT_SAMPLING |
Brush Stroke specific update - adding new samples to Brush Stroke PoA. |
types of PoB
Enumerator | |
---|---|
POB__ICON |
void APDYNAMICART::createParticleSystem | ( | osg::Group * | emmitterParent, |
osg::Group * | particleSystemParent, | ||
ParticleSystemParameters * | params | ||
) |
Create new particle system and add it to virtual scene
emitterParent | parent object of particle emitter - oriented point in 3D space, where particles are emitted |
particleSystemParent | parent object of whole particle system - when this parent moves, all particles moves... Usually, this is world or daArea |
params | structure containing particle system parameters - see above. |
APDYNAMICART::METHOD_INPUT | ( | GUIItemClicked | , |
MessageString | , | ||
ToolHook | |||
) |
APDYNAMICART::METHOD_INPUT | ( | GUIItemClicked | , |
MessageString | , | ||
ToolRotation | |||
) |
APDYNAMICART::METHOD_INPUT | ( | CreateMenuStructure | , |
MessageInt | , | ||
ToolHook | |||
) |
APDYNAMICART::METHOD_INPUT | ( | HidingMenu | , |
MessageBool | , | ||
ToolHook | |||
) |
APDYNAMICART::METHOD_INPUT | ( | CreateMenuStructure | , |
MessageInt | , | ||
ToolRotation | |||
) |
APDYNAMICART::METHOD_INPUT | ( | HidingMenu | , |
MessageBool | , | ||
ToolRotation | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Colour | , |
MessageVec4 | , | ||
Hoop | |||
) |
APDYNAMICART::METHOD_INPUT | ( | GUIItemClicked | , |
MessageString | , | ||
ToolBrush | |||
) |
APDYNAMICART::METHOD_INPUT | ( | CreateMenuStructure | , |
MessageInt | , | ||
ToolBrush | |||
) |
APDYNAMICART::METHOD_INPUT | ( | HidingMenu | , |
MessageBool | , | ||
ToolBrush | |||
) |
APDYNAMICART::METHOD_INPUT | ( | GUIItemClicked | , |
MessageString | , | ||
ToolSelector | |||
) |
APDYNAMICART::METHOD_INPUT | ( | GUIItemClicked | , |
MessageString | , | ||
ToolMagicWand | |||
) |
APDYNAMICART::METHOD_INPUT | ( | CreateMenuStructure | , |
MessageInt | , | ||
ToolSelector | |||
) |
APDYNAMICART::METHOD_INPUT | ( | HidingMenu | , |
MessageBool | , | ||
ToolSelector | |||
) |
APDYNAMICART::METHOD_INPUT | ( | CreateMenuStructure | , |
MessageInt | , | ||
ToolMagicWand | |||
) |
APDYNAMICART::METHOD_INPUT | ( | HidingMenu | , |
MessageBool | , | ||
ToolMagicWand | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Colour | , |
MessageVec4 | , | ||
BrushStroke | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Position_sensor_0 | , |
MessageVec3 | , | ||
Ctrl_PerlinLines | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Autorotation | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | ChangeAutoRotationSpeed | , |
MessageInt | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Colour | , |
MessageVec4 | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | CreateMenuStructure | , |
MessageInt | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | DebugPurposeKey | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | GUIItemClicked | , |
MessageString | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | HidingMenu | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | SwitchGUIVisibility | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Import | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | MenuItemClicked | , |
MessageString | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | ResetDAArea | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Sensor_0_position | , |
MessageVec3 | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Sensor_1_position | , |
MessageVec3 | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Sensor_0_orientation | , |
MessageQuat | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | Sensor_1_orientation | , |
MessageQuat | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | ScaleDAArea | , |
MessageInt | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | SwitchTool | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | SwitchRenderingMethod | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | QuickLoad | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | QuickSave | , |
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_INPUT | ( | ExternalDeactivation | , |
MessageObjectID | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_REQUEST_INPUT | ( | Sensor_1_actionMain | , |
MessageBool | , | ||
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::METHOD_REQUEST_INPUT | ( | Sensor_0_actionMain | , |
MessageBool | , | ||
MessageBool | , | ||
DAEnvironment | |||
) |
APDYNAMICART::__pad0__ |
APDYNAMICART::colorGenAdapter |
APDYNAMICART::crossSectionAdapter |
APDYNAMICART::diamGenAdapt |
const unsigned int APDYNAMICART::NOT_FOUND = -1 |
Selector tool.
Creates sectors to be coloredConstants
std::string APDYNAMICART::saveFileNameBase = "da_scene#" |