#!/usr/bin/python
#dv3d_data_SetupDataTypes.py
#Creates place holder lists for loaded data
#DV3D refactor 2
#AG 25/07/2013

#import libraries
#none for now

def dv3d_data_SetupDataTypes(the_parent_window):
    #adds some lists to the attributes of the parent window so
    # that it holds all the data objects
     
    tpw = the_parent_window #for brevity

    #the main data type holders
    tpw.Planes = []
    tpw.Volumes = []
    tpw.Surfaces = []
    tpw.SurfaceGroups = []
    tpw.Markers = []
    tpw.Lights = []

    #keep a countof he number of unique surface groups
    tpw.uniqueSurfaceGroupCount = 0


    #also add lists of pointers to groups of planes so
    # we can easily keep track of- and sync them
    tpw.X_plane_list = []
    tpw.Y_plane_list = []
    tpw.Z_plane_list = []

    #dialog holders
    tpw.PlanePropertyPanel = ''
    tpw.SurfacePropertyPanel = ''
    tpw.VolumePropertyPanel = ''
    tpw.MarkerPropertyPanel = ''
    tpw.SurfaceGroupPropertyPanel = ''
    tpw.LightsPropertyPanel = ''
