25 #if GEOM_PSEUDO3D==GEOM_TRUE
26 namespace GEOM_FADE25D {
73 std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter);
127 bool go(
bool bWithMessages=
true);
150 CutAndFillImpl* pCAFI;
165 #elif GEOM_PSEUDO3D==GEOM_FALSE
167 #error GEOM_PSEUDO3D is not defined
VtkColor
Enumeration of colors used by the VTKWriter.
Definition: VtkWriter.h:39
CAF_Component stands for CUT AND FILL COMPONENT. It represents a connected area of the surface.
Definition: CAF_Component.h:59
CutAndFill computes the volume(s) between two overlapping surfaces.
Definition: CutAndFill.h:44
void subscribe(MsgType msgType, MsgBase *pMsg)
Register a progress bar object.
CAF_Component * getComponent(size_t ith) const
Get component ith.
bool getDiffZone(Zone2 *&pDiffZone, std::map< Point2 *, std::pair< double, double > > &mVtx2BeforeAfter)
Get the difference zone.
bool go(bool bWithMessages=true)
Start the computation.
void showVtk(VtkWriter *pVtkWriter, VtkColor cutColor, VtkColor fillColor, VtkColor nullColor) const
Visualize using a VTKWriter.
void show(Visualizer2 *pVis) const
Draw a postscript visualization.
void unsubscribe(MsgType msgType, MsgBase *pMsg)
Unregister a progress bar object.
size_t getNumberOfComponents() const
Get the number of components.
CutAndFill(Zone2 *pZoneBefore, Zone2 *pZoneAfter, double ignoreThreshold=1e-6)
Constructor.
MsgBase, a base class for message subscriber classes.
Definition: MsgBase.h:47
Point.
Definition: Point2.h:53
Visualizer2 is a PDF- and Postscript writer.
Definition: Visualizer2.h:55
A writer for the VTK file format.
Definition: VtkWriter.h:62
**
Definition: Zone2.h:99