#ifndef manualViewPoints_h #define manualViewPoints_h #include "manualViewBaseContour.h" #include "manualViewPoint.h" #include // -------------------------------------------------------------------------------------------- // Class that includes the functionality to manage some selected points like a new contour // @author RaC 09-09 class creaMaracasVisu_EXPORT manualViewPoints: public manualViewBaseContour { //--------------------------------------------------- // PUBLIC METHODS & ATTS //--------------------------------------------------- public: // // Class Constructor // manualViewPoints(); // // Method to copy all attributes to the clone object references by parameter // @param *cloneObject - manualViewPoints Clone object /// void CopyAttributesTo( manualViewPoints *cloneObject ); //--------------------------------------------------- // PUBLIC & VIRTUAL METHODS & ATTS //--------------------------------------------------- /// // Class Destructor. Delete all elements in points copy list /// virtual ~manualViewPoints(); // // Method to clone a manualViewPoints object // virtual manualViewPoints * Clone(); // // Returns the contour type // Points Contour type := 7 // @return type - int // virtual int GetType(); // // Returns true if the point with the (x,y,z) window coordinates touch the contour // @param x - int // @param y - int // @param z - int // @return true if touch contour, false otherwise // virtual bool ifTouchContour(int x,int y, int z); // // Refresh control points with the specified color, calls the RefreshContour method // and render the contour // virtual void Refresh(); // // Refresh contour. In this case, it synchronizes the copy list with the control points list in order // to paint the point actors in the position assigned in the model points list // virtual void RefreshContour(); // // Removes actor of the contour points, but no the control points. // virtual void RemoveSplineActor(); // // Adds actor of the contour points, but no the control points. // virtual void AddSplineActor(); // // Constructs VTKObjects. Only initializes text actor // virtual void ConstructVTKObjects(); // // To move all the contour // //virtual void MoveContour(int x, int y, int z); //--------------------------------------------------- // PRIVATE METHODS & ATTS //--------------------------------------------------- private: // // Copy of the control points list. These are the points which are painted when the // contour is not selected // std::vector _copyViewPoints; }; #endif // manualViewPoints_h