Logo Search packages:      
Sourcecode: pymol version File versions  Download package

ObjectGroup.h

/* 
A* -------------------------------------------------------------------
B* This file contains source code for the PyMOL computer program
C* copyright 1998-2006 by Warren Lyford Delano of DeLano Scientific. 
D* -------------------------------------------------------------------
E* It is unlawful to modify or remove this copyright notice.
F* -------------------------------------------------------------------
G* Please see the accompanying LICENSE file for further information. 
H* -------------------------------------------------------------------
I* Additional authors of this source file include:
-* 
-* 
-*
Z* -------------------------------------------------------------------
*/
#ifndef _H_ObjectGroup
#define _H_ObjectGroup

#include"os_python.h"

#include"PyMOLObject.h"

00024 typedef struct ObjectGroup {
  CObject Obj;
  int OpenOrClosed;
  CObjectState State;           /* groups only have one state */

} ObjectGroup;

ObjectGroup *ObjectGroupNew(PyMOLGlobals * G);

void ObjectGroupRecomputeExtent(ObjectGroup * I);

PyObject *ObjectGroupAsPyList(ObjectGroup * I);

int ObjectGroupNewFromPyList(PyMOLGlobals * G, PyObject * list,
                             ObjectGroup ** result, int version);

void ObjectGroupResetMatrix(ObjectGroup * I, int state);
int ObjectGroupGetMatrix(ObjectGroup * I, int state, double **matrix);
int ObjectGroupSetMatrix(ObjectGroup * I, int state, double *matrix);

void ObjectGroupTransformMatrix(ObjectGroup * I, int state, double *matrix);

#endif

Generated by  Doxygen 1.6.0   Back to index