42 lines
907 B
C
42 lines
907 B
C
|
#ifndef CCS_AISSHAPE_H
|
||
|
#define CCS_AISSHAPE_H
|
||
|
#include "Stdafx.h"
|
||
|
#include <AIS_Shape.hxx>
|
||
|
#include "OCC/OCCLib/Geometry.h"
|
||
|
|
||
|
//class CCS_AISShape:public AIS_Shape
|
||
|
class CCS_AISShape
|
||
|
{
|
||
|
public:
|
||
|
Standard_EXPORT CCS_AISShape(const TopoDS_Shape& shape);
|
||
|
CCS_AISShape();
|
||
|
public:
|
||
|
void set_CCS_Shape_Id(int id);
|
||
|
int get_CCS_Shape_Id();
|
||
|
|
||
|
void set_CCS_Shape_Type(int type);
|
||
|
void set_CCS_Shape_LodFactor(double lodFactor);
|
||
|
|
||
|
void set_CCS_Visible(bool visible);
|
||
|
bool get_CCS_Visible();
|
||
|
|
||
|
Handle_AIS_Shape get_RealAisShape();
|
||
|
void set_RealAisShape(Handle_AIS_Shape aisshape);
|
||
|
protected:
|
||
|
Handle_AIS_Shape realAisShape;
|
||
|
int CCS_Shape_Id;
|
||
|
int CCS_Shape_Type;
|
||
|
double CCS_Shape_LodFactor;
|
||
|
bool CCS_Visible;
|
||
|
};
|
||
|
|
||
|
class CCS_AISShape630:public AIS_Shape
|
||
|
{
|
||
|
public:
|
||
|
Standard_EXPORT CCS_AISShape630(const TopoDS_Shape& shape);
|
||
|
//Standard_EXPORT CCS_AISShape630();
|
||
|
public:
|
||
|
int CCS_ID;
|
||
|
OccAisVar CCS_var;
|
||
|
};
|
||
|
#endif
|