Aimsun Next Scripting: GDrawer Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
GDrawer Class Reference
Inheritance diagram for GDrawer:
G2DDrawer G2DViewLayer

Public Member Functions

 GDrawer ()
 
virtual GKGeoObjectgetModel () const
 
virtual const GKBBoxgetBBox () const
 
void hide (bool v)
 
virtual bool isHidden (GView *view) const
 

Detailed Description

GDrawer class contains the object to draw and the current object tick, which tells the view that the current object must be redrawn or not

Constructor & Destructor Documentation

◆ GDrawer()

GDrawer::GDrawer ( )

Member Function Documentation

◆ getBBox()

virtual const GKBBox & GDrawer::getBBox ( ) const
virtual

Returns the current bounding box of this object that have been calculated using the update geometry call. The base implementation returns the bbox set in setDefaultBBox.

◆ getModel()

virtual GKGeoObject * GDrawer::getModel ( ) const
virtual

Returns the object to draw.

◆ hide()

void GDrawer::hide ( bool  v)

Make this object not visible in the "view".

◆ isHidden()

virtual bool GDrawer::isHidden ( GView view) const
virtual

Is this object visible or not in the "view"?

© Aimsun SLU
Aimsun ®