Mesh: Apply clang-format

This commit is contained in:
wmayer
2023-09-23 00:29:09 +02:00
committed by wwmayer
parent 4e328682d9
commit 15b11bc360
78 changed files with 4221 additions and 3294 deletions

View File

@@ -36,45 +36,45 @@ class SoPath;
class SoLocateHighlight;
class SoTransformerManip;
namespace Gui {
class View3DInventorViewer;
namespace Gui
{
class View3DInventorViewer;
}
namespace MeshGui {
namespace MeshGui
{
/** Like Mesh viewprovider but with manipulator
*/
class ViewProviderMeshTransform : public ViewProviderMesh
class ViewProviderMeshTransform: public ViewProviderMesh
{
PROPERTY_HEADER_WITH_OVERRIDE(MeshGui::ViewProviderMeshTransform);
PROPERTY_HEADER_WITH_OVERRIDE(MeshGui::ViewProviderMeshTransform);
public:
ViewProviderMeshTransform();
~ViewProviderMeshTransform() override;
ViewProviderMeshTransform();
~ViewProviderMeshTransform() override;
/**
* Extracts the mesh data from the feature \a pcFeature and creates
* an Inventor node \a SoNode with these data.
*/
void attach(App::DocumentObject *) override;
/**
* Extracts the mesh data from the feature \a pcFeature and creates
* an Inventor node \a SoNode with these data.
*/
void attach(App::DocumentObject*) override;
/// set the viewing mode
void setDisplayMode(const char* ModeName) override;
/// get the default display mode
const char* getDefaultDisplayMode() const override;
/// returns a list of all possible modes
std::vector<std::string> getDisplayModes() const override;
/// Update the Mesh representation
void updateData(const App::Property*) override;
/// set the viewing mode
void setDisplayMode(const char* ModeName) override;
/// get the default display mode
const char* getDefaultDisplayMode() const override;
/// returns a list of all possible modes
std::vector<std::string> getDisplayModes() const override;
/// Update the Mesh representation
void updateData(const App::Property*) override;
protected:
SoTransformerManip *pcTransformerDragger;
SoTransformerManip* pcTransformerDragger;
};
} // namespace MeshGui
} // namespace MeshGui
#endif // MESHGUI_VIEWPROVIDERMESHTRANSFORM_H
#endif // MESHGUI_VIEWPROVIDERMESHTRANSFORM_H