ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cvSelectionPropertiesWidget Class Reference

Comprehensive selection properties and management widget. More...

#include <cvSelectionPropertiesWidget.h>

Inheritance diagram for cvSelectionPropertiesWidget:
Collaboration diagram for cvSelectionPropertiesWidget:

Classes

struct  SavedSelection
 Saved selection entry for Selection Editor. More...
 

Signals

void highlightColorChanged (double r, double g, double b, int mode)
 
void highlightOpacityChanged (double opacity, int mode)
 
void expressionChanged (const QString &expression)
 
void activateCombinedSelectionsRequested ()
 
void selectionAdded (const cvSelectionData &selection)
 
void selectionRemoved (int index)
 
void allSelectionsRemoved ()
 
void freezeSelectionRequested ()
 
void extractSelectionRequested ()
 
void extractedObjectReady (ccHObject *obj)
 
void plotOverTimeRequested ()
 
void invertSelectionRequested ()
 
void findDataRequested (const QString &dataProducer, const QString &elementType, const QString &attribute, const QString &op, const QString &value)
 
void algebraOperationRequested (int operation)
 
void bookmarkRequested (const QString &name)
 
void annotationRequested (const QString &text)
 

Public Member Functions

 cvSelectionPropertiesWidget (QWidget *parent=nullptr)
 
 ~cvSelectionPropertiesWidget () override
 
void setHighlighter (cvSelectionHighlighter *highlighter)
 
void setSelectionManager (cvViewSelectionManager *manager)
 
void syncUIWithHighlighter ()
 
bool updateSelection (const cvSelectionData &selectionData, vtkPolyData *polyData=nullptr)
 
void clearSelection ()
 
const cvSelectionDataselectionData () const
 
cvViewSelectionManagerselectionManager () const
 
void setDataProducerName (const QString &name)
 Set the data producer name (source of selection) More...
 
void refreshDataProducers ()
 Refresh the data producer combo box Call this when data sources change (e.g., after loading new data) More...
 
- Public Member Functions inherited from cvSelectionBase
 cvSelectionBase ()
 
virtual ~cvSelectionBase ()=default
 
virtual void setVisualizer (ecvGenericVisualizer3D *viewer)
 Set the visualizer instance. More...
 
ecvGenericVisualizer3DgetVisualizer () const
 Get the visualizer instance. More...
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
- Protected Member Functions inherited from cvSelectionBase
PclUtils::PCLVisgetPCLVis () const
 Get PCLVis instance (for VTK-specific operations) More...
 
bool hasValidPCLVis () const
 Check if visualizer is valid and is PCLVis. More...
 
vtkDataSet * getDataFromActor (vtkActor *actor)
 Get data object from a specific actor (ParaView-style) More...
 
QList< vtkActor * > getDataActors () const
 Get all visible data actors from visualizer. More...
 
std::vector< vtkPolyData * > getAllPolyDataFromVisualizer ()
 Get all polyData from the visualizer. More...
 
virtual vtkPolyData * getPolyDataForSelection (const cvSelectionData *selectionData=nullptr)
 Get polyData using ParaView-style priority (centralized method) More...
 

Additional Inherited Members

- Protected Attributes inherited from cvSelectionBase
ecvGenericVisualizer3Dm_viewer
 Visualizer instance (abstract interface) More...
 

Detailed Description

Comprehensive selection properties and management widget.

Based on ParaView's Find Data panel with:

  • pqFindDataSelectionDisplayFrame (Selection Display)
  • pqSelectionEditor (Selection Editor)
  • pqFindDataCurrentSelectionFrame (Selected Data spreadsheet)

Layout:

  1. Selected Data header with action buttons
  2. Selection Display (collapsible) - labels, colors, label properties
  3. Selection Editor (collapsible) - data producer, expression, saved selections
  4. Selected Data table (spreadsheet view with attributes)

Definition at line 71 of file cvSelectionPropertiesWidget.h.

Constructor & Destructor Documentation

◆ cvSelectionPropertiesWidget()

cvSelectionPropertiesWidget::cvSelectionPropertiesWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 125 of file cvSelectionPropertiesWidget.cpp.

References CVLog::PrintVerbose().

◆ ~cvSelectionPropertiesWidget()

cvSelectionPropertiesWidget::~cvSelectionPropertiesWidget ( )
override

Definition at line 211 of file cvSelectionPropertiesWidget.cpp.

Member Function Documentation

◆ activateCombinedSelectionsRequested

void cvSelectionPropertiesWidget::activateCombinedSelectionsRequested ( )
signal

◆ algebraOperationRequested

void cvSelectionPropertiesWidget::algebraOperationRequested ( int  operation)
signal

◆ allSelectionsRemoved

void cvSelectionPropertiesWidget::allSelectionsRemoved ( )
signal

◆ annotationRequested

void cvSelectionPropertiesWidget::annotationRequested ( const QString &  text)
signal

◆ bookmarkRequested

void cvSelectionPropertiesWidget::bookmarkRequested ( const QString &  name)
signal

◆ clearSelection()

◆ eventFilter()

bool cvSelectionPropertiesWidget::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotected

◆ expressionChanged

void cvSelectionPropertiesWidget::expressionChanged ( const QString &  expression)
signal

◆ extractedObjectReady

void cvSelectionPropertiesWidget::extractedObjectReady ( ccHObject obj)
signal

◆ extractSelectionRequested

void cvSelectionPropertiesWidget::extractSelectionRequested ( )
signal

◆ findDataRequested

void cvSelectionPropertiesWidget::findDataRequested ( const QString &  dataProducer,
const QString &  elementType,
const QString &  attribute,
const QString &  op,
const QString &  value 
)
signal

◆ freezeSelectionRequested

void cvSelectionPropertiesWidget::freezeSelectionRequested ( )
signal

◆ highlightColorChanged

void cvSelectionPropertiesWidget::highlightColorChanged ( double  r,
double  g,
double  b,
int  mode 
)
signal

Referenced by setHighlighter().

◆ highlightOpacityChanged

void cvSelectionPropertiesWidget::highlightOpacityChanged ( double  opacity,
int  mode 
)
signal

Referenced by setHighlighter().

◆ invertSelectionRequested

void cvSelectionPropertiesWidget::invertSelectionRequested ( )
signal

◆ plotOverTimeRequested

void cvSelectionPropertiesWidget::plotOverTimeRequested ( )
signal

◆ refreshDataProducers()

void cvSelectionPropertiesWidget::refreshDataProducers ( )

Refresh the data producer combo box Call this when data sources change (e.g., after loading new data)

Definition at line 5438 of file cvSelectionPropertiesWidget.cpp.

Referenced by cvFindDataDockWidget::refreshDataProducers(), and cvFindDataDockWidget::showEvent().

◆ resizeEvent()

void cvSelectionPropertiesWidget::resizeEvent ( QResizeEvent *  event)
overrideprotected

Definition at line 268 of file cvSelectionPropertiesWidget.cpp.

References event.

◆ selectionAdded

void cvSelectionPropertiesWidget::selectionAdded ( const cvSelectionData selection)
signal

◆ selectionData()

const cvSelectionData& cvSelectionPropertiesWidget::selectionData ( ) const
inline

Definition at line 98 of file cvSelectionPropertiesWidget.h.

Referenced by updateSelection().

◆ selectionManager()

cvViewSelectionManager* cvSelectionPropertiesWidget::selectionManager ( ) const
inline

Definition at line 99 of file cvSelectionPropertiesWidget.h.

◆ selectionRemoved

void cvSelectionPropertiesWidget::selectionRemoved ( int  index)
signal

◆ setDataProducerName()

void cvSelectionPropertiesWidget::setDataProducerName ( const QString &  name)

Set the data producer name (source of selection)

Definition at line 5423 of file cvSelectionPropertiesWidget.cpp.

References name.

Referenced by updateSelection().

◆ setHighlighter()

◆ setSelectionManager()

◆ syncUIWithHighlighter()

◆ updateSelection()


The documentation for this class was generated from the following files: