#include <AIS_InteractiveContext.hxx>
#include <AIS_TexturedShape.hxx>
-#include <HYDROData_Object.h>
+#include <HYDROData_Entity.h>
#include <QColor>
#include <QImage>
{
public:
HYDROGUI_Shape( const Handle(AIS_InteractiveContext)& theContext,
- const Handle(HYDROData_Object)& theObject );
+ const Handle(HYDROData_Entity)& theObject );
~HYDROGUI_Shape();
public:
virtual void highlight( bool theIsHighlight );
virtual bool isHighlighted() const;
- Handle(HYDROData_Object) getObject() const { return myObject; }
+ Handle(HYDROData_Entity) getObject() const { return myObject; }
virtual void update( const bool theIsUpdateViewer = true );
static double getQuantityColorVal( const int theColorVal );
void colorShapeBorder( const QColor& theColor );
- static QString generateTextureFileName( const Handle(HYDROData_Object)& theImageObj );
+ static QString generateTextureFileName( const Handle(HYDROData_Entity)& theImageObj );
void removeTextureFile() const;
static QImage reduceTexture( const QImage& theImage, const int theSizeLimit );
private:
Handle(AIS_InteractiveContext) myContext;
- Handle(HYDROData_Object) myObject;
+ Handle(HYDROData_Entity) myObject;
Handle(AIS_TexturedShape) myShape;
bool myIsToUpdate;