Workspace 6.21.5
|
Represents an item that has been 'picked' (interactively selected) in a scene. More...
#include <Rendering/SceneInteraction/pickeditem.h>
Public Types | |
enum class | GlyphTargetType { Node , Element } |
enum | PickType { RegionPick , NamePick } |
Public Member Functions | |
PickedItem () | |
PickedItem (const QString &modelId, const QString &itemName, const QString &opIdPath, const Mesh::Vector3d &pickWorldCoords, const Mesh::TransformMatrix &worldTransform, const Mesh::BoundingBox &worldBoundingBox, Mesh::MeshModelLibrary &library, bool isSymbol=false, PickType type=RegionPick) | |
unsigned | getElementIndex () const |
const QString & | getItemName () const |
Mesh::MeshModelLibrary & | getMeshModelLibrary () const |
const QString & | getModelId () const |
const QString & | getOpIdPath () const |
PickType | getPickType () const |
const Mesh::Vector3d & | getPickWorldCoords () const |
const QDateTime & | getTimeOfPick () const |
const Mesh::BoundingBoxMinimal & | getWorldBoundingBox () const |
const Mesh::TransformMatrix & | getWorldTransform () const |
bool | isGlyph () const |
bool | isSymbol () const |
bool | isValid () const |
void | setElementIndex (unsigned index) |
void | setIsGlyph (bool b, GlyphTargetType targetType) |
This class represents a selected item in a scene. It contains just enough information to allow Scene visualisation widgets to display information or perform actions on the specific item.
|
strong |
enum PickType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |