dtHLAGM::DDMCameraCalculatorGeographic Class Reference

This calculator is intended for generating subscription regions based on the view of the camera. More...

#include <ddmcameracalculatorgeographic.h>

Inheritance diagram for dtHLAGM::DDMCameraCalculatorGeographic:

dtHLAGM::DDMCalculatorGeographic dtHLAGM::DDMAppSpaceCalculator dtHLAGM::DDMRegionCalculator dtCore::Base

List of all members.

Public Types

typedef
dtHLAGM::DDMCalculatorGeographic 
BaseClass

Public Member Functions

 DDMCameraCalculatorGeographic ()
void SetCamera (dtCore::Camera *camera)
 Sets the camera this calculator is using for generating the region.
dtCore::CameraGetCamera ()
 
Returns:
the camera this calculator is using for generating the region.

virtual bool UpdateRegionData (DDMRegionData &ddmData) const
 Updates the subscription region.
float GetXSubscriptionRange () const
 
Returns:
the length in the X direction around the camera the calculator should subscribe to.

void SetXSubscriptionRange (float range)
 Sets the length in the X direction the camera the calculator should subscribe to.
float GetYSubscriptionRange () const
 
Returns:
the length in the Y direction around the camera the calculator should subscribe to.

void SetYSubscriptionRange (float range)
 Sets the length in the Y direction the camera the calculator should subscribe to.
float GetMinTimeBetweenUpdates () const
 
Returns:
the minimum time between updates.

void SetMinTimeBetweenUpdates (float minTime)
 sets the minimum time between updates.

Static Public Attributes

static const std::string PROP_X_SUBSCRIPTION_RANGE
static const std::string PROP_Y_SUBSCRIPTION_RANGE
static const std::string PROP_MIN_TIME_BETWEEN_UPDATES

Protected Member Functions

virtual ~DDMCameraCalculatorGeographic ()
double FixLongitudeRange (double longitude) const


Detailed Description

This calculator is intended for generating subscription regions based on the view of the camera.

Member Typedef Documentation

typedef dtHLAGM::DDMCalculatorGeographic dtHLAGM::DDMCameraCalculatorGeographic::BaseClass

Reimplemented from dtHLAGM::DDMCalculatorGeographic.


Constructor & Destructor Documentation

dtHLAGM::DDMCameraCalculatorGeographic::DDMCameraCalculatorGeographic (  ) 

dtHLAGM::DDMCameraCalculatorGeographic::~DDMCameraCalculatorGeographic (  )  [protected, virtual]


Member Function Documentation

void dtHLAGM::DDMCameraCalculatorGeographic::SetCamera ( dtCore::Camera camera  ) 

Sets the camera this calculator is using for generating the region.

dtCore::Camera * dtHLAGM::DDMCameraCalculatorGeographic::GetCamera (  ) 

Returns:
the camera this calculator is using for generating the region.

bool dtHLAGM::DDMCameraCalculatorGeographic::UpdateRegionData ( DDMRegionData ddmData  )  const [virtual]

Updates the subscription region.

Parameters:
region the region to update.

Reimplemented from dtHLAGM::DDMCalculatorGeographic.

float dtHLAGM::DDMCameraCalculatorGeographic::GetXSubscriptionRange (  )  const [inline]

Returns:
the length in the X direction around the camera the calculator should subscribe to.

void dtHLAGM::DDMCameraCalculatorGeographic::SetXSubscriptionRange ( float  range  ) 

Sets the length in the X direction the camera the calculator should subscribe to.

float dtHLAGM::DDMCameraCalculatorGeographic::GetYSubscriptionRange (  )  const [inline]

Returns:
the length in the Y direction around the camera the calculator should subscribe to.

void dtHLAGM::DDMCameraCalculatorGeographic::SetYSubscriptionRange ( float  range  ) 

Sets the length in the Y direction the camera the calculator should subscribe to.

float dtHLAGM::DDMCameraCalculatorGeographic::GetMinTimeBetweenUpdates (  )  const [inline]

Returns:
the minimum time between updates.

void dtHLAGM::DDMCameraCalculatorGeographic::SetMinTimeBetweenUpdates ( float  minTime  ) 

sets the minimum time between updates.

double dtHLAGM::DDMCameraCalculatorGeographic::FixLongitudeRange ( double  longitude  )  const [protected]


Member Data Documentation

const std::string dtHLAGM::DDMCameraCalculatorGeographic::PROP_X_SUBSCRIPTION_RANGE [static]

const std::string dtHLAGM::DDMCameraCalculatorGeographic::PROP_Y_SUBSCRIPTION_RANGE [static]

const std::string dtHLAGM::DDMCameraCalculatorGeographic::PROP_MIN_TIME_BETWEEN_UPDATES [static]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008