This class allow to display a OpenCASCADE CAD model in a VTK viewer.
#include <GEOM_OCCReader.h>

Public Member Functions | |
| const TopoDS_Shape & | getTopo () |
| void | setTopo (const TopoDS_Shape &ashape, bool isVector=false) |
| int | getDisplayMode () |
| void | setDisplayMode (int) |
| void | setForceUpdate (Standard_Boolean bol) |
Static Public Member Functions | |
| static GEOM_OCCReader * | New () |
Protected Member Functions | |
| GEOM_OCCReader () | |
| ~GEOM_OCCReader () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
| void | ComputeShading (vtkPoints *Pts, vtkCellArray *Cells) |
| void | ComputeWireframe (vtkPoints *Pts, vtkCellArray *Cells) |
| void | TransferFaceSData (const TopoDS_Face &aFace, vtkPoints *Pts, vtkCellArray *Cells) |
| void | TransferFaceWData (const TopoDS_Face &aFace, vtkPoints *Pts, vtkCellArray *Cells) |
| void | TransferEdgeSData (const TopoDS_Edge &aEdge, vtkPoints *Pts, vtkCellArray *Cells) |
| void | TransferEdgeWData (const TopoDS_Edge &aEdge, vtkPoints *Pts, vtkCellArray *Cells) |
| void | TransferVertexWData (const TopoDS_Vertex &aVertex, vtkPoints *Pts, vtkCellArray *Cells) |
| void | createISO (const TopoDS_Face &, int, vtkPoints *Pts, vtkCellArray *Cells) |
| void | createIsos (const GEOMUtils::Hatcher &theHatcher, const Standard_Boolean IsUIso, Standard_Integer &pt_start_idx, vtkPoints *Pts, vtkCellArray *Cell) |
| void | DrawIso (GeomAbs_IsoType aType, Standard_Real PParm, Standard_Real p1, Standard_Real p2, vtkPoints *Pts, vtkCellArray *Cells, Standard_Integer &startidx) |
| void | MoveTo (gp_Pnt P, vtkPoints *Pts) |
| void | DrawTo (gp_Pnt P, vtkPoints *Pts, vtkCellArray *Cells) |
| void | PlotIso (BRepAdaptor_Surface &S, GeomAbs_IsoType T, Standard_Real &U, Standard_Real &V, Standard_Real Step, Standard_Boolean &halt, vtkPoints *Pts, vtkCellArray *Cells) |
Private Attributes | |
| Standard_Boolean | forced |
| int | discretiso |
| int | amode |
| int | nbisos |
| TopoDS_Shape | myShape |
| bool | myIsVector |
|
protected |
References amode, discretiso, forced, and nbisos.
|
protected |
|
protected |
References myShape, TransferEdgeSData(), and TransferFaceSData().
|
protected |
References myShape, TransferEdgeWData(), TransferFaceWData(), and TransferVertexWData().
|
protected |
|
protected |
|
protected |
|
protected |
References lastVTKpoint.
| int GEOM_OCCReader::getDisplayMode | ( | ) |
References amode.
| const TopoDS_Shape & GEOM_OCCReader::getTopo | ( | ) |
References myShape.
|
protected |
References lastVTKpoint.
|
static |
References GEOM_OCCReader().
|
protected |
References DrawTo(), IsoRatio, MaxPlotCount, and PlotCount.
|
protectedvirtual |
References amode, ComputeShading(), ComputeWireframe(), Handle(), myShape, and NULL.
| void GEOM_OCCReader::setDisplayMode | ( | int | thenewmode | ) |
References amode.
| void GEOM_OCCReader::setForceUpdate | ( | Standard_Boolean | bol | ) |
References forced.
| void GEOM_OCCReader::setTopo | ( | const TopoDS_Shape & | ashape, |
| bool | isVector = false |
||
| ) |
References myIsVector, and myShape.
|
protected |
|
protected |
References anAngle, Handle(), and myIsVector.
|
protected |
References Handle().
|
protected |
References createISO().
|
protected |
References ZERO_COORD.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |