#include <TdkLayoutObject.h>
Inheritance diagram for TdkLayoutObject:
Public Member Functions | |
TdkLayoutObject (std::string name, TeBox &bBox) | |
TdkLayoutObject (TdkLayoutObject &object) | |
virtual TdkLayoutObject * | copy ()=0 |
virtual void | insert (TeDatabase *driver, std::string layoutName)=0 |
virtual void | load (TeDatabase *driver, std::string layoutName)=0 |
virtual void | update (TeDatabase *driver, std::string layoutName)=0 |
virtual void | remove (TeDatabase *driver, std::string layoutName)=0 |
virtual void | translate (double dx, double dy) |
virtual void | scale (double sx, double sy, int fixedPoint) |
virtual void | rotate (double angle, TeCoord2D &fixedCoord) |
virtual void | rotateZero () |
virtual TeCoord2D | fixedCoord (int fixedPoint) |
virtual int | boxPoint (TeCoord2D &coord) |
virtual void | scaleFactor (TeBox &box, double &sx, double &sy, int boxPoint) |
virtual void | rotateAngle (TeBox &box, double &angle, int fixedPoint) |
virtual TdkMouseCursor | mouseCursor (TeCoord2D &coord) |
virtual void | setName (std::string name) |
virtual std::string | getName () |
virtual void | setBBox (TeBox &bbox) |
virtual TeBox & | getBBox () |
virtual void | updateBBox ()=0 |
virtual void | setVisual (TdkVisual *visual)=0 |
virtual TdkVisual * | getVisual ()=0 |
virtual std::string | getType () |
virtual TdkTemplateObject * | createTemplate () |
virtual std::string | getTemplateName () |
virtual void | setHasBorder (bool hasBorder) |
virtual bool | getHasBorder () |
virtual TdkLayoutObjectPropertiesEvent * | createPropertiesEvent () |
virtual void | viewport2Window (TdkDisplay *display, double vx, double vy, double &mx, double &my) |
virtual void | window2Viewport (TdkDisplay *display, double mx, double my, double &vx, double &vy) |
virtual TeBox | getWindow () |
virtual TeBox | getViewport () |
virtual void | setWindow (double xmin, double ymin, double xmax, double ymax) |
virtual void | draw (TdkDisplay *display) |
Protected Member Functions | |
virtual void | drawFill (TdkDisplay *display)=0 |
virtual void | drawBorder (TdkDisplay *display) |
virtual void | drawSelectedFeedback (TdkDisplay *display) |
virtual void | drawTransformObjectFeedback (TdkDisplay *display, TdkMathMatrix *transformationMatrix) |
virtual void | findWindow (TdkDisplay *display)=0 |
virtual void | getClipPoly (TePolygon &poly) |
virtual bool | isOutOfPage () |
virtual void | handleVSEvent (TdkEvent &event) |
virtual void | handleVSEvent (TdkRedrawEvent &event) |
virtual void | handleVSEvent (TdkSelectedFeedbackEvent &event) |
virtual void | handleVSEvent (TdkPickEvent &event) |
virtual void | handleVSEvent (TdkSelectObjectsEvent &event) |
virtual void | handleVSEvent (TdkSelectObjectToTransformEvent &event) |
virtual void | handleVSEvent (TdkSelectTransformationEvent &event) |
virtual void | handleVSEvent (TdkTranslateFeedbackEvent &event) |
virtual void | handleVSEvent (TdkScaleFeedbackEvent &event) |
Protected Attributes | |
std::string | name_ |
std::string | newName_ |
TeBox | bBox_ |
TeBox | window_ |
TeBox | viewport_ |
bool | hasBorder_ |
double | currentAngle_ |
TdkLayoutObject::TdkLayoutObject | ( | std::string | name, | |
TeBox & | bBox | |||
) |
TdkLayoutObject::TdkLayoutObject | ( | TdkLayoutObject & | object | ) |
virtual TdkLayoutObject* TdkLayoutObject::copy | ( | ) | [pure virtual] |
virtual void TdkLayoutObject::insert | ( | TeDatabase * | driver, | |
std::string | layoutName | |||
) | [pure virtual] |
virtual void TdkLayoutObject::load | ( | TeDatabase * | driver, | |
std::string | layoutName | |||
) | [pure virtual] |
virtual void TdkLayoutObject::update | ( | TeDatabase * | driver, | |
std::string | layoutName | |||
) | [pure virtual] |
virtual void TdkLayoutObject::remove | ( | TeDatabase * | driver, | |
std::string | layoutName | |||
) | [pure virtual] |
void TdkLayoutObject::translate | ( | double | dx, | |
double | dy | |||
) | [virtual] |
void TdkLayoutObject::scale | ( | double | sx, | |
double | sy, | |||
int | fixedPoint | |||
) | [virtual] |
void TdkLayoutObject::rotate | ( | double | angle, | |
TeCoord2D & | fixedCoord | |||
) | [virtual] |
void TdkLayoutObject::rotateZero | ( | ) | [virtual] |
TeCoord2D TdkLayoutObject::fixedCoord | ( | int | fixedPoint | ) | [virtual] |
int TdkLayoutObject::boxPoint | ( | TeCoord2D & | coord | ) | [virtual] |
Implements TdkEditableObject.
void TdkLayoutObject::scaleFactor | ( | TeBox & | box, | |
double & | sx, | |||
double & | sy, | |||
int | boxPoint | |||
) | [virtual] |
Implements TdkEditableObject.
void TdkLayoutObject::rotateAngle | ( | TeBox & | box, | |
double & | angle, | |||
int | fixedPoint | |||
) | [virtual] |
Implements TdkEditableObject.
TdkMouseCursor TdkLayoutObject::mouseCursor | ( | TeCoord2D & | coord | ) | [virtual] |
Implements TdkEditableObject.
void TdkLayoutObject::setName | ( | std::string | name | ) | [inline, virtual] |
std::string TdkLayoutObject::getName | ( | ) | [inline, virtual] |
void TdkLayoutObject::setBBox | ( | TeBox & | bbox | ) | [inline, virtual] |
Reimplemented in TdkGeographicLayoutObject, and TdkLayoutObjectCollection.
TeBox & TdkLayoutObject::getBBox | ( | ) | [inline, virtual] |
Reimplemented in TdkGeographicLayoutObject, and TdkLayoutObjectCollection.
virtual void TdkLayoutObject::updateBBox | ( | ) | [pure virtual] |
virtual void TdkLayoutObject::setVisual | ( | TdkVisual * | visual | ) | [pure virtual] |
Implemented in TdkApplicationLayoutObject, and TdkGeometricLayoutObject.
virtual TdkVisual* TdkLayoutObject::getVisual | ( | ) | [pure virtual] |
Implemented in TdkApplicationLayoutObject, TdkGeographicLayoutObject, TdkGeometricLayoutObject, and TdkLayoutObjectCollection.
std::string TdkLayoutObject::getType | ( | ) | [inline, virtual] |
Reimplemented in TdkApplicationLayoutObject, TdkDetailLayoutObject, TdkGeometricLayoutObject, TdkGeometricLineLayoutObject, TdkGeometricPointLayoutObject, TdkGeometricPolygonLayoutObject, TdkGeometricTextLayoutObject, TdkGraphicalScaleLayoutObject, TdkImageLayoutObject, TdkLegendLayoutObject, TdkMapLayoutObject, and TdkNorthLayoutObject.
TdkTemplateObject * TdkLayoutObject::createTemplate | ( | ) | [inline, virtual] |
std::string TdkLayoutObject::getTemplateName | ( | ) | [inline, virtual] |
Reimplemented in TdkApplicationLayoutObject, TdkDetailLayoutObject, TdkGeometricLayoutObject, TdkGeometricLineLayoutObject, TdkGeometricPointLayoutObject, TdkGeometricPolygonLayoutObject, TdkGeometricTextLayoutObject, TdkGraphicalScaleLayoutObject, TdkImageLayoutObject, TdkLegendLayoutObject, TdkMapLayoutObject, TdkNorthLayoutObject, and TdkViewLayoutObject.
void TdkLayoutObject::setHasBorder | ( | bool | hasBorder | ) | [inline, virtual] |
bool TdkLayoutObject::getHasBorder | ( | ) | [inline, virtual] |
TdkLayoutObjectPropertiesEvent * TdkLayoutObject::createPropertiesEvent | ( | ) | [inline, virtual] |
Reimplemented in TdkMapLayoutObject.
void TdkLayoutObject::viewport2Window | ( | TdkDisplay * | display, | |
double | vx, | |||
double | vy, | |||
double & | mx, | |||
double & | my | |||
) | [virtual] |
Reimplemented in TdkGeometricLayoutObject.
void TdkLayoutObject::window2Viewport | ( | TdkDisplay * | display, | |
double | mx, | |||
double | my, | |||
double & | vx, | |||
double & | vy | |||
) | [virtual] |
Reimplemented in TdkGeometricLayoutObject.
TeBox TdkLayoutObject::getWindow | ( | ) | [inline, virtual] |
TeBox TdkLayoutObject::getViewport | ( | ) | [inline, virtual] |
void TdkLayoutObject::setWindow | ( | double | xmin, | |
double | ymin, | |||
double | xmax, | |||
double | ymax | |||
) | [inline, virtual] |
void TdkLayoutObject::draw | ( | TdkDisplay * | display | ) | [virtual] |
Reimplemented in TdkGeometricPointLayoutObject, and TdkMapLayoutObject.
virtual void TdkLayoutObject::drawFill | ( | TdkDisplay * | display | ) | [protected, pure virtual] |
void TdkLayoutObject::drawBorder | ( | TdkDisplay * | display | ) | [protected, virtual] |
void TdkLayoutObject::drawSelectedFeedback | ( | TdkDisplay * | display | ) | [protected, virtual] |
void TdkLayoutObject::drawTransformObjectFeedback | ( | TdkDisplay * | display, | |
TdkMathMatrix * | transformationMatrix | |||
) | [protected, virtual] |
virtual void TdkLayoutObject::findWindow | ( | TdkDisplay * | display | ) | [protected, pure virtual] |
Implemented in TdkApplicationLayoutObject, TdkDetailLayoutObject, TdkGeometricLayoutObject, and TdkMapLayoutObject.
void TdkLayoutObject::getClipPoly | ( | TePolygon & | poly | ) | [protected, virtual] |
Reimplemented in TdkGraphicalScaleLayoutObject, TdkImageLayoutObject, and TdkMapLayoutObject.
bool TdkLayoutObject::isOutOfPage | ( | ) | [protected, virtual] |
Reimplemented in TdkGeometricPointLayoutObject, and TdkGeometricTextLayoutObject.
void TdkLayoutObject::handleVSEvent | ( | TdkEvent & | event | ) | [protected, virtual] |
Reimplemented from TdkEventHandler.
Reimplemented in TdkGeometricLineLayoutObject, TdkGeometricPointLayoutObject, TdkGeometricPolygonLayoutObject, TdkGeometricTextLayoutObject, TdkImageLayoutObject, TdkMapLayoutObject, and TdkNorthLayoutObject.
void TdkLayoutObject::handleVSEvent | ( | TdkRedrawEvent & | event | ) | [protected, virtual] |
void TdkLayoutObject::handleVSEvent | ( | TdkSelectedFeedbackEvent & | event | ) | [protected, virtual] |
Reimplemented in TdkGeometricPointLayoutObject.
void TdkLayoutObject::handleVSEvent | ( | TdkPickEvent & | event | ) | [protected, virtual] |
void TdkLayoutObject::handleVSEvent | ( | TdkSelectObjectsEvent & | event | ) | [protected, virtual] |
void TdkLayoutObject::handleVSEvent | ( | TdkSelectObjectToTransformEvent & | event | ) | [protected, virtual] |
void TdkLayoutObject::handleVSEvent | ( | TdkSelectTransformationEvent & | event | ) | [protected, virtual] |
void TdkLayoutObject::handleVSEvent | ( | TdkTranslateFeedbackEvent & | event | ) | [protected, virtual] |
void TdkLayoutObject::handleVSEvent | ( | TdkScaleFeedbackEvent & | event | ) | [protected, virtual] |
Reimplemented in TdkApplicationLayoutObject, TdkGeometricLineLayoutObject, TdkGeometricPolygonLayoutObject, and TdkMapLayoutObject.
std::string TdkLayoutObject::name_ [protected] |
std::string TdkLayoutObject::newName_ [protected] |
TeBox TdkLayoutObject::bBox_ [protected] |
Reimplemented in TdkGeographicLayoutObject, and TdkLayoutObjectCollection.
TeBox TdkLayoutObject::window_ [protected] |
TeBox TdkLayoutObject::viewport_ [protected] |
bool TdkLayoutObject::hasBorder_ [protected] |
double TdkLayoutObject::currentAngle_ [protected] |