Contains DtAreaFacadeBase class. Facade base for constructing area objects.
|
| | DtAreaFacadeBase (makVrv::DtAgentManagerInterface &, makVrv::DtSceneObjectAgent *agent, makVrv::DtElementID id, makVrv::DtModelSetId modelSet) |
| |
| | DtAreaFacadeBase (makVrv::DtAgentManagerInterface &, makVrv::DtModelSetId modelSet, makVrv::DtElementID id, bool distribute=false) |
| |
| virtual | ~DtAreaFacadeBase () |
| |
| virtual void | setModelDefinition (const std::string &) |
| |
| virtual void | setColor (float r, float g, float b, float a) |
| |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| |
| virtual void | setSelectedOutsideColor (float r, float g, float b, float a) |
| |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| |
| virtual void | setSelectedInsideColor (float r, float g, float b, float a) |
| |
| virtual void | setLineWidth (int) |
| |
| virtual void | setFill (bool) |
| |
| virtual void | setFillPattern (makVrv::vrvTacticalGraphicUtilities::FillStyle) |
| |
| virtual void | setPoints (const std::vector< DtVector > &, const DtVector &withOffset=DtVector::zero()) |
| |
| virtual void | addPoint (int index, const DtVector &) |
| |
| virtual void | setSelected (bool) |
| |
| virtual bool | selected () |
| |
| virtual void | removePoint (int) |
| |
| virtual void | setStipplePattern (int) |
| |
| virtual void | resetOrigin () |
| |
| virtual void | setOrigin (const DtVector &) |
| |
| virtual const DtVector & | origin () const |
| |
| virtual void | setScribed (bool) |
| |
| virtual void | setPoint (int iIndex, const DtVector &) |
| |
| virtual void | setSolid (bool) |
| |
| virtual void | setVisible (bool) |
| |
| virtual void | setPickable (bool) |
| |
virtual const std::vector
< DtVector > & | points () const |
| |
| virtual makVrv::DtUniqueID | uniqueId () const |
| |
| virtual makVrv::DtElementID | elementId () const |
| |
| virtual makVrv::DtModelSetId | modelSet () const |
| |
| makVrv::DtSceneObjectAgent * | sceneObjectAgent () const |
| |
| makVrv::DtPolygonModelAgent * | polygonModelAgent () const |
| |
| virtual void | updateColors ()=0 |
| |
Constructor that will take an existing scene object agent.
Will create a new scene object agent for the given model set and element id.
| virtual makVrf::DtAreaFacadeBase::~DtAreaFacadeBase |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtAreaFacadeBase::setModelDefinition |
( |
const std::string & |
| ) |
|
|
virtual |
Sets the model definition for the model.
| virtual void makVrf::DtAreaFacadeBase::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
Sets the color for the area. This will apply to all segments of the area.
| virtual void makVrf::DtAreaFacadeBase::setOutsideColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
| virtual void makVrf::DtAreaFacadeBase::setSelectedOutsideColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
Sets the selected outside color. This color is used if the object is selected.
Reimplemented in makVrf::Dt3DAreaFacade.
| virtual void makVrf::DtAreaFacadeBase::setInsideColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
Sets inside color (fill) if available.
| virtual void makVrf::DtAreaFacadeBase::setSelectedInsideColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
Sets the selected inside color.
| virtual void makVrf::DtAreaFacadeBase::setLineWidth |
( |
int |
| ) |
|
|
virtual |
| virtual void makVrf::DtAreaFacadeBase::setFill |
( |
bool |
| ) |
|
|
virtual |
Sets whether or not to fill area. If fill style of line is specified, will override this flag.
Sets the fill pattern for the area. Note that this will also set the fill to be true if the fill pattern is one that will map to a valid fill pattern. This will be implemented by sub-classes as this feature is subclass specific.
Reimplemented in makVrf::Dt2DAreaFacade.
| virtual void makVrf::DtAreaFacadeBase::setPoints |
( |
const std::vector< DtVector > & |
, |
|
|
const DtVector & |
withOffset = DtVector::zero() |
|
) |
| |
|
virtual |
Sets the points for the area. If withOffset is specified, the offset is added to the supplied points.
| virtual void makVrf::DtAreaFacadeBase::addPoint |
( |
int |
index, |
|
|
const DtVector & |
|
|
) |
| |
|
virtual |
Adds a point to the area. Returns the index of the newly added point. Index of -1 will append.
| virtual void makVrf::DtAreaFacadeBase::setSelected |
( |
bool |
| ) |
|
|
virtual |
Sets the area to be selected.
| virtual bool makVrf::DtAreaFacadeBase::selected |
( |
| ) |
|
|
virtual |
Get the current selected state.
| virtual void makVrf::DtAreaFacadeBase::removePoint |
( |
int |
| ) |
|
|
virtual |
Removes a point from the area.
| virtual void makVrf::DtAreaFacadeBase::setStipplePattern |
( |
int |
| ) |
|
|
virtual |
Sets the pattern for the line portion of the area.
| virtual void makVrf::DtAreaFacadeBase::resetOrigin |
( |
| ) |
|
|
virtual |
Once the origin is set it cannot be changed, unless this method is called first. Call resetOrigin to make a future call to setOrigin reset the origin.
| virtual void makVrf::DtAreaFacadeBase::setOrigin |
( |
const DtVector & |
| ) |
|
|
virtual |
Sets the origin of the area.
| virtual const DtVector& makVrf::DtAreaFacadeBase::origin |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtAreaFacadeBase::setScribed |
( |
bool |
| ) |
|
|
virtual |
Sets whether or not line is scribed. Default is to do nothing. Implemented by subclasses that support line scribing.
Reimplemented in makVrf::Dt3DAreaFacade.
| virtual void makVrf::DtAreaFacadeBase::setPoint |
( |
int |
iIndex, |
|
|
const DtVector & |
|
|
) |
| |
|
virtual |
Sets position in the area. If index is not within the current bound of the number of points then no action is taken.
| virtual void makVrf::DtAreaFacadeBase::setSolid |
( |
bool |
| ) |
|
|
virtual |
| virtual void makVrf::DtAreaFacadeBase::setVisible |
( |
bool |
| ) |
|
|
virtual |
| virtual void makVrf::DtAreaFacadeBase::setPickable |
( |
bool |
| ) |
|
|
virtual |
| virtual const std::vector<DtVector>& makVrf::DtAreaFacadeBase::points |
( |
| ) |
const |
|
virtual |
Returns the points in this area.
Returns the unique id of the scene object agent.
Returns the element id of the scene object agent.
| makVrv::DtSceneObjectAgent* makVrf::DtAreaFacadeBase::sceneObjectAgent |
( |
| ) |
const |
Returns the scene object agent associated with this facade.
| makVrv::DtPolygonModelAgent* makVrf::DtAreaFacadeBase::polygonModelAgent |
( |
| ) |
const |
Returns the polygon model agent created for this class.
| virtual void makVrf::DtAreaFacadeBase::updateColors |
( |
| ) |
|
|
pure virtual |
| makVrv::DtPolygonModelAgent* makVrf::DtAreaFacadeBase::myArea |
|
protected |
| makVrv::DtSceneObjectAgent* makVrf::DtAreaFacadeBase::mySceneObjectAgent |
|
protected |
| bool makVrf::DtAreaFacadeBase::myOwnsSceneObjectAgent |
|
protected |
| float makVrf::DtAreaFacadeBase::myOutsideColor[4] |
|
protected |
| float makVrf::DtAreaFacadeBase::myInsideColor[4] |
|
protected |
| float makVrf::DtAreaFacadeBase::mySelectedOutsideColor[4] |
|
protected |
| float makVrf::DtAreaFacadeBase::mySelectedInsideColor[4] |
|
protected |
| bool makVrf::DtAreaFacadeBase::mySelectedInsideColorSet |
|
protected |
| int makVrf::DtAreaFacadeBase::myLineWidth |
|
protected |
| bool makVrf::DtAreaFacadeBase::myFill |
|
protected |
| std::vector<DtVector> makVrf::DtAreaFacadeBase::myControlPoints |
|
protected |
| bool makVrf::DtAreaFacadeBase::myOriginSet |
|
protected |
| DtVector makVrf::DtAreaFacadeBase::myOrigin |
|
protected |
| bool makVrf::DtAreaFacadeBase::mySelected |
|
protected |
| bool makVrf::DtAreaFacadeBase::myScribed |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/vrfGuiCore/areaFacadeBase.h