![]() |
VR-Forces 5.0.2 Developer's Guide
|
Configuration for a single channel Serialized and sent to remote displays as necessary to configure remote channels.

Public Types | |
| enum | ProjectionUnits { NoUnits, FieldOfViewAngles, DatabaseUnits } |
| enum | ProjectionResizePolicy { FIXED = 0, HORIZONTAL, VERTICAL, NONE } |
| enum | NearFarClipPolicy { NEAR_FAR_FIXED, NEAR_FAR_DYNAMIC_REDUCE_NEAR_CLIP, NEAR_FAR_DYNAMIC_REDUCE_Z_FIGHT, NEAR_FAR_DYNAMIC_NEAR_CLIP_MAG_CLAMP } |
| enum | DynamicNearClipAttachedObjectPolicy { IGNORE_ATTACHED = 0, FIXED_NEAR_CLIP_ATTACHED, DISTANCE_TO_ATTACHED } |
Public Types inherited from makVrv::DtConfiguration | |
| typedef std::map< std::string, std::string > | ParameterMap |
Public Member Functions | |
| DtChannelConfiguration (const std::string &name=DefaultChannelString) | |
| DtChannelConfiguration (const DtChannelConfiguration &) | |
| DtChannelConfiguration & | operator= (const DtChannelConfiguration &) |
| virtual | ~DtChannelConfiguration () |
| virtual void | setParentChannel (const std::string &displayName, const std::string &windowName, const std::string &channelName) |
| virtual void | getParentChannel (std::string &displayEngineNameOut, std::string &windowNameOut, std::string &channelNameOut) const |
| virtual void | setProjection (ProjectionUnits units, double left, double right, double bottom, double top, double zNear, double zFar) |
| virtual void | getProjection (ProjectionUnits &units, double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const |
| virtual ProjectionUnits | projectionUnits () const |
| virtual void | setProjectionUnits (ProjectionUnits units) |
| virtual void | getClearColor (float &r, float &g, float &b, float &a) const |
| virtual void | setClearColor (float r, float g, float b, float a) |
| virtual void | setCameraPositionOffset (double x, double y, double z) |
| virtual void | getCameraPositionOffset (double &x, double &y, double &z) const |
| virtual void | setCameraOrientationOffset (double psi, double theta, double phi) |
| virtual void | getCameraOrientationOffset (double &psi, double &theta, double &phi) const |
| virtual void | getViewport (double &left, double &right, double &bottom, double &top) const |
| virtual void | setViewport (double left, double right, double bottom, double top) |
| virtual const std::string & | observerName () const |
| virtual void | setObserverName (const std::string &observerName) |
| virtual const std::string & | sensorName () const |
| virtual void | setSensorName (const std::string &sensorName) |
| virtual ProjectionResizePolicy | projectionResizePolicy () const |
| virtual void | setProjectionResizePolicy (ProjectionResizePolicy policy) |
| virtual double | cameraMagnification () const |
| virtual void | setCameraMagnification (double mag) |
| virtual void | setNearFarClipPolicy (NearFarClipPolicy policy) |
| virtual NearFarClipPolicy | nearFarClipPolicy () const |
| virtual void | setZFightReductionRatio (double ratio) |
| virtual double | zFightReductionRatio () const |
| virtual void | setDynamicNearClipAttachedObjectPolicy (DynamicNearClipAttachedObjectPolicy useAttached) |
| virtual DynamicNearClipAttachedObjectPolicy | dynamicNearClipAttachedObjectPolicy () const |
| virtual void | setAltitudeForUseAttachedNearClip (double altitude) |
| virtual double | altitudeForUseAttachedNearClip () const |
| virtual void | setNearClipWhenAttached (double distance) |
| virtual double | nearClipWhenAttached () const |
| virtual void | setDynamicWaterVisibilityEnable (bool enable) |
| virtual bool | dynamicWaterVisibilityEnable () const |
| virtual void | setDynamicWaterVisibilityMax (double visMax) |
| virtual double | dynamicWaterVisibilityMax () const |
| virtual void | setRenderOrder (int order) |
| virtual int | renderOrder () const |
| virtual double | minZNear (double value) const |
| virtual void | setMinZNear (double value) |
| virtual float | pixelRatio () const |
| virtual void | setPixelRatio (float ratio) |
| virtual void | setHorizontalFlip (bool flipped) |
| virtual bool | horizontalFlip () const |
Public Member Functions inherited from makVrv::DtConfiguration | |
| DtConfiguration (const std::string &name="") | |
| DtConfiguration (const DtConfiguration &) | |
| DtConfiguration & | operator= (const DtConfiguration &) |
| virtual | ~DtConfiguration () |
| virtual const std::string & | name () const |
| virtual void | setName (const std::string &name) |
| virtual const std::string * | findOptionalParameter (const std::string &name) const |
| virtual void | setOptionalParameter (const std::string &name, const std::string &value) |
| virtual void | setOptionalParameters (const ParameterMap &) |
| virtual void | removeOptionalParameter (const std::string &name) |
| const ParameterMap & | optionalParameters () const |
Public Member Functions inherited from makVrv::DtKeywordMixin | |
| DtKeywordMixin () | |
| virtual | ~DtKeywordMixin () |
| virtual void | addKeyword (const std::string &keyword) |
| virtual void | removeKeyword (const std::string &keyword) |
| virtual void | clearKeywords () |
| virtual const std::set < std::string > & | keywords () const |
| virtual bool | findKeywords (const std::set< std::string > &) const |
| virtual bool | findKeyword (const std::string &word) const |
Static Public Attributes | |
| static const char * | DefaultChannelString |
| static const char * | UseObserverSensorString |
Protected Member Functions | |
| template<class Archive > | |
| void | _serialize (Archive &ar, const unsigned int version) |
Protected Member Functions inherited from makVrv::DtConfiguration | |
| template<class Archive > | |
| void | _serialize (Archive &ar, const unsigned int version) |
| makVrv::DtChannelConfiguration::DtChannelConfiguration | ( | const std::string & | name = DefaultChannelString | ) |
CTOR The default channel configuration.
| makVrv::DtChannelConfiguration::DtChannelConfiguration | ( | const DtChannelConfiguration & | ) |
Copy CTOR.
|
virtual |
DTOR.
| DtChannelConfiguration& makVrv::DtChannelConfiguration::operator= | ( | const DtChannelConfiguration & | ) |
Assignment operator.
|
virtual |
Set the parent channel that this channel's camera will be "locked" to.
|
virtual |
Get the parent channel that this channel's camera will be "locked" to.
|
virtual |
Set projection.
|
virtual |
Get projection.
|
virtual |
ProjectionUnits accessor.
|
virtual |
ProjectionUnits setter.
|
virtual |
Get the clear color. Each color will be between [0 - 1] inclusively.
|
virtual |
Set the clear color. Each color should be between [0 - 1] inclusively.
|
virtual |
Set the camera position offset.
|
virtual |
Get the camera position offset.
|
virtual |
Set the camera orientation offset.
|
virtual |
Get the camera orientation offset.
|
virtual |
Get the viewport. Values are percentages of the window's dimensions.
|
virtual |
Set the viewport. Values are percentages of the window's dimensions.
|
virtual |
Get the observer name.
|
virtual |
Set the observer name.
|
virtual |
Get the sensor name.
|
virtual |
Set the sensor name.
|
virtual |
ProjectionResizePolicy accessor.
|
virtual |
ProjectionResizePolicy setter.
|
virtual |
Get the 3D camera's magnification for this channel.
|
virtual |
Set the 3D camera's magnification for this channel (default is 1.0)
|
virtual |
When using dynamic near/far clipping planes, optimize for z fighting reduction (keeping the near/far ratio small if true. If false, use the original scheme which tried to keep the near clipping plane as small as reasonable.
|
virtual |
Get whether dynamic near/far clipping is using z-fighting reduction.
|
virtual |
When using z-fighting reduction, set the ratio that we attempt to maintain.
|
virtual |
Get the near/far ratio used when dynamic near/far clipping is using z-fighting reduction.
|
virtual |
When dynamic clipping planes is enabled, consider attached objects above a specified altitude when calculating the near clipping plane.
|
virtual |
Get whether attached objects are considered for calculating the near clipping plane.
|
virtual |
Specify the altitude to use when considering attached objects when calculating the near clipping plane.
|
virtual |
Get the altitude being used when considering attached objects when calculating the near clipping plane.
|
virtual |
Set the near clipping distance used when attached, useAttachedForNearClip is true, and useFixedNearClipWhenAttached is true.
|
virtual |
Get the near clipping distance used when attached, useAttachedForNearClip is true, and useFixedNearClipWhenAttached is true.
|
virtual |
Set dynamic water visibility, based on altitude. Water visibility will be scaled from its specified value at 0 alt to the max value specified.
|
virtual |
Get whether dynamic water is enabled.
|
virtual |
Set the maximum value to which water visibility will be set when dynamic water visibility is enabled.
|
virtual |
Get the maximum value to which water visibility will be set when dynamic water visibility is enabled.
|
virtual |
order number for this channel to render. Lower order numbered channels render first For DtOsgChannel this sets the channels scene and rtt camera's render orders.
|
virtual |
get the render order for this channel which is used to order the channels rendering.
get the minimum value to which the passed in z near value to setProjection gets automatically clamped to default value is 0.01
|
virtual |
set the minimum value to which the passed in z near value to setProjection gets automatically clamped to default value is 0.01
|
virtual |
get the pixel ratio for high dpi scaling
|
virtual |
set the pixel ratio for high dpi scaling default value is 1.0
|
virtual |
Set whether the channel is flipped horizontally.
|
virtual |
Get whether the channel is flipped horizontally.
|
inlineprotected |
Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive.
References DT_SERIALIZE_BASE, and DT_SERIALIZE_MEMBER.
|
static |
|
static |
Special sensor name that indicates this channel should use the sensor specified by its observer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Projection stuff.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |