OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
Preset Class Reference

Public Member Functions

def __init__
 
def SetName
 
def GetName
 
def InsertOp
 
def RemoveOp
 
def RemoveOpAt
 
def GetOp
 
def GetOpCount
 
def SetOp
 
def AddOp
 
def GetOps
 
def ApplyOn
 
def ToInfo
 

Static Public Member Functions

def FromInfo
 

Data Fields

 name_
 
 ops_
 

Static Public Attributes

string NAME_ATTRIBUTE_NAME = "Name"
 
string OP_GROUP_NAME = "Op"
 
string CLASS_NAME_ATTRIBUTE_NAME = "ClassName"
 
string INDEX_ATTRIBUTE_NAME = "Index"
 
list MODULE_NAMES = ["ost.gfx","ost.gui.scene.visibility_op","ost.gui.scene.render_op"]
 

Detailed Description

Definition at line 27 of file preset.py.

Constructor & Destructor Documentation

def __init__ (   self,
  name,
  parent = None 
)

Definition at line 35 of file preset.py.

Member Function Documentation

def AddOp (   self,
  op 
)

Definition at line 63 of file preset.py.

def ApplyOn (   self,
  entity 
)

Definition at line 69 of file preset.py.

def FromInfo (   group)
static

Definition at line 86 of file preset.py.

def GetName (   self)

Definition at line 42 of file preset.py.

def GetOp (   self,
  index 
)

Definition at line 54 of file preset.py.

def GetOpCount (   self)

Definition at line 57 of file preset.py.

def GetOps (   self)

Definition at line 66 of file preset.py.

def InsertOp (   self,
  index,
  op 
)

Definition at line 45 of file preset.py.

def RemoveOp (   self,
  op 
)

Definition at line 48 of file preset.py.

def RemoveOpAt (   self,
  index 
)

Definition at line 51 of file preset.py.

def SetName (   self,
  name 
)

Definition at line 39 of file preset.py.

def SetOp (   self,
  index,
  op 
)

Definition at line 60 of file preset.py.

def ToInfo (   self,
  group 
)

Definition at line 77 of file preset.py.

Field Documentation

string CLASS_NAME_ATTRIBUTE_NAME = "ClassName"
static

Definition at line 30 of file preset.py.

string INDEX_ATTRIBUTE_NAME = "Index"
static

Definition at line 31 of file preset.py.

list MODULE_NAMES = ["ost.gfx","ost.gui.scene.visibility_op","ost.gui.scene.render_op"]
static

Definition at line 33 of file preset.py.

name_

Definition at line 36 of file preset.py.

string NAME_ATTRIBUTE_NAME = "Name"
static

Definition at line 28 of file preset.py.

string OP_GROUP_NAME = "Op"
static

Definition at line 29 of file preset.py.

ops_

Definition at line 37 of file preset.py.


The documentation for this class was generated from the following file: