25 #if GEOM_PSEUDO3D==GEOM_TRUE
26 namespace GEOM_FADE25D {
85 std::map<
Point2*,std::pair<double,double> >& mVtx2BeforeAfter);
148 bool go(
bool bWithMessages=
true);
180 CutAndFillImpl* pCAFI;
195 #elif GEOM_PSEUDO3D==GEOM_FALSE
197 #error GEOM_PSEUDO3D is not defined
MsgType
Message types for the message system.
Definition: MsgBase.h:40
VtkColor
Enumeration of colors used by the VTKWriter class to represent various colors in the VTK file format.
Definition: VtkWriter.h:39
CAF_Component represents a connected area of the surface.
Definition: CAF_Component.h:63
Computes the volume differences between two overlapping surfaces.
Definition: CutAndFill.h:48
void subscribe(MsgType msgType, MsgBase *pMsg)
Registers a message receiver object to receive progress updates.
bool getDiffZone(Zone2 *&pDiffZone, std::map< Point2 *, std::pair< double, double > > &mVtx2BeforeAfter)
Retrieves the difference zone between the two surfaces.
bool go(bool bWithMessages=true)
Starts the computation of the cut and fill volumes.
void showVtk(VtkWriter *pVtkWriter, VtkColor cutColor, VtkColor fillColor, VtkColor nullColor) const
Visualizes the result as a .VTK file.
void show(Visualizer2 *pVis) const
Draws a postscript or PDF visualization of the result.
void unsubscribe(MsgType msgType, MsgBase *pMsg)
Unregisters a message receiver object.
size_t getNumberOfComponents() const
Get the number of components.
CAF_Component * getComponent(size_t idx) const
Retrieves the component at the specified index.
CutAndFill(Zone2 *pZoneBefore, Zone2 *pZoneAfter, double ignoreThreshold=1e-6)
Constructor.
MsgBase, a base class for message subscriber classes.
Definition: MsgBase.h:55
Represents a 2.5D point.
Definition: Point2.h:61
A PDF and Postscript Writer for 2D Visualization.
Definition: Visualizer2.h:60
A class for writing data to the VTK file format for visualization purposes.
Definition: VtkWriter.h:76
Represents a defined area within a triangulation.
Definition: Zone2.h:82