The ReferenceHighlighter class. More...
#include <ReferenceHighlighter.h>
Public Member Functions | |
| void | getEdgeColors (const std::vector< std::string > &elements, std::vector< App::Color > &colors) const |
| getEdgeColors More... | |
| void | getFaceColors (const std::vector< std::string > &elements, std::vector< App::Color > &colors) const |
| getFaceColors More... | |
| void | getVertexColors (const std::vector< std::string > &elements, std::vector< App::Color > &colors) const |
| getVertexColors More... | |
| ReferenceHighlighter (const TopoDS_Shape &shape, const App::Color &color) | |
| ReferenceHighlighter. More... | |
| void | setDefaultColor (const App::Color &c) |
| void | setElementColor (const App::Color &c) |
| void | setObjectColor (const App::Color &c) |
The ReferenceHighlighter class.
| ReferenceHighlighter::ReferenceHighlighter | ( | const TopoDS_Shape & | shape, |
| const App::Color & | color | ||
| ) |
| shape | The input shape. |
| color | The standard edge color. |
| void ReferenceHighlighter::getEdgeColors | ( | const std::vector< std::string > & | elements, |
| std::vector< App::Color > & | colors | ||
| ) | const |
getEdgeColors
| elements | The sub-element names. If this list is empty colors will be filled with the default color. |
| colors | The size of the colors array is equal to the number of edges of the shape |
Referenced by PartDesignGui::ViewProviderDressUp::highlightReferences(), and FemGui::ViewProviderFemConstraintOnBoundary::highlightReferences().
| void ReferenceHighlighter::getFaceColors | ( | const std::vector< std::string > & | elements, |
| std::vector< App::Color > & | colors | ||
| ) | const |
getFaceColors
| elements | The sub-element names. If this list is empty colors will be filled with the default color. |
| colors | The size of the colors array is equal to the number of faces of the shape |
Referenced by PartDesignGui::ViewProviderDressUp::highlightReferences(), and FemGui::ViewProviderFemConstraintOnBoundary::highlightReferences().
| void ReferenceHighlighter::getVertexColors | ( | const std::vector< std::string > & | elements, |
| std::vector< App::Color > & | colors | ||
| ) | const |
getVertexColors
| elements | The sub-element names. If this list is empty colors will be filled with the default color. |
| colors | The size of the colors array is equal to the number of vertexes of the shape |
Referenced by FemGui::ViewProviderFemConstraintOnBoundary::highlightReferences().
| void PartGui::ReferenceHighlighter::setDefaultColor | ( | const App::Color & | c | ) |
| void PartGui::ReferenceHighlighter::setElementColor | ( | const App::Color & | c | ) |
| void PartGui::ReferenceHighlighter::setObjectColor | ( | const App::Color & | c | ) |