NAME
RectangleRelativePositionList -
SYNOPSIS
#include <RectangleRelativePositionList.h>
Public Member Functions
void addRectangleRelativePosition (vector< Rectangle< float >
>::iterator itr, int numRect, float wdth, float hght, float x,
float y, list< RectangleRelativePosition >::iterator
itRectangleRelativePosition)
void allocateCoordinates ()
void stockOfTemporaryBestCoordinates (int bestPlaceInFirstSequence)
Detailed Description
This class is a list of structures of RectangleRelativePosition. It
enables the stocking of the first sequence of the even sequence made up
as we insert the new rectangles.
Member Function Documentation
void RectangleRelativePositionList::addRectangleRelativePosition (vector<
Rectangle< float > >::iterator itr, int numRect, float wdth, float
hght, float x, float y, list< RectangleRelativePosition >::iterator
itRectangleRelativePosition) Add a structure RectangleRelativePosition
to the list.
Authors: David Auber, Patrick Mary, Morgan Mathiaut from the LaBRI
Visualization Team Email : auber@tulip-software.org Last modification :
13/03/2009 This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
void RectangleRelativePositionList::allocateCoordinates () Modify the co-
ordinates of the Rectangles pointed by the fields RectangleIterator of
the elements of the list. These new co-ordinates are calculated from
the values of the fields rectangleLeftAbscissa and
rectangleLowOrdinate.
void RectangleRelativePositionList::stockOfTemporaryBestCoordinates (int
bestPlaceInFirstSequence) Stock the values of the fields
rectangleTemporaryLeftAbscissa and rectangleTemporaryLowOrdinate in the
fields rectangle TemporaryBestLeftAbscissa and
rectangleTemporaryBestLowOrdinate for all the elements of the list from
one position in the list.
Author
Generated automatically by Doxygen for Tulip Plugins Library from the
source code.