|
void | CreateCustomCulture () |
|
void | SetWaterHeight (float fWaterHeight) |
|
void | SetWaterOn (bool on) |
|
void | CreateWater () |
|
void | CreateDetailTextures () |
|
void | CreatePast () |
|
void | CreatePresent () |
|
void | CreateFuture () |
|
void | SetParamFile (const char *fname) |
|
bool | LoadParams () |
|
vtString | GetParamFile () |
|
void | SetParams (const TParams &Params) |
|
TParams & | GetParams () |
|
void | SetName (const vtString &str) |
|
vtString | GetName () |
|
void | SetLocalGrid (vtElevationGrid *pGrid, bool bPreserve) |
|
void | SetTin (vtTin3d *pTin) |
|
vtTin3d * | GetTin () |
|
bool | GetGeoExtentsFromMetadata () |
|
void | SetBothSides (bool bFlag) |
| pass true to draw the underside of the terrain as well
|
|
void | CreateStep0 () |
|
bool | CreateStep1 () |
|
bool | CreateStep2 (vtTransform *pSunLight, vtLightSource *pLightSource) |
|
bool | CreateStep3 () |
|
bool | CreateStep4 () |
|
bool | CreateStep5 () |
|
vtString | GetLastError () |
|
void | SetProgressCallback (ProgFuncPtrType progress_callback=NULL) |
|
bool | ProgressCallback (int i) |
|
void | SetTextureColors (ColorMap *colors) |
| Set the colors to be used in a derived texture. More...
|
|
ColorMap * | GetTextureColors () |
|
void | SetTextureContours (float fInterval, float fSize) |
| Sets the texture colors to be a set of black contour stripes. More...
|
|
virtual void | PaintDib (bool progress_callback(int)=NULL) |
|
bool | IsCreated () |
| Return true if the terrain has been created.
|
|
void | Enable (bool bVisible) |
| Set the enabled state of the terrain (whether it is shown or not).
|
|
vtTransform * | LoadModel (const char *filename, bool bAllowCache=true) |
| Load an external geometry file. More...
|
|
void | addNode (osg::Node *pNode) |
| Add a model (or any node) to the terrain. More...
|
|
void | removeNode (osg::Node *pNode) |
| Remove a node from the terrain's scene graph. More...
|
|
void | PlantModel (vtTransform *model) |
| Place a model on the terrain. More...
|
|
void | PlantModelAtPoint (vtTransform *model, const DPoint2 &pos) |
| Place a model on the terrain at a specific point. More...
|
|
bool | PointIsInTerrain (const DPoint2 &p) |
| Test whether a given point is within the current terrain. More...
|
|
void | SetGlobalProjection () |
|
bool | AddFence (vtFence3d *f) |
|
void | AddFencepoint (vtFence3d *f, const DPoint2 &epos) |
|
void | RedrawFence (vtFence3d *f) |
|
void | AddRoute (vtRoute *f) |
|
void | add_routepoint_earth (vtRoute *f, const DPoint2 &epos, const char *structname) |
|
void | RedrawRoute (vtRoute *f) |
|
void | SaveRoute () |
|
vtRoute * | GetLastRoute () |
|
vtRouteMap & | GetRouteMap () |
|
LayerSet & | GetLayers () |
| Get at the container for all the layers.
|
|
void | RemoveLayer (vtLayer *lay, bool progress_callback(int)=NULL) |
|
vtLayer * | LoadLayer (const char *fname) |
|
bool | AddPlant (const DPoint2 &pos, int iSpecies, float fSize) |
|
int | DeleteSelectedPlants () |
|
void | SetPlantList (vtSpeciesList3d *pPlantList) |
|
vtSpeciesList3d * | GetPlantList () |
|
vtPlantInstanceArray3d & | GetPlantInstances () |
| Get the plant array for this terrain. You can modify it directly.
|
|
bool | AddNodeToVegGrid (osg::Node *pNode) |
|
vtStructureLayer * | GetStructureLayer () |
|
void | SetStructureLayer (vtStructureLayer *slay) |
|
vtStructureLayer * | NewStructureLayer () |
|
vtStructureLayer * | LoadStructuresFromXML (const vtString &strFilename) |
|
void | CreateStructures (vtStructureArray3d *structures) |
|
bool | CreateStructure (vtStructureArray3d *structures, int index) |
|
int | DeleteSelectedStructures () |
|
void | DeleteLayer (uint index) |
|
bool | FindClosestStructure (const DPoint2 &point, double epsilon, int &structure, double &closest, float fMaxInstRadius, float fLinearWidthBuffer) |
|
bool | AddNodeToStructGrid (osg::Node *pNode) |
|
void | RemoveNodeFromStructGrid (osg::Node *pNode) |
|
vtLodGrid * | GetStructureGrid () |
|
int | DoStructurePaging () |
|
vtPagedStructureLodGrid * | GetStructureLodGrid () |
|
float | GetStructurePageOutDistance () |
|
void | SetStructurePageOutDistance (float f) |
|
int | GetStructurePageMax () |
|
void | ExtendStructure (vtStructure *s) |
|
void | SetStructureExtension (vtStructureExtension *se=NULL) |
|
void | SetAbstractLayer (vtAbstractLayer *alay) |
|
vtAbstractLayer * | GetAbstractLayer () |
|
void | RemoveFeatureGeometries (vtAbstractLayer *alay) |
|
int | DeleteSelectedFeatures () |
|
void | SetFeatureLoader (vtFeatureLoader *loader) |
|
vtTransform * | GetScaledFeatures () |
|
vtRoadMap3d * | GetRoadMap () |
|
void | AddEngine (vtEngine *pE) |
|
void | ActivateEngines (bool bActive) |
|
vtEngine * | GetEngineGroup () |
|
FPoint3 | GetCenter () |
|
float | GetRadius () |
|
void | SetFeatureVisible (TFType ftype, bool bOn) |
|
bool | GetFeatureVisible (TFType ftype) |
|
void | SetLODDistance (TFType ftype, float fDistance) |
|
float | GetLODDistance (TFType ftype) |
|
void | SetVerticalExag (float fExag) |
|
float | GetVerticalExag () const |
|
vtDynTerrainGeom * | GetDynTerrain () |
|
const vtDynTerrainGeom * | GetDynTerrain () const |
|
vtTiledGeom * | GetTiledGeom () |
|
vtGroup * | GetTopGroup () |
|
vtGroup * | GetTerrainGroup () |
|
vtHeightField3d * | GetHeightField () |
|
vtHeightFieldGrid3d * | GetHeightFieldGrid3d () |
|
vtProjection & | GetProjection () |
|
virtual bool | FindAltitudeOnCulture (const FPoint3 &p3, float &fAltitude, bool bTrue, int iCultureFlags) const |
|
int | GetShadowTextureUnit () |
|
float | AddSurfaceLineToMesh (vtGeomFactory *pMF, const DLine2 &line, float fOffset, bool bInterp=true, bool bCurve=false, bool bTrue=false) |
|
void | SetCamLocation (FMatrix4 &mat) |
|
FMatrix4 & | GetCamLocation () |
|
vtLocationSaver * | GetLocSaver () |
|
void | Visited (bool bVisited) |
|
bool | IsVisited () |
|
vtAnimContainer * | GetAnimContainer () |
| Access the animation paths associated with this terrain.
|
|
void | SetWaterLevel (float fElev) |
|
void | SetFog (bool fog) |
|
bool | GetFog () |
|
void | SetFogColor (const RGBf &color) |
|
void | SetFogDistance (float fMeters) |
|
void | SetBgColor (const RGBf &color) |
|
RGBf | GetBgColor () |
|
void | SetShadows (bool shadows) |
|
bool | GetShadows () |
|
void | SetShadowOptions (const vtShadowOptions &opt) |
|
void | GetShadowOptions (vtShadowOptions &opt) |
|
void | ForceShadowUpdate () |
|
vtTime | GetInitialTime () |
|
void | TranslateToGMT (vtTime &time) |
|
void | TranslateFromGMT (vtTime &time) |
|
DPoint2 | GetCenterGeoLocation () |
|
vtGroup * | GetOverlay () |
|
void | ActivateScenario (int iScenario) |
|
vtElevationGrid * | GetInitialGrid () |
|
void | UpdateElevation () |
|
void | RedrapeCulture (const DRECT &area) |
|
void | RecreateTextures (vtTransform *pSunLight, bool progress_callback(int)=NULL) |
|
osg::Image * | GetTextureImage () |
|
vtMultiTexture * | AddMultiTextureOverlay (vtImage *pImage, const DRECT &extents, int TextureMode) |
|
osg::Node * | GetTerrainSurfaceNode () |
|
|
bool | CreateFromTIN () |
|
bool | CreateFromGrid () |
|
bool | CreateFromTiles () |
|
bool | CreateFromExternal () |
|
void | _CreateCulture () |
|
void | _CreateVegetation () |
|
void | _CreateStructures () |
|
void | _CreateRoads () |
|
void | _SetupVegGrid (float fLODDistance) |
|
void | _SetupStructGrid (float fLODDistance) |
|
void | _CreateAbstractLayers () |
|
void | _CreateImageLayers () |
|
void | _CreateTextures (const FPoint3 &light_dir, bool progress_callback(int)=NULL) |
|
void | _CreateDetailTexture () |
|
bool | _CreateDynamicTerrain () |
|
void | _CreateErrorMessage (DTErr error, vtElevationGrid *pGrid) |
|
void | _SetErrorMessage (const vtString &msg) |
|
void | CreateArtificialHorizon (float fAltitude, bool bWater, bool bHorizon, bool bCenter) |
|
void | _ApplyPreLight (vtHeightFieldGrid3d *pLocalGrid, vtBitmapBase *dib, const FPoint3 &light_dir, bool progress_callback(int)=NULL) |
|
void | _ComputeCenterLocation () |
|
void | GetTerrainBounds () |
|
void | EnforcePageOut () |
|
void | ConnectFogShadow (bool bFog, bool bShadow) |
|
vtGroupPtr | m_pContainerGroup |
|
vtGroupPtr | m_pTerrainGroup |
|
vtGroupPtr | m_pUnshadowedGroup |
|
vtDynTerrainGeomPtr | m_pDynGeom |
|
vtTransformPtr | m_pDynGeomScale |
|
float | m_fVerticalExag |
|
vtTin3dPtr | m_pTin |
|
vtTiledGeomPtr | m_pTiledGeom |
|
osg::ref_ptr
< vtExternalHeightField3d > | m_pExternalHeightField |
|
TParams | m_Params |
|
vtHeightField3d * | m_pHeightField |
|
bool | m_bPreserveInputGrid |
|
FMatrix4 | m_CamLocation |
|
bool | m_bVisited |
|
vtLocationSaver | m_LocSaver |
|
vtAnimContainer | m_AnimContainer |
|
vtFogPtr | m_pFog |
|
vtShadowPtr | m_pShadow |
|
vtMovGeodePtr | m_pHorizonGeom |
|
vtMovGeodePtr | m_pOceanGeom |
|
bool | m_bFog |
|
RGBf | m_fog_color |
|
RGBf | m_background_color |
|
bool | m_bShadows |
|
vtTin3dPtr | m_pWaterTin3d |
|
LayerSet | m_Layers |
|
vtStructureLayer * | m_pActiveStructLayer |
|
vtLodGrid * | m_pStructGrid |
|
vtPagedStructureLodGrid * | m_pPagedStructGrid |
|
int | m_iPagingStructureMax |
|
float | m_fPagingStructureDist |
|
vtMaterialArrayPtr | m_pTerrMats |
|
vtMaterialArrayPtr | m_pDetailMats |
|
vtMaterialArrayPtr | m_pEphemMats |
|
int | m_idx_water |
|
int | m_idx_horizon |
|
bool | m_bBothSides |
|
vtAbstractLayer * | m_pActiveAbstractLayer |
|
vtTransform * | m_pScaledFeatures |
|
vtFeatureLoader * | m_pFeatureLoader |
|
vtGroup * | m_pRoadGroup |
|
vtRoadMap3dPtr | m_pRoadMap |
|
vtPlantInstanceArray3d | m_PIA |
|
vtSpeciesList3d * | m_pPlantList |
|
vtGroup * | m_pVegGroup |
|
vtSimpleLodGrid * | m_pVegGrid |
|
vtRouteMap | m_Routes |
|
ImagePtr | m_pUnshadedImage |
|
ImagePtr | m_pSingleImage |
|
auto_ptr< ColorMap > | m_pTextureColors |
|
bool | m_bTextureInitialized |
|
vtTextureUnitManager | m_TextureUnits |
|
int | m_iShadowTextureUnit |
|
vtLightSource * | m_pLightSource |
|
FSphere | m_bound_sphere |
|
RGBf | m_ocean_color |
|
vtString | m_strParamFile |
|
vtEnginePtr | m_pEngineGroup |
|
auto_ptr< vtElevationGrid > | m_pElevGrid |
|
DPoint2 | m_CenterGeoLocation |
|
int | m_iDifferenceFromGMT |
|
vtString | m_strErrorMsg |
|
vtGroup * | m_pOverlay |
|
vtProjection | m_proj |
|
bool | m_bIsCreated |
|