WHAT IS pdb2vrml?
The pdb2vrml library is a GPL'd C++ interface for
converting Protein Data Bank (PDB) files to Virtual
Reality Modeling Language (VRML) worlds. It is being
developed under Unix(r) and Microsoft(r) Windows(r) 9x.
It was created by Mr. Vieri Di Paola and will hopefully
be maintained by developers across the world.
LICENSING
Pdb2vrml comes with complete free source code. Pdb2vrml is available
under the terms of the GNU General Public License.
API
Refer to the demo program.
int pdb(const char*);
Specify the PDB file name.
int vrml(const char*, int, const char *compr = "w9");
Specify the VRML file name and compression level.
void setCarbonTexture(const char*);
void setNitrogenTexture(const char*);
void setHydrogenTexture(const char*);
void setPhosphateTexture(const char*);
void setSulfurTexture(const char*);
void setOxygenTexture(const char*);
void setNBondTexture(const char*);
void setCBondTexture(const char*);
void setHBondTexture(const char*);
void setSBondTexture(const char*);
void showBackground(void);
void hideBackground(void);
void setTopTexture(const char*);
void setBottomTexture(const char*);
void setFrontTexture(const char*);
void setBackTexture(const char*);
void setRightTexture(const char*);
void setLeftTexture(const char*);
still working on the documentation... sorry :-(
Note
This software is NOT complete. In particular, it is not yet possible to create protein surfaces. If you are interested in extending this library please e-mail me.