Developer Documentation
Loading...
Searching...
No Matches
SplatCloudSelection.hh File Reference

Functions for selection on a SplatCloud. More...

#include <ObjectTypes/SplatCloud/SplatCloud.hh>
#include <vector>

Go to the source code of this file.

Functions

Vertex Selection
void SplatCloudSelection::selectVertices (SplatCloud *_splatCloud, const std::vector< int > &_vertices)
 Select given vertices.
 
void SplatCloudSelection::unselectVertices (SplatCloud *_splatCloud, const std::vector< int > &_vertices)
 Unselect given vertices.
 
void SplatCloudSelection::selectAllVertices (SplatCloud *_splatCloud)
 Select all vertices.
 
void SplatCloudSelection::clearVertexSelection (SplatCloud *_splatCloud)
 Unselect all vertices.
 
void SplatCloudSelection::invertVertexSelection (SplatCloud *_splatCloud)
 Invert vertex selection.
 
std::vector< int > SplatCloudSelection::getVertexSelection (const SplatCloud *_splatCloud)
 Get current vertex selection.
 
std::vector< int > SplatCloudSelection::getVertexSelection (const SplatCloud *_splatCloud, bool &_inverted)
 Get current vertex selection. If _inverted is true, vector is inverted to save memory.
 

Detailed Description

Functions for selection on a SplatCloud.

Definition in file SplatCloudSelection.hh.

Function Documentation

◆ clearVertexSelection()

void SplatCloudSelection::clearVertexSelection ( SplatCloud _splatCloud)

Unselect all vertices.

Definition at line 156 of file SplatCloudSelection.cc.

◆ getVertexSelection() [1/2]

std::vector< int > SplatCloudSelection::getVertexSelection ( const SplatCloud _splatCloud)

Get current vertex selection.

Definition at line 217 of file SplatCloudSelection.cc.

◆ getVertexSelection() [2/2]

std::vector< int > SplatCloudSelection::getVertexSelection ( const SplatCloud _splatCloud,
bool &  _inverted 
)

Get current vertex selection. If _inverted is true, vector is inverted to save memory.

Definition at line 245 of file SplatCloudSelection.cc.

◆ invertVertexSelection()

void SplatCloudSelection::invertVertexSelection ( SplatCloud _splatCloud)

Invert vertex selection.

Definition at line 173 of file SplatCloudSelection.cc.

◆ selectAllVertices()

void SplatCloudSelection::selectAllVertices ( SplatCloud _splatCloud)

Select all vertices.

Definition at line 136 of file SplatCloudSelection.cc.

◆ selectVertices()

void SplatCloudSelection::selectVertices ( SplatCloud _splatCloud,
const std::vector< int > &  _vertices 
)

Select given vertices.

Definition at line 77 of file SplatCloudSelection.cc.

◆ unselectVertices()

void SplatCloudSelection::unselectVertices ( SplatCloud _splatCloud,
const std::vector< int > &  _vertices 
)

Unselect given vertices.

Definition at line 110 of file SplatCloudSelection.cc.