Package | Description |
---|---|
org.osm2world.core | |
org.osm2world.core.target |
export targets for the generated models
|
org.osm2world.core.target.common | |
org.osm2world.core.target.jogl | |
org.osm2world.core.target.obj |
target that creates Wavefront .obj and .mtl files
|
org.osm2world.core.target.povray |
target that creates .pov files for the POVRay raytracer
|
org.osm2world.core.target.statistics | |
org.osm2world.core.world.modules | |
org.osm2world.core.world.modules.common |
Modifier and Type | Method and Description |
---|---|
ConversionFacade.Results |
ConversionFacade.createRepresentations(File osmFile,
List<? extends WorldModule> worldModules,
Configuration config,
List<? extends Target<?>> targets)
performs all necessary steps to go from
an OSM file to the renderable
WorldObject s. |
ConversionFacade.Results |
ConversionFacade.createRepresentations(OSMData osmData,
List<? extends WorldModule> worldModules,
Configuration config,
List<? extends Target<?>> targets)
variant of
ConversionFacade.createRepresentations(File, List, Configuration, List)
that accepts OSMData instead of a file. |
Modifier and Type | Method and Description |
---|---|
static <R extends Renderable> |
TargetUtil.renderObject(Target<R> target,
Object object)
renders any object to a target instance
if it is a renderable compatible with that target type.
|
void |
RenderableToAllTargets.renderTo(Target<?> target) |
static <R extends Renderable> |
TargetUtil.renderWorldObjects(Target<R> target,
MapData mapData,
boolean renderUnderground)
render all world objects to a target instance
that are compatible with that target type
|
Modifier and Type | Method and Description |
---|---|
static <R extends RenderableToPrimitiveTarget> |
TargetUtil.renderWorldObjects(Iterator<? extends Target<R>> targetIterator,
MapData mapData,
int primitiveThresholdPerTarget)
render all world objects to a target instances
that are compatible with that target type.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTarget<R extends Renderable>
superclass for
Target implementations that defines some
of the required methods using others. |
class |
FaceTarget<R extends Renderable>
a target that relies on faces to represent geometry.
|
class |
PrimitiveTarget<R extends Renderable>
superclass for targets that are based on OpenGL primitives.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JOGLTarget |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJOGLTarget
Common implementation base for the new shader based
JOGLTargetShader and the old JOGLTargetFixedFunction |
class |
JOGLTargetFixedFunction
JOGL target using the old fixed function OpenGL pipeline.
|
class |
JOGLTargetShader |
class |
PrimitiveBuffer
Storage for low-level rendering information (vertex and primitive data)
that can be displayed using graphics APIs, e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjTarget |
Modifier and Type | Class and Description |
---|---|
class |
POVRayTarget |
Modifier and Type | Class and Description |
---|---|
class |
StatisticsTarget
a target that simply counts the primitives that are sent to it
to create statistics.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeModule.Tree.renderTo(Target<?> target) |
void |
TreeModule.TreeRow.renderTo(Target<?> target) |
void |
TreeModule.Forest.renderTo(Target<?> target) |
void |
TunnelModule.Tunnel.renderTo(Target<?> target) |
void |
TunnelModule.TunnelJunction.renderTo(Target<?> target) |
void |
WaterModule.Waterway.renderTo(Target<?> target) |
void |
WaterModule.RiverJunction.renderTo(Target<?> target) |
void |
WaterModule.Water.renderTo(Target<?> target) |
void |
BuildingModule.Building.renderTo(Target<?> target) |
void |
BuildingModule.BuildingPart.renderTo(Target<?> target) |
void |
BuildingModule.BuildingPart.HeightfieldRoof.renderTo(Target<?> target) |
void |
SurfaceAreaModule.SurfaceArea.renderTo(Target<?> target) |
void |
RailwayModule.RailJunction.renderTo(Target<?> target) |
void |
RoadModule.RoadJunction.renderTo(Target<?> target) |
void |
RoadModule.RoadConnector.renderTo(Target<?> target) |
void |
RoadModule.RoadCrossingAtConnector.renderTo(Target<?> target) |
void |
RoadModule.Road.renderTo(Target<?> target) |
void |
RoadModule.RoadArea.renderTo(Target<?> target) |
Modifier and Type | Method and Description |
---|---|
static void |
WorldModuleBillboardUtil.renderCrosstree(Target<?> target,
Material material,
VectorXYZ pos,
double width,
double height,
boolean mirroredTextures)
renders a "cross tree" shape.
|