namespace shared overview

Included by: zmodeler.h

Description

shared namespace provides some shared interfaces which perform routines that do not relates to ZModeler's internal work, but are commonly used by plugins implementations. These are not considered as helpers, since these interfaces are a part of ZModeler which is always available.

Obtaining and providing shared interfaces.

Another purpose of this namespace is to extend ZModeler functionality with shared implementation. You can declared some shared interface that others might wish to use and implement it in your plugin. To make interface available to other plugins, you can use core::IRepository::holdSharedInterface method. Others can access these shared interfaces with core::IRepository::getSharedInterface method call. This is how you can get currently available shared interfaces which follows.

Interfaces

ICrypt Basic cryptography interface for encrypting/decrypting data. For example, in most of filters implementations file info (comment and locking) is encrypted.
IGeometryConvertion Helper interface for converting polygonal geomtry from QUAD-based to TRI-based and vice versa. Currently unused.
INodeListControl This interface implements a core::ui::controls::IListControl which displays scene nodes by some conditions.
ISubsetFormer This interface is used to make subset based on scene, viewport and current parameters.
IUVNodeSwitcher Helper interface implements switching of scene nodes (and subset nodes) from default scene to UV-View scene. Thus, your tools should not bother which view and scene you are editing. This helper interface is mostly used by VIEWPORT_UVMAPPER viewport to ensure that UV Mapper displays and allows to edit UV-nodes for certain material only.
See Also:
References overview
IRepository::holdSharedInterface method
IRepository::getSharedInterface method