![]() |
ptvr
v0.1
A Python toolkit for creating VR experiments.
|
Public Member Functions | |
def | __init__ (self, id=-1, background_color=color.RGBColor(1, 1, 1, 1), display=input.TimedDisplay()) |
def | place (self, o, position=np.array([0, 0, 0]), orientation=np.array([0, 0, 0])) |
def | to_json (self) |
![]() | |
def | to_json (self) |
def | write (self, fp) |
Public Attributes | |
id | |
objects | |
input | |
background_color | |
Interface for generating a Visual scene. A visual scene can be populated with visual stimuli so as to create a trial.
def ptvr.stimuli.world.VisualScene.__init__ | ( | self, | |
id = -1 , |
|||
background_color = color.RGBColor(1,1,1,1) , |
|||
display = input.TimedDisplay() |
|||
) |
def ptvr.stimuli.world.VisualScene.place | ( | self, | |
o, | |||
position = np.array([0, 0, 0]) , |
|||
orientation = np.array([0, 0, 0]) |
|||
) |
def ptvr.stimuli.world.VisualScene.to_json | ( | self | ) |
ptvr.stimuli.world.VisualScene.background_color |
ptvr.stimuli.world.VisualScene.id |
ptvr.stimuli.world.VisualScene.input |
ptvr.stimuli.world.VisualScene.objects |