Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,20 @@ class OglTetrahedralModel< gpu::cuda::CudaVectorTypes<TCoord,TDeriv,TReal> > : p

public:
OglTetrahedralModel();
virtual ~OglTetrahedralModel();
virtual ~OglTetrahedralModel() override;

void init();
void drawTransparent(const core::visual::VisualParams*);
bool addBBox(SReal* minBBox, SReal* maxBBox);
void init() override;
void drawTransparent(const core::visual::VisualParams*) override;
bool addBBox(SReal* minBBox, SReal* maxBBox) override;

void handleTopologyChange()
void handleTopologyChange() override
{
needUpdateTopology = true;
}

void updateVisual()
void doUpdateVisual(const core::visual::VisualParams* vparams) override
{
SOFA_UNUSED(vparams);
//if (!getContext()->getShowVisualModels()) return;
updateTopology();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define VOLUMETRICRENDERING_VERSION @PROJECT_VERSION@

#ifdef SOFA_BUILD_VOLUMETRICRENDERING
# define SOFA_TARGET VolumetricRendering
# define SOFA_TARGET @PROJECT_NAME@
# define SOFA_VOLUMETRICRENDERING_API SOFA_EXPORT_DYNAMIC_LIBRARY
#else
# define SOFA_VOLUMETRICRENDERING_API SOFA_IMPORT_DYNAMIC_LIBRARY
Expand Down