Enviro application
Public Member Functions | Public Attributes | List of all members
IslandTerrain Class Reference
Inheritance diagram for IslandTerrain:
Inheritance graph
[legend]

Public Member Functions

 IslandTerrain ()
 
void CreateCustomCulture ()
 
vtGeodemake_test_cone ()
 
vtGeodemake_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)
 
- Public Member Functions inherited from vtTerrain
void SetParamFile (const char *fname)
 
void SetParams (const TParams &Params)
 
TParamsGetParams ()
 
void SetLocalGrid (vtElevationGrid *pGrid, bool bPreserve)
 
void SetTin (vtTin3d *pTin)
 
bool GetGeoExtentsFromMetadata ()
 
bool CreateStep2 ()
 
bool CreateStep3 (vtTransform *pSunLight, vtLightSource *pLightSource)
 
bool CreateStep4 ()
 
bool CreateStep5 ()
 
void CreateStep6 ()
 
void SetTextureContours (float fInterval, float fSize)
 
void SetTextureColorMap (ColorMap *colors)
 
bool IsCreated ()
 
void Enable (bool bVisible)
 
vtTransformLoadModel (const char *filename, bool bAllowCache=true)
 
void addNode (osg::Node *pNode)
 
void removeNode (osg::Node *pNode)
 
void PlantModel (vtTransform *model)
 
void PlantModelAtPoint (vtTransform *model, const DPoint2 &pos)
 
bool PointIsInTerrain (const DPoint2 &p)
 
LayerSetGetLayers ()
 
vtVegLayerNewVegLayer ()
 
bool AddPlant (vtVegLayer *v_layer, const DPoint2 &pos, int iSpecies, float fSize)
 
int DeleteSelectedPlants (vtVegLayer *v_layer)
 
void SetSpeciesList (vtSpeciesList3d *pSpeciesList)
 
bool AddNodeToVegGrid (osg::Node *pNode)
 
vtStructureLayerGetStructureLayer () const
 
vtStructureLayerNewStructureLayer ()
 
int DeleteSelectedStructures (vtStructureLayer *st_layer)
 
bool AddNodeToStructGrid (osg::Node *pNode)
 
void RemoveNodeFromStructGrid (osg::Node *pNode)
 
virtual void OnCreateBehavior (vtStructure *s)
 
vtAbstractLayerNewAbstractLayer ()
 
vtAbstractLayerGetAbstractLayer ()
 
vtTransformGetScaledFeatures ()
 
vtImageLayerNewImageLayer ()
 
void AddEngine (vtEngine *pE)
 
FPoint3 GetCenter ()
 
float GetRadius ()
 
vtHeightField3dGetHeightField () const
 
vtHeightFieldGrid3dGetHeightFieldGrid3d ()
 
vtAnimContainer * GetAnimContainer ()
 
void SetFog (bool fog)
 
void SetFogColor (const RGBf &color)
 
void SetFogDistance (float fMeters)
 
void SetShadows (bool shadows)
 
void SetShadowOptions (const vtShadowOptions &opt)
 
vtTime GetInitialTime ()
 
void TranslateToGMT (vtTime &time)
 
void TranslateFromGMT (vtTime &time)
 
void UpdateElevation ()
 
void RedrapeCulture (const DRECT &area)
 
void ReshadeTexture (vtTransform *pSunLight, bool progress_callback(int)=NULL)
 
osg::Image * GetTextureImage ()
 
void RecreateTexture (vtTransform *pSunLight, bool progress_callback(int)=NULL)
 

Public Attributes

vtStructureArray3dm_pSA
 

Additional Inherited Members

- Protected Member Functions inherited from vtTerrain
void CreateWaterPlane ()
 

Detailed Description

A specific vtTerrain implementation which exists to hold a variety of test code.

Constructor & Destructor Documentation

IslandTerrain::IslandTerrain ( )

Member Function Documentation

void IslandTerrain::create_airplane ( int  i,
float  fSpeed 
)
void IslandTerrain::create_airplanes ( float  fSpeed)
void IslandTerrain::create_airports ( )
void IslandTerrain::create_building_manually ( )
void IslandTerrain::create_state_park ( )
void IslandTerrain::create_telescopes ( )
void IslandTerrain::CreateCustomCulture ( )
virtual

Reimplemented from vtTerrain.

void IslandTerrain::do_test_code ( )
vtGeode * IslandTerrain::make_red_cube ( )
vtGeode * IslandTerrain::make_test_cone ( )

Member Data Documentation

vtStructureArray3d* IslandTerrain::m_pSA