|
| void | CreateCustomCulture () |
| |
| void | PaintDib (bool progress_callback(int)=NULL) |
| |
|
vtGeode * | make_test_cone () |
| |
|
vtGeode * | make_red_cube () |
| |
|
void | create_state_park () |
| |
|
void | create_airports () |
| |
|
void | create_telescopes () |
| |
|
void | create_building_manually () |
| |
|
void | do_test_code () |
| |
|
void | create_airplanes (float fSpeed) |
| |
|
void | create_airplane (int i, float fSpeed) |
| |
| 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...
|
| |
|
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 () |
| |
A specific vtTerrain implementation which exists to hold a variety of test code.