#VRML V2.0 utf8

# ======================================= 
# BEGIN PROTOTYPE FOR GENERAL SPHERICAL PLOTTING POINTS 
EXTERNPROTO SO [ 
	exposedField MFString	objName		# object
	exposedField SFString	objClass		# type of object for EIA sort select
	exposedField SFString	subClass		# subtype of object for EIA sort select
	exposedField SFInt32	PlotType		# Plot type 0=sphere;1=point;2=translucent sphere;3=wiresphere;4=cube;5=arrow;6=nothing
	exposedField SFInt32	BandDecorate 	# 0=yes add decoration;1=no decoration
	exposedField SFVec3f	objPosition	# position
	exposedField SFVec3f	objSize		# size - radii in x,y,z planes - not diameters 
	exposedField SFRotation	posAngle		# position angle ( z y x rot );  normal plotted space rotations are around y-axis; note rotation form is not normal "x y z rot"
	exposedField SFColor	objColor		# obj color
	exposedField SFInt32	lblType		# label type 0=none; 1=1st strg; 2=2nd strg; 3=3rd strg; 4=all
	exposedField SFFloat	fontSize		# font size
	exposedField SFColor	lblColor		# label color 
#						# Label family, style (bold,italics,etc.) and justify cannot be changed 
#						# See "DEF tmp_lblFontStyleText" for hardcoding of these characteristics  
	exposedField SFInt32	BarDecorate	# 0=yes add decoration;1=no decoration
	exposedField SFVec3f	barHeight		#  dimensions of optional uncertainty/vector bar 
						#   x,z as diameter of bar;  y is height ( auto modified to 2 * height  )	
	exposedField SFRotation	barAngle		# direction of optional uncertainty/vector bar in x-y(3d) plane around z axis     
#						#     rotation is select x,y,z planes plus rotation in radians 
] "lib_SO_proto.wrl"   
# END PROTOTYPE FOR GENERAL SPHERICAL PLOTTING POINTS 


# ==============================================						
#  Fairall/CfA Slice wedge 
#  Stick man figure 
# Part 1 - North wedge						
#  based on H_0 71; O_m 0.23 and O_darkengery 0.73
#  based on z = 0.03; survey edge is 136196 kpc or 136.1 Mpc

Shape {						
    appearance Appearance {						
        material Material {						
            emissiveColor 0.9 0.0 0.9 					
        }						
    }						
    geometry IndexedLineSet {						
        coord Coordinate {						
            point [						
            # Coordinates around the top of the wedge 						
                 0.0  0.0  0.0,                                # 0 Sol						
52579.76468,	94541.62971,	82744.17812,				# 1 Fairall North RA 17 +37.5
-118882.6943,	-6386.967657,	66147.27551, 				# 2 Fairall North RA 08 +37.5 
            # Coordinates around the bottom of the cube						
73210.29772,	83434.6973,	78919.28795, 				# 3 Fairall North RA 17 +27.5  
-118493.7651,	-29408.7921,	60363.07641, 				# 4 Fairall North RA 08 +27.5 
            ]						
        }						
        coordIndex [						
        # top						
            0, 1, 2, 0, -1,						
        # bottom						
            0, 3, 4, 0, -1,						
        # vertical edges						
            2, 4, -1,						
            1, 3, -1 						
        ]						
    }						
}						


# ===============================
# Label for Fairfall survey wedge 
#  x,y,z at 52579.76468,	94541.62971,	82744.17812,
#  BILLBOARDING TEXT LABEL FOR "Fairfall" - START lblObj
		DEF lblObjectC Transform {
#                                                                   Position above corner
				translation 52579.76468,	94541.62971,	112744.17812,
#  
#  Since labels are auto-billboarding to face viewer,  there is no need to orient the labels with rotation. 
				children [
# Begin billboarding text label
					Billboard {
						axisOfRotation 0 0 0
# Auto-point the labels to the viewer 
						children [ 
# Begin billboarding shape

#  Start Anchor for referral for more object information 
				DEF BillboardLabelA Anchor {
#				              Displays refered page in new browser instance
#  Pop-up display disabled 		parameter [ "target='_blank'" ]
#					parameter [ "target='_blank'" ]
					children [

							Shape {
							appearance Appearance { 
								material Material { 
								diffuseColor 0.9 0.0 0.9  
								} # end Material 
							}  # end Appearance 
						    	geometry DEF lblName Text {
#     Label string and style are set in initialization script 
								string [ "CfA Slice 1990" "136Mpc - z = 0.03" ]  
								fontStyle DEF lblNameStyle FontStyle { 
									family "SANS"
									style "BOLD"
									justify "CENTER"
									size 25000.0
								}  # End of fontStyle 
							}  # End of geometry Text
						}  # End of shape Text Label 

						] # end children
						} # End Anchor	

					]  # End of billboarding children 
					}  # End of billboarding text label
  	
			] # end children of Transform of lblObject 
		}  # end Transform of lblObject 

# END LABEL FOR OBJECT  - Fairfall


# ===============================
# Label for Tully survey 
#  x,y,z at 0.0, 0.0, -50000.0
#  BILLBOARDING TEXT LABEL FOR "Tully" - START lblObj
		DEF lblObjectC Transform {
#                                                                   Position above corner
				translation 0.0, 0.0, -80000.0,
#  
#  Since labels are auto-billboarding to face viewer,  there is no need to orient the labels with rotation. 
				children [
# Begin billboarding text label
					Billboard {
						axisOfRotation 0 0 0
# Auto-point the labels to the viewer 
						children [ 
# Begin billboarding shape

#  Start Anchor for referral for more object information 
				DEF BillboardLabelA Anchor {
#				              Displays refered page in new browser instance
#  Pop-up display disabled 		parameter [ "target='_blank'" ]
#					parameter [ "target='_blank'" ]
					children [

							Shape {
							appearance Appearance { 
								material Material { 
								diffuseColor 1.0 0.0 0.0  
								} # end Material 
							}  # end Appearance 
						    	geometry DEF lblName Text {
#     Label string and style are set in initialization script 
								string [ "Tully Nearby Galaxy Survey" "1987" "42Mpc - z = 0.01" ]  
								fontStyle DEF lblNameStyle FontStyle { 
									family "SANS"
									style "BOLD"
									justify "CENTER"
									size 20000.0
								}  # End of fontStyle 
							}  # End of geometry Text
						}  # End of shape Text Label 

						] # end children
						} # End Anchor	

					]  # End of billboarding children 
					}  # End of billboarding text label
  	
			] # end children of Transform of lblObject 
		}  # end Transform of lblObject 


# ==============================================						
#  Fairall/CfA Survey

# Not used basic graphically to confusing
# SO { objName [ "CfA Survey Boundary" "136Mpc - z = 0.03" ] objClass "Survey" PlotType 3 BandDecorate 1 objPosition 0.0 0.0 0.0 objSize 136196.0 136196.0 136196.0 objColor 0.9 0.0 0.9  } 


# END LABEL FOR OBJECT  - Fairfall


